.tb-toast-notice {
  margin-right: 48px;
  margin-top: 12px;
  max-width: 350px;
  padding: 0 !important;
  transition: opacity 0.5s ease;
  width: min(90vw, 350px);
  z-index: 9999;
}

#tb-toast-notice .alert {
  align-items: center;
  background-color: #effffc;
  border: 1px solid #5de2ce;
  box-sizing: border-box;
  color: #3bbeaa;
  height: 67px;
  padding: 16px 18px !important;
  width: 350px;
}

#tb-toast-notice .tb-toast-notice-message {
  color: #3bbeaa !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}

#tb-toast-notice .text-success {
  color: #3bbeaa !important;
}

#tb-toast-notice .tb-toast-notice-icon {
  display: inline-flex;
  flex-shrink: 0;
  font-size: 3rem !important;
  margin-right: 14px;
}

.tb-toast-notice.is-hiding {
  opacity: 0;
}

.tb-change-password-header {
  margin-bottom: 0;
}

#change-password-modal .modal-header {
  align-items: flex-start;
  padding-top: 28px;     /* 8px from modal-content p-2 + 28px = 36px from modal edge */
  padding-bottom: 24px;  /* 24px between title block and divider */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: -0.5rem;  /* full-width divider */
  margin-right: -0.5rem;
}

#change-password-modal .modal-body {
  padding-top: 24px;   /* 24px from divider to email block */
  padding-left: 1rem;
  padding-right: 1rem;
}

#change-password-modal .modal-dialog {
  max-width: 520px;
  width: calc(100% - 1rem);
  margin-inline: auto;
}

@media (max-width: 575.98px) {
  #change-password-modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 100dvh;
    align-items: flex-end;
  }

  #change-password-modal .modal-content {
    border-radius: 16px 16px 0 0;
  }

  #change-password-modal .modal-header {
    padding-top: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #change-password-modal .modal-body {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .tb-change-password-footer {
    flex-direction: column !important;
    gap: 8px;
  }

  .tb-change-password-footer .btn {
    width: 100% !important;
    margin: 0 !important;
  }
}

.tb-change-password-icon {
  height: 32px;
  width: 32px;
}

.tb-change-password-email-block {
  margin-bottom: 20px !important;
}

.tb-change-password-field-block {
  margin-bottom: 12px;
}

.tb-change-password-new-password-block {
  margin-top: 16px;
  margin-bottom: 0 !important;
}

.tb-change-password-confirm-block {
  margin-top: 16px;
  margin-bottom: 16px !important;
}

.tb-change-password-footer {
  margin-top: 20px;
}

.tb-change-password-cancel-btn {
  color: #7c3aed;
}

@media (min-width: 992px) {
  #change-password-modal {
    padding-left: 265px !important;
  }
}

.tb-settings-shell {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 10px 32px rgba(39, 50, 98, 0.08);
  padding: 28px 22px 20px;
}

.tb-settings-title {
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.tb-settings-tabs {
  border-bottom: 1px solid #d9caff;
  margin-bottom: 1.5rem;
}

.tb-settings-tab {
  color: #7c3aed;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0 0 0.9rem;
  position: relative;
}

.tb-settings-tab.is-active::after {
  background: #7c3aed;
  border-radius: 999px;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.tb-settings-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 20px 18px;
}

.tb-settings-panel-header {
  align-items: center;
  color: #7c3aed;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.tb-settings-panel-icon {
  height: 24px;
  width: 24px;
}

.tb-settings-panel-title {
  color: #7c3aed;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.tb-settings-row {
  align-items: flex-start;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1.6rem 0;
}

.tb-settings-row + .tb-settings-row {
  border-top: 1px solid #e5e7eb;
}

.tb-settings-copy {
  max-width: 620px;
}

.tb-settings-row-title {
  color: #181C32;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.tb-settings-row-text {
  color: #637381;
  font-size: 1rem;
  margin: 0;
}

.tb-settings-row-text-strong {
  color: #637381;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.tb-settings-value-block {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 260px;
}

.tb-settings-value {
  color: #181C32;
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}

.tb-settings-badge {
  background: #C6F6EF;
  border-radius: 999px;
  color: #208575;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
}

.tb-settings-rule-list {
  color: #637381;
  list-style-position: outside;
  list-style-type: disc;
  margin: 0.55rem 0 0;
  padding-left: 1.3rem;
}

.tb-settings-rule-list li {
  display: list-item;
  margin-bottom: 0.25rem;
}

.tb-settings-action-wrap {
  align-self: flex-start;
}

.tb-settings-action-btn {
  background: #ffffff;
  border: 1px solid currentColor !important;
  border-radius: 8px;
  color: #7c3aed !important;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
}

.tb-settings-action-btn:hover,
.tb-settings-action-btn:focus {
  background: #f7f1ff;
  border-color: currentColor !important;
  color: #7c3aed !important;
}

@media (max-width: 991.98px) {
  .tb-settings-shell {
    border-radius: 22px;
    padding: 24px 16px 18px;
  }

  .tb-settings-row {
    flex-direction: column;
  }

  .tb-settings-value-block,
  .tb-settings-action-wrap {
    align-items: flex-start;
    min-width: auto;
    width: 100%;
  }

  .tb-settings-value {
    text-align: left;
  }
}