/* AUM login — overrides legacy bootstrap/new.css inside .aum-auth */

html:has(body.aum-auth) {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

html:has(body.aum-auth) body.aum-auth {
  padding: 0 !important;
}

.aum-auth,
.aum-auth *,
.aum-auth *::before,
.aum-auth *::after {
  box-sizing: border-box;
}

.aum-auth {
  margin: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background: #f0f2f7 !important;
  color: #1e293b;
  overflow: hidden;
}

.aum-auth .aum-login-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ── Brand panel (70% width on desktop) ── */
.aum-auth .aum-login-brand {
  flex: 0 0 70%;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  background-color: #071526;
  background-image:
    linear-gradient(160deg, rgba(7, 21, 38, 0.88) 0%, rgba(12, 35, 64, 0.84) 40%, rgba(18, 58, 107, 0.8) 100%),
    url('/images/aum-login-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.aum-auth .aum-login-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(200, 16, 46, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.aum-auth .aum-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  text-align: center;
}

.aum-auth .aum-brand-logo {
  max-height: 96px;
  max-width: 260px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.aum-auth .aum-brand-title {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 0.625rem;
}

.aum-auth .aum-brand-subtitle {
  font-size: 0.9375rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.55;
  margin: 0;
}

.aum-auth .aum-brand-footer {
  position: absolute;
  z-index: 1;
  right: 2.5rem;
  bottom: 1.5rem;
  left: 2.5rem;
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

/* ── Form panel (30% width on desktop) ── */
.aum-auth .aum-login-panel {
  flex: 0 0 30%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f0f2f7;
}

.aum-auth .aum-login-panel-inner {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.aum-auth .aum-login-card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 35, 64, 0.08);
  box-shadow:
    0 0 0 1px rgba(15, 35, 64, 0.03),
    0 4px 20px rgba(15, 35, 64, 0.08);
  padding: 1.5rem 1.25rem 1.35rem;
}

.aum-auth .aum-login-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.aum-auth .aum-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.aum-auth .aum-card-top-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: #0c2340;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.aum-auth .aum-login-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400 !important;
  line-height: 1.4;
}

.aum-auth .aum-card-logo-mobile {
  display: none;
  max-height: 48px;
  margin-bottom: 1.25rem;
}

/* ── Language toggle ── */
.aum-auth .aum-lang-toggle {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.aum-auth .aum-lang-toggle .btn {
  min-width: 32px !important;
  width: auto !important;
  height: 28px !important;
  padding: 0 9px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  color: #64748b !important;
  line-height: 28px !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.aum-auth .aum-lang-toggle .btn + .btn {
  border-left: 1px solid #e2e8f0 !important;
}

.aum-auth .aum-lang-toggle .btn.active,
.aum-auth .aum-lang-toggle .btn.active:hover {
  background: #0c2340 !important;
  color: #fff !important;
}

.aum-auth .aum-lang-toggle .btn:hover:not(.active) {
  background: #eef2f7 !important;
  color: #334155 !important;
}

/* ── User group segment ── */
.aum-auth .aum-field-group-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.aum-auth .aum-role-group {
  display: flex;
  gap: 0;
  margin-bottom: 1.15rem;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  clear: none !important;
  width: auto !important;
  height: auto !important;
}

.aum-auth .aum-role-group .btn,
.aum-auth .aum-role-group .aum-role-btn {
  flex: 1;
  display: block;
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 0.35rem !important;
  border-radius: 8px !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  width: auto !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.aum-auth .aum-role-group .btn.active,
.aum-auth .aum-role-group .btn.active:hover {
  background: #fff !important;
  color: #0c2340 !important;
  box-shadow: 0 2px 8px rgba(15, 35, 64, 0.12) !important;
}

.aum-auth .aum-role-group .btn:hover:not(.active),
.aum-auth .aum-role-group .aum-role-btn:hover {
  color: #0c2340 !important;
  background: rgba(255, 255, 255, 0.55) !important;
}

/* ── Input fields ── */
.aum-auth .aum-field {
  margin-bottom: 0.9rem;
}

.aum-auth .aum-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
  padding: 0 !important;
}

.aum-auth .aum-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.aum-auth .aum-input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.aum-auth .aum-input-group input[type="text"],
.aum-auth .aum-input-group input[type="password"] {
  width: 100% !important;
  box-sizing: border-box;
  height: 40px !important;
  padding: 0 2.25rem 0 2.125rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #fafbfc !important;
  color: #0f172a !important;
  box-shadow: none !important;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.aum-auth .aum-input-group input:focus {
  outline: none !important;
  border-color: #123a6b !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(18, 58, 107, 0.1) !important;
}

.aum-auth .aum-input-group input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.aum-auth .aum-toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1;
  z-index: 1;
}

.aum-auth .aum-toggle-password:hover {
  color: #123a6b;
}

/* ── Captcha ── */
.aum-auth .aum-captcha-block {
  margin-bottom: 1rem;
  padding: 0.75rem 0.875rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
}

.aum-auth .aum-captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.aum-auth .aum-captcha-header span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.aum-auth .aum-captcha-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #123a6b;
  text-decoration: none;
}

.aum-auth .aum-captcha-refresh:hover {
  color: #c8102e;
}

.aum-auth .aum-captcha-refresh img {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.aum-auth .aum-captcha-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.aum-auth .aum-captcha-row img#img_captcha {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  height: 36px;
  width: auto;
}

.aum-auth .aum-captcha-row input {
  flex: 1;
  min-width: 0;
  height: 36px !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.aum-auth .aum-captcha-row input:focus {
  outline: none !important;
  border-color: #123a6b !important;
  box-shadow: 0 0 0 3px rgba(18, 58, 107, 0.1) !important;
}

/* ── Submit button ── */
.aum-auth .aum-btn-login {
  width: 100% !important;
  height: 42px !important;
  border: none !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #123a6b 0%, #0c2340 100%) !important;
  color: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 42px !important;
  box-shadow: 0 4px 14px rgba(12, 35, 64, 0.25) !important;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  opacity: 1 !important;
}

.aum-auth .aum-btn-login:hover,
.aum-auth .aum-btn-login:focus {
  background: linear-gradient(135deg, #154a85 0%, #0f2d52 100%) !important;
  box-shadow: 0 6px 20px rgba(12, 35, 64, 0.32) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.aum-auth .aum-btn-login:active {
  transform: translateY(0);
}

/* ── Microsoft sign-in ── */
.aum-auth .aum-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aum-auth .aum-login-divider::before,
.aum-auth .aum-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.aum-auth .aum-btn-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1e293b !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.2s, background 0.2s;
}

.aum-auth .aum-btn-microsoft:hover,
.aum-auth .aum-btn-microsoft:focus {
  border-color: #123a6b;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(12, 35, 64, 0.12);
}

.aum-auth .aum-ms-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.aum-auth .aum-ms-hint {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* ── Footer links ── */
.aum-auth .aum-login-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid #f1f5f9;
}

.aum-auth .aum-login-footer a {
  color: #123a6b !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.aum-auth .aum-login-footer a:hover {
  color: #c8102e !important;
  text-decoration: underline;
}

.aum-auth .aum-extra-link {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8125rem;
}

.aum-auth .aum-extra-link a {
  color: #123a6b;
}

/* ── Notice & announcements ── */
.aum-auth .aum-notice {
  width: 100%;
  max-width: 340px;
  margin-top: 0.75rem;
}

.aum-auth .aum-notice .alert-info {
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

.aum-auth .aum-announcements {
  width: 100%;
  max-width: 340px;
  margin-top: 0.75rem;
}

.aum-auth .aum-announcements .well {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 35, 64, 0.04);
  margin: 0;
}

.aum-auth .aum-announcements ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.75rem;
}

.aum-auth .aum-announcements li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8125rem;
}

.aum-auth .aum-announcements li:last-child {
  border-bottom: none;
}

.aum-auth .aum-announcements a {
  color: #334155;
  text-decoration: none;
}

.aum-auth .aum-announcements a:hover {
  color: #123a6b;
}

/* ── Kill legacy login-form rules ── */
.aum-auth .login-form {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: inherit !important;
}

.aum-auth .login-head {
  height: auto !important;
  width: auto !important;
}

.aum-auth label {
  padding: 0 !important;
}

.aum-auth .align-left,
.aum-auth .align-right,
.aum-auth .pull-left,
.aum-auth .pull-right {
  float: none !important;
}

.aum-auth .clearfix::before,
.aum-auth .clearfix::after {
  display: none;
}

/* ── Responsive: stack on tablet/mobile ── */
@media (max-width: 1023px) {
  html:has(body.aum-auth) {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
  }

  .aum-auth {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-text-size-adjust: 100%;
  }

  .aum-auth .aum-login-page {
    position: relative;
    inset: auto;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .aum-auth .aum-login-brand {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 36dvh;
    padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem;
    justify-content: center;
  }

  .aum-auth .aum-brand-inner {
    max-width: 320px;
  }

  .aum-auth .aum-login-panel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    margin-top: -1rem;
    overflow: visible;
    justify-content: flex-start;
    background: #f0f2f7;
  }

  .aum-auth .aum-login-panel-inner {
    width: 100%;
    max-width: 480px;
  }

  .aum-auth .aum-login-card {
    width: 100%;
    max-width: none;
    border-radius: 18px;
    padding: 1.5rem 1.25rem 1.35rem;
    box-shadow: 0 8px 28px rgba(15, 35, 64, 0.1);
  }

  .aum-auth .aum-notice,
  .aum-auth .aum-announcements {
    max-width: none;
  }

  .aum-auth .aum-brand-logo {
    max-height: 64px;
    max-width: 220px;
    margin-bottom: 0.875rem;
  }

  .aum-auth .aum-brand-title {
    font-size: 1.375rem;
  }

  .aum-auth .aum-brand-subtitle {
    font-size: 0.875rem;
  }

  .aum-auth .aum-brand-footer {
    position: static;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.6875rem;
  }

  /* Logo already shown in hero — avoid duplicate in form card */
  .aum-auth .aum-card-logo-mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .aum-auth .aum-login-brand {
    min-height: 32dvh;
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1rem 1.75rem;
  }

  .aum-auth .aum-brand-logo {
    max-height: 52px;
    max-width: 190px;
    margin-bottom: 0.75rem;
  }

  .aum-auth .aum-brand-title {
    font-size: 1.25rem;
  }

  .aum-auth .aum-brand-subtitle {
    font-size: 0.8125rem;
  }

  .aum-auth .aum-login-panel {
    padding: 0 0.875rem calc(1rem + env(safe-area-inset-bottom, 0px));
    margin-top: -0.875rem;
  }

  .aum-auth .aum-login-card {
    border-radius: 16px;
    padding: 1.35rem 1.125rem 1.25rem;
  }

  .aum-auth .aum-card-top {
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.125rem;
  }

  .aum-auth .aum-card-top-text h1 {
    font-size: 1.125rem;
  }

  .aum-auth .aum-login-hint {
    font-size: 0.8125rem;
  }

  .aum-auth .aum-field {
    margin-bottom: 0.875rem;
  }

  .aum-auth .aum-field-label {
    font-size: 0.8125rem;
  }

  .aum-auth .aum-input-group input[type="text"],
  .aum-auth .aum-input-group input[type="password"] {
    height: 48px !important;
    font-size: 16px !important;
    padding: 0 2.5rem 0 2.25rem !important;
  }

  .aum-auth .aum-captcha-row input {
    height: 44px !important;
    font-size: 16px !important;
  }

  .aum-auth .aum-captcha-row img#img_captcha {
    height: 44px;
  }

  .aum-auth .aum-btn-login {
    height: 48px !important;
    line-height: 48px !important;
    font-size: 1rem !important;
  }

  .aum-auth .aum-lang-toggle .btn {
    min-width: 40px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 0.6875rem !important;
  }

  .aum-auth .aum-toggle-password {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .aum-auth .aum-login-footer a,
  .aum-auth .aum-extra-link {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .aum-auth .aum-login-brand {
    min-height: 28dvh;
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  }

  .aum-auth .aum-brand-logo {
    max-height: 44px;
    max-width: 170px;
  }

  .aum-auth .aum-brand-title {
    font-size: 1.125rem;
  }

  .aum-auth .aum-brand-footer {
    margin-top: 0.75rem;
  }

  .aum-auth .aum-login-panel {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .aum-auth .aum-login-card {
    padding: 1.25rem 1rem 1.125rem;
  }

  .aum-auth .aum-card-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .aum-auth .aum-lang-toggle {
    align-self: flex-end;
  }

  .aum-auth .aum-captcha-header {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .aum-auth .aum-captcha-row {
    flex-direction: column;
    align-items: stretch;
  }

  .aum-auth .aum-captcha-row img#img_captcha {
    width: 100%;
    max-width: 140px;
    height: auto;
    align-self: center;
  }

  .aum-auth .aum-role-group .btn,
  .aum-auth .aum-role-group .aum-role-btn {
    font-size: 0.8125rem !important;
    padding: 0.625rem 0.35rem !important;
  }
}

@media (max-width: 1023px) and (orientation: landscape) {
  .aum-auth .aum-login-page {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 100dvh;
  }

  .aum-auth .aum-login-brand {
    flex: 0 0 42%;
    min-height: 100dvh;
    padding: 1rem;
  }

  .aum-auth .aum-login-panel {
    flex: 1 1 58%;
    margin-top: 0;
    padding: 1rem;
    overflow-y: auto;
    justify-content: center;
  }

  .aum-auth .aum-brand-logo {
    max-height: 44px;
    margin-bottom: 0.5rem;
  }

  .aum-auth .aum-brand-title {
    font-size: 1.125rem;
  }

  .aum-auth .aum-brand-subtitle {
    font-size: 0.75rem;
  }

  .aum-auth .aum-brand-footer {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    right: 1rem;
    margin-top: 0;
  }
}

/* ── Forgot password modal ── */
.aum-auth .aum-forgot-modal,
.aum-auth .aum-alert-modal {
  background: rgba(7, 21, 38, 0.55) !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 1050 !important;
  overflow-y: auto;
}

/* ── Alert modal (override Bootstrap .modal box chrome) ── */
.aum-auth .aum-alert-modal.modal {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(7, 21, 38, 0.55) !important;
  box-shadow: none !important;
  overflow-y: auto !important;
  z-index: 1060 !important;
}

.aum-auth .aum-alert-modal.fade.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.aum-auth .aum-forgot-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(7, 21, 38, 0.28);
  padding: 1.75rem 1.5rem 1.5rem;
}

.aum-auth .aum-forgot-close {
  position: absolute !important;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 1.25rem !important;
  line-height: 32px !important;
  text-align: center;
  opacity: 1 !important;
  float: none !important;
  cursor: pointer;
}

.aum-auth .aum-forgot-close:hover {
  background: #e2e8f0 !important;
}

.aum-auth .aum-forgot-title {
  margin: 0 2rem 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.3;
}

.aum-auth .aum-forgot-body {
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.aum-auth .aum-forgot-body #parolaForm {
  margin: 0;
}

.aum-auth .aum-forgot-body .label_div,
.aum-auth .aum-forgot-body dt,
.aum-auth .aum-forgot-body .form-group {
  margin: 0 0 0.35rem;
}

.aum-auth .aum-forgot-body label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}

.aum-auth .aum-forgot-body input[type="text"],
.aum-auth .aum-forgot-body input[type="password"],
.aum-auth .aum-forgot-body select {
  width: 100% !important;
  height: 46px !important;
  margin: 0 0 1rem !important;
  padding: 0 0.875rem !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-size: 0.9375rem !important;
  color: #0f172a !important;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.aum-auth .aum-forgot-body input[type="text"]:focus,
.aum-auth .aum-forgot-body select:focus {
  outline: none !important;
  border-color: #1e4a7a !important;
  background: #fff !important;
}

.aum-auth .aum-forgot-body .aum-birthdate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
}

.aum-auth .aum-forgot-body .aum-birthdate input {
  width: 3.25rem !important;
  margin: 0 !important;
  text-align: center;
  flex: 0 0 auto;
}

.aum-auth .aum-forgot-body .aum-birthdate #dt_yil {
  width: 4.5rem !important;
}

.aum-auth .aum-forgot-body .aum-birthdate-hint {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
}

.aum-auth .aum-forgot-body #submit,
.aum-auth .aum-send-password,
.aum-auth .aum-forgot-body .aum-send-password {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0.25rem 0 0 !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #c8102e !important;
  background-image: none !important;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.28) !important;
  color: #fff !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  cursor: pointer;
}

.aum-auth .aum-forgot-body #submit:hover,
.aum-auth .aum-send-password:hover {
  background: #a50d25 !important;
}

.aum-auth .aum-forgot-body #load_msg {
  text-align: center;
  padding: 1.5rem 0;
  color: #334155;
}

.aum-auth .aum-forgot-body #load_msg h1,
.aum-auth .aum-forgot-body .aum-loading-msg {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
}

.aum-auth .aum-alert-footer {
  margin-top: 1.25rem;
  text-align: stretch;
}

.aum-auth .aum-alert-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(7, 21, 38, 0.28);
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: center;
}

.aum-auth .aum-alert-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0 1.5rem 0.85rem;
}

.aum-auth .aum-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.aum-auth .aum-alert-error .aum-alert-icon {
  background: #fef2f2;
  color: #c8102e;
  border: 1px solid #fecaca;
}

.aum-auth .aum-alert-ok .aum-alert-icon {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.aum-auth .aum-alert-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.3;
}

.aum-auth .aum-alert-message {
  margin: 0;
  padding: 0 0.25rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.aum-auth .aum-alert-message p,
.aum-auth .aum-alert-message h1 {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  line-height: inherit;
}

.aum-auth .aum-alert-btn,
.aum-auth .aum-alert-footer .aum-alert-btn {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0f2942 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  cursor: pointer;
}

.aum-auth .aum-alert-error .aum-alert-btn {
  background: #c8102e !important;
}

.aum-auth .aum-alert-ok .aum-alert-btn {
  background: #047857 !important;
}

.aum-auth .aum-alert-btn:hover {
  opacity: 0.92;
}

.aum-auth .aum-alert-footer .aum-send-password {
  display: inline-block !important;
  width: auto !important;
  min-width: 96px;
  height: 40px !important;
  padding: 0 1.25rem !important;
}

.aum-auth .aum-alert-modal .aum-forgot-body p {
  margin: 0;
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.aum-auth .aum-alert-modal .aum-forgot-body h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

@media (max-width: 480px) {
  .aum-auth .aum-forgot-dialog {
    padding: 1.5rem 1.125rem 1.25rem;
    border-radius: 14px;
  }

  .aum-auth .aum-forgot-body .aum-birthdate-hint {
    width: 100%;
    margin-left: 0;
  }
}
