.auth-body {
  min-height: 100vh;
  margin: 0;
  background: #f4f7fb;
  color: var(--dark-color);
}

.auth-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 18, 43, .82), rgba(7, 32, 73, .42)),
    url("../images/login-hero-generated.png") center / cover no-repeat;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, .94) 0%, rgba(244, 247, 251, .76) 48%, rgba(7, 32, 73, .34) 100%);
}

.auth-home-link {
  position: absolute;
  z-index: 3;
  top: 24px;
  inset-inline-start: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 32, 73, .32);
  text-decoration: none;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.auth-home-link:hover {
  color: #fff;
  background: rgba(7, 32, 73, .58);
}

.auth-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(380px, 520px);
  width: min(1120px, 100%);
  min-height: 690px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 28px 80px rgba(5, 18, 43, .24);
  backdrop-filter: blur(18px);
}

.auth-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 32, 73, .96), rgba(9, 76, 137, .9)),
    url("../images/consultants-hero-generated.png") center / cover no-repeat;
}

.auth-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 32, 73, .2), rgba(3, 14, 34, .72));
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
}

.auth-brand img {
  width: min(320px, 100%);
  max-height: 128px;
  object-fit: contain;
}

.auth-brand__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 178, 45, .18);
  color: var(--accent-color);
  font-size: 25px;
}

.auth-brand strong,
.auth-brand small {
  display: block;
}

.auth-brand strong {
  font-size: 16px;
  font-weight: 900;
}

.auth-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-panel__content {
  max-width: 520px;
}

.auth-panel__content > span,
.auth-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 178, 45, .16);
  color: var(--accent-color);
  font-size: .78rem;
  font-weight: 900;
}

.auth-panel__content h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.0rem);
  line-height: 1.5;
  font-weight: 900;
}

.auth-panel__content p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .8);
  font-size: 1.02rem;
  line-height: 1.9;
  font-weight: 700;
}

.auth-benefits {
  display: grid;
  gap: 12px;
}

.auth-benefits article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.auth-benefits i {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #071e46;
  background: var(--accent-color);
  font-size: 18px;
}

.auth-benefits strong {
  font-weight: 900;
}

.auth-benefits small {
  color: rgba(255, 255, 255, .74);
  line-height: 1.6;
  font-weight: 700;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 255, 255, .96);
}

.auth-card__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #071e46;
  background: linear-gradient(135deg, var(--accent-color), #ffd277);
  font-size: 27px;
  box-shadow: 0 16px 30px rgba(255, 178, 45, .24);
}

.auth-card h2 {
  margin: 13px 0 9px;
  color: var(--dark-color);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 900;
}

.auth-card > p {
  margin: 0 0 24px;
  color: #64728a;
  line-height: 1.8;
  font-weight: 700;
}

.auth-card__body form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-label,
.auth-card label {
  color: #24344f;
  font-size: .9rem;
  font-weight: 900;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(7, 32, 73, .13);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--dark-color);
  font-weight: 800;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-card input[type="text"]:focus,
.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
  border-color: rgba(255, 178, 45, .82);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 178, 45, .16);
}

.auth-options,
.auth-actions,
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f6f88;
  font-size: .9rem;
  font-weight: 800;
}

.auth-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.auth-link {
  border: 0;
  padding: 0;
  color: var(--primary-color);
  background: transparent;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 900;
}

.auth-link:hover {
  color: #071e46;
  text-decoration: underline;
}

.auth-submit,
.auth-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #071e46;
  background: var(--accent-color);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(255, 178, 45, .26);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-submit:hover,
.auth-card button[type="submit"]:hover {
  color: #071e46;
  background: #ffc85c;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(255, 178, 45, .32);
}

.auth-submit--wide {
  width: 100%;
}

.auth-note,
.auth-status {
  margin-bottom: 16px;
  padding: 13px 14px;
  border-radius: 8px;
  color: #40526d;
  background: #eef5ff;
  line-height: 1.8;
  font-weight: 800;
}

.auth-status {
  color: #0f6b4c;
  background: rgba(23, 171, 117, .12);
}

.auth-error {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
  color: #b42318;
  font-size: .82rem;
  font-weight: 800;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  color: #7b8799;
  font-size: .82rem;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(7, 32, 73, .1);
}

.auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  border: 1px solid rgba(7, 32, 73, .12);
  border-radius: 8px;
  color: var(--dark-color);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}

.auth-secondary:hover {
  color: var(--primary-color);
  border-color: rgba(14, 98, 189, .3);
}

html:not([dir="rtl"]) .auth-home-link i {
  transform: scaleX(-1);
}

@media (max-width: 991.98px) {
  .auth-page {
    padding: 24px;
    place-items: start center;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 62px;
  }

  .auth-panel {
    min-height: 410px;
  }
}

@media (max-width: 575.98px) {
  .auth-page {
    padding: 14px;
  }

  .auth-home-link {
    top: 14px;
    inset-inline-start: 14px;
  }

  .auth-shell {
    margin-top: 58px;
  }

  .auth-panel,
  .auth-card {
    padding: 22px;
  }

  .auth-panel {
    min-height: 360px;
  }

  .auth-benefits article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .auth-benefits i {
    width: 38px;
    height: 38px;
  }

  .auth-actions,
  .auth-options,
  .auth-row {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-submit,
  .auth-card button[type="submit"],
  .auth-secondary {
    width: 100%;
  }
}
