.overlay {
  z-index: 3000000;
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

.modal {
  position: relative;
  background: white;
  width: 100%;
  top: auto;
  max-width: 500px;
  border-radius: 8px;
  padding: 2rem;
}

.inst-list-modal {
  position: relative;
  background: white;
  width: 100%;
  top: auto;
  max-width: 500px;
  border-radius: 8px;
  padding: 1rem 0rem 0rem 0rem;
}

.inst-list-h {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.125rem;
  font-weight: 600;
  font-family: Inter, sans-serif;
  align-items: center;
}
.inst-list-names {
  padding: 0.875rem 1.4rem;
  border-bottom: 1px solid #e8e8e8;
  color: #212427;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}
.inst-list-names:last-child {
  border: none;
}
.inst-list-names img {
  margin-right: 0.5rem;
}
.inst-list-web {
  display: none;
  position: absolute;
  top: 200%;
  right: -200%;
  padding: 1.25rem;
  background-color: #2f3c51;
  color: #ffffff;
  border-radius: 12px;
  z-index: 100;
  width: 150px;
  font-size: 0.75rem;
  line-height: 1.125rem;
  font-weight: 500;
  text-align: center;
}
#inst-list-web-id:hover .inst-list-web {
  display: block;
}

.content {
  width: 100%;
  height: 100%;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  overflow: hidden;
}
.teachmint-logo-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 27px;
}

.close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
  height: 1rem;
}

.md-help-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  margin: auto;
  margin-top: 2rem;
}
.md-help-info-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}
.md-help-info-box img {
  height: 1.5rem;
}

.title {
  padding: 1rem;
  border-bottom: 1px solid #e0e2e7;
}

.footer {
  display: flex;
  justify-content: center;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: white;
  box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.16);
  padding: 1rem;
}

@media only screen and (max-width: 768px) {
  .overlay {
    align-items: flex-end;
  }
  .modal {
    border-radius: 1rem;
    max-height: 90%;
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
  }
  .content {
    border-radius: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  .inst-list-modal {
    max-height: 90%;
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
    overflow: auto;
  }
  .modal {
    max-height: 90%;
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
  }
  .close {
    position: absolute;
    top: -1.5rem;
    right: 0;
    z-index: 1;
  }
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  width: calc(100% - 40px);
  height: 100%;
  border-radius: 8px;
  position: relative;
  border: 1px solid #ffffff;
}

/* The Close Button */
.close {
  display: flex;
  justify-content: flex-end;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.qr-code-box {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 10rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.qr-box-right {
  height: 97%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.qr-heading {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.125rem;
  color: #6b82ab;
}
.qr-inst {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #1f3965;
}
.md-accounts-list {
  width: 19.75rem;
  margin: auto;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.md-action-btn-cont {
  width: 19.75rem;
  border-bottom: 1px solid #dbe2ea;
  padding: 1rem;
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: flex-start;
}
.md-manage-btn {
  width: 8.75rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #1da1f2;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #1da1f2;
  border-radius: 8px;
  margin-right: 1rem;
  cursor: pointer;
}
.md-lgout-btn {
  width: 100%;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #dbe2ea;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #ff5e5e;
  border-radius: 8px;
  margin-right: 1rem;
  cursor: pointer;
}
.md-current-login {
  margin-top: 2rem;
  display: flex;
  position: relative;
  margin-bottom: 1rem;
}
.md-current-login-pic {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.md-current-label {
  position: absolute;
  bottom: 20%;
  height: 1rem;
  left: 0rem;
  text-align: center;
}
.md-current-name {
  font-size: 1rem;
  line-height: 1.25rem;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  max-width: 230px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #a6b4cd;
}
.md-current-user-name {
  color: #a6b4cd;
  font-size: 0.75rem;
  line-height: 0.9rem;
}
.md-account-phone-or-email {
  color: #6b82ab;
  font-size: 0.875rem;
  line-height: 1rem;
  margin-top: 0.2rem;
  margin-left: 0.5rem;
}
.md-unactive-login {
  position: relative;
  padding-bottom: 0.7rem;
  padding-top: 1rem;
  display: flex;
  border-bottom: 1px solid #dbe2ea;
  cursor: pointer;
  width: 20rem;
  margin: auto;
}
.md-unactive-pic {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}
.md-unactive-name {
  color: #1f3965;
  font-size: 0.875rem;
  line-height: 1rem;
  margin-left: 0.5rem;
  width: 13rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.md-unactive-user-name {
  color: #a6b4cd;
  font-size: 0.75rem;
  line-height: 0.9rem;
}
.md-unactive-phone-or-email {
  color: #6b82ab;
  font-size: 0.75rem;
  line-height: 0.8rem;
  margin-top: 0.2rem;
  margin-left: 0.5rem;
}
.md-institute-details {
  color: #6b82ab;
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.2rem;
  margin-left: 0.5rem;
}

.md-institute-name-switch {
  display: flex;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 75%;
}

.md-institute-name-switch:hover {
  overflow: visible;
  white-space: normal;
  display: inline;
  word-break: normal;
}

.md-add-account {
  color: #1da1f2;
  font-size: 0.875rem;
  line-height: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 20rem;
  margin: auto;
}
.md-unactive-label {
  position: absolute;
  height: 1rem;
  right: 0%;
  bottom: 0%;
}
@media only screen and (max-width: 768px) {
  .inst-list-web {
    display: none;
  }
  #inst-list-web-id:hover .inst-list-web {
    display: none;
  }
  .modal-content {
    width: calc(100% - 2rem);
    height: 100%;
    margin: auto;
    padding: 1rem;
    overflow: auto;
  }
  .md-accounts-list {
    width: 20rem;
  }
  .md-action-btn-cont {
    width: calc(100% - 2rem);
  }
  .md-manage-btn {
    width: 46%;
  }
  .md-lgout-btn {
    width: 100%;
  }
}
/*delete modal css */
.modal-cross-btn {
  border-radius: 50%;
  background-color: #c4cfe1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 41px;
  width: 41px;
  cursor: pointer;
  position: absolute;
  top: -1rem;
  right: 1rem;
}

.delete-bin-cont {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.delete-bin-cont img {
  height: 58px;
}
.delete-heading {
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #1f3965;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.delete-subheading {
  font-size: 0.875rem;
  line-height: 1rem;
  color: #6b82ab;
  font-weight: 400;
  text-align: center;
  margin-top: 0.875rem;
}
.mobile-number-cont {
  width: calc(100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}
.mobile-number-box {
  max-width: 328px;
  width: 100%;
  border: 1px solid #dbe2ea;
  padding: 0.875rem;
  border-radius: 8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.mobile-number-box .isd-state {
  height: 1.5rem;
  width: 3.5rem;
  padding-right: 1rem;
  border-right: 1px solid #000000;
  color: #243962;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.mobile-number-box .mobile-number-input {
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: #1f3965;
  margin-left: 5px;
  border: 1px solid #ffffff;
}
.mobile-number-box .mobile-number-input::placeholder {
  color: #6b82ab;
}
.mobile-number-box .mobile-number-input:focus {
  outline: none !important;
}

.redirect-modal-header {
  color: #212427;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #e8e8e8;
}

.redirect-modal-content {
  color: #212427;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.25rem;
  padding: 1.25rem;
}

.modal-btn {
  color: #1da1f2;
  width: 100%;
  padding: 10px 0;
  background-color: #ffffff;
  border: 1px solid #1da1f2;
  border-radius: 12px;
  font-size: 14px;
  line-height: 24px;
  margin-top: 3rem;
}

.redirect-modal-btn-enabled {
  background-color: #1da1f2;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  height: 2.5rem;
  color: #ffffff;
  border: none;
  padding: 0 2rem;
  margin: 0 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  float: right;
}

@media only screen and (max-width: 480px) {
  .md-accounts-list {
    width: 100%;
  }
  .md-unactive-login {
    margin: auto;
  }
}
