/* === START: login pages === */

/*--------------------------------------------------------------
# Login Hero
--------------------------------------------------------------*/
.login-hero {
  background: #061828;
  position: relative;
  overflow: hidden;
  margin-top: -8.75em;
  padding: calc(8.75em + 56px) 0 48px;
  min-height: 220px;
}
.login-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: linear-gradient(to right, rgba(6,24,40,0.92) 0%, rgba(6,24,40,0.75) 30%, rgba(6,24,40,0.35) 65%, transparent 90%), url('../images/hero/hero_640045765_crop.webp') center top/cover no-repeat;
  pointer-events: none;
}
.login-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(9,161,228,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.login-hero__inner {
  position: relative;
  z-index: 1;
}
.login-hero__badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.login-hero__badge--gold {
  border-color: rgba(255,183,0,0.5);
  color: #FFB700;
  background: rgba(255,183,0,0.08);
}
.login-hero__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.login-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .login-hero { margin-top: -9.25em; padding-top: calc(9.25em + 48px); }
}
@media (max-width: 575px) {
  .login-hero { margin-top: -3.75em; padding-top: calc(3.75em + 40px); min-height: auto; }
}

/*--------------------------------------------------------------
# Login Card
--------------------------------------------------------------*/
.login-card {
  max-width: 480px;
  margin: 40px auto 60px;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  border: 1px solid #e2e6ea;
}

@media (min-width: 992px) {
  .login-card {
    max-width: 580px;
  }
}

@media (min-width: 1200px) {
  .login-card {
    max-width: 640px;
  }
}

.login-card__header {
  background: #0a2540;
  padding: 20px 28px;
  border-bottom: 3px solid #FFB700;
  border-radius: 12px 12px 0 0;  /* add this — needed now that card isn't clipping */
}
.login-card__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.login-card__subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 0;
}
.login-card__body {
  background: #fff;
  padding: 28px 28px 24px;
  border-radius: 0 0 12px 12px;  /* add this */
}

/*--------------------------------------------------------------
# Step Indicator
--------------------------------------------------------------*/
.login-steps {
  display: flex;
  align-items: center;
  margin-top: 16px;
}
.login-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.login-step--active { color: #7dd4f5; }
.login-step--done   { color: rgba(255,255,255,0.6); }
.login-step__num {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.login-step--active .login-step__num { background: #09a1e4; color: #fff; }
.login-step--done   .login-step__num { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.login-step__divider {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 8px;
  min-width: 16px;
}

/*--------------------------------------------------------------
# Form Elements
--------------------------------------------------------------*/
.login-field {
  margin-bottom: 18px;
}
.login-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
  display: block;
}

/*--------------------------------------------------------------
# Account Type Pill
--------------------------------------------------------------*/
.login-type-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef7fd;
  border: 1px solid rgba(9,161,228,0.3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #0a2540;
  font-weight: 500;
  margin-bottom: 20px;
}
.login-type-pill a {
  margin-left: auto;
  font-size: 0.78rem;
  color: #09a1e4;
  text-decoration: none;
}
.login-type-pill a:hover { text-decoration: underline; }

/*--------------------------------------------------------------
# Locked Username Pill
--------------------------------------------------------------*/
.login-locked-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #495057;
  margin-bottom: 20px;
}
.login-locked-pill i { color: #09a1e4; font-size: 0.9rem; }

/*--------------------------------------------------------------
# OTP / MFA Intro Block
--------------------------------------------------------------*/
.login-otp-intro {
  background: #eef7fd;
  border-left: 3px solid #09a1e4;
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.login-otp-intro__heading {
  font-size: 1rem;
  font-weight: 600;
  color: #0a2540;
  margin: 0 0 6px;
}
.login-otp-intro p {
  font-size: 0.88rem;
  color: #495057;
  margin: 0;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Card Actions + Links
--------------------------------------------------------------*/
.login-card__actions {
  margin-top: 8px;
}
.login-card__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.login-card__links a {
  font-size: 0.82rem;
  color: #09a1e4;
  text-decoration: none;
}
.login-card__links a:hover { text-decoration: underline; }


/*--------------------------------------------------------------
# Custom Account Type Dropdown
--------------------------------------------------------------*/
.custom-acct-wrap {
  position: relative;
}
.custom-acct-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1.5px solid #adb5bd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s;
  user-select: none;
}
.custom-acct-trigger:hover { border-color: #09a1e4; }
.custom-acct-trigger--empty .custom-acct-trigger__label { color: #6c757d; }
.custom-acct-trigger.is-open {
  border-color: #FFB700;
  border-bottom-color: transparent;
  border-radius: 6px 6px 0 0;
}
.custom-acct-trigger__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-acct-trigger__icon {
  width: 28px; height: 28px;
  background: #eef7fd;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #09a1e4;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.custom-acct-trigger__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #212529;
}
.custom-acct-trigger__arrow {
  width: 8px; height: 8px;
  border-right: 2px solid #adb5bd;
  border-bottom: 2px solid #adb5bd;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s, border-color 0.15s;
  flex-shrink: 0;
}
.custom-acct-trigger.is-open .custom-acct-trigger__arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: #FFB700;
}
.custom-acct-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #FFB700;
  border-top: none;
  border-radius: 0 0 6px 6px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}
.custom-acct-dropdown.is-open { display: block; }
.custom-acct-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: #212529;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s;
}
.custom-acct-option:last-child { border-bottom: none; }
.custom-acct-option:hover { background: #eef7fd; }
.custom-acct-option--selected {
  background: #eef7fd;
  color: #09a1e4;
  font-weight: 600;
}
.custom-acct-option__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  background: #f4f6f9;
  color: #6c757d;
  transition: background 0.1s, color 0.1s;
}
.custom-acct-option:hover .custom-acct-option__icon,
.custom-acct-option--selected .custom-acct-option__icon {
  background: #eef7fd;
  color: #09a1e4;
}

/* === END: login pages === */