/* V36.8.48 — light profile contrast, clean modal surfaces. No markup or animation changes. */
/* The light-mode account action should not sit inside a ghostly white rectangle. */
html body.default-light-mode #tab-profile .profile-password-toggle,
html body.light-mode #tab-profile .profile-password-toggle,
html.theme-bootstrap-default.theme-bootstrap-light body #tab-profile .profile-password-toggle {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #172c47 !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}
html body.default-light-mode #tab-profile .profile-password-toggle::before,
html body.default-light-mode #tab-profile .profile-password-toggle::after,
html body.light-mode #tab-profile .profile-password-toggle::before,
html body.light-mode #tab-profile .profile-password-toggle::after {
  content: none !important;
  display: none !important;
}
html body.default-light-mode #tab-profile .profile-password-toggle:hover,
html body.light-mode #tab-profile .profile-password-toggle:hover {
  color: #15518b !important;
}
/* The recovery action inside the password dialog must be legible on a pale card. */
html body.default-light-mode #profile-password-modal button.text-action,
html body.light-mode #profile-password-modal button.text-action,
html.theme-bootstrap-default.theme-bootstrap-light body #profile-password-modal button.text-action {
  color: #245b98 !important;
  text-decoration-color: currentColor !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 750 !important;
}
/* Remove only the unwanted square/pale wrappers in the withdrawal dialog;
   retain rounded, accessible inputs, bank selector, button, and the modal shell. */
#withdraw-modal .withdraw-modal-card > .form-group,
#withdraw-modal .withdraw-modal-card > .withdraw-balance-card,
#withdraw-modal .withdraw-modal-card > .withdraw-helper-note {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#withdraw-modal .withdraw-modal-card > .form-group {
  padding: 0 !important;
}
#withdraw-modal .withdraw-modal-card > .withdraw-balance-card {
  padding: 0 !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 6px;
}
#withdraw-modal .withdraw-modal-card > .withdraw-helper-note {
  padding: 0 !important;
  border-radius: 0 !important;
}
#withdraw-modal .withdraw-modal-card > .form-group::before,
#withdraw-modal .withdraw-modal-card > .form-group::after,
#withdraw-modal .withdraw-modal-card > .withdraw-balance-card::before,
#withdraw-modal .withdraw-modal-card > .withdraw-balance-card::after,
#withdraw-modal .withdraw-modal-card > .withdraw-helper-note::before,
#withdraw-modal .withdraw-modal-card > .withdraw-helper-note::after {
  content: none !important;
  display: none !important;
}
#withdraw-modal .withdraw-modal-card .form-label,
#withdraw-modal .withdraw-modal-card .form-group > small {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
