:root {
  --auth-brand: #0f2a66;
  --auth-brand-dark: #0c2152;
  --auth-surface: #ffffff;
  --auth-muted: #6b7280;
}

body.auth-body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #101b33;
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(15, 42, 102, 0.12), transparent 60%),
    radial-gradient(1000px 520px at 110% 110%, rgba(15, 42, 102, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #f1f5ff 55%, #ffffff 100%);
}

.auth-layout {
  min-height: 100vh;
}

.auth-hero {
  background: linear-gradient(160deg, #01245c 0%, #0f2a66 100%);
  color: #f4f7ff;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-hero::after {
  content: '';
  position: absolute;
  inset: auto -90px -110px auto;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(8px);
}

.auth-hero__logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-hero__logo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(1, 36, 92, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.auth-card {
  background: var(--auth-surface);
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 42, 102, 0.08);
  box-shadow: 0 18px 48px rgba(15, 42, 102, 0.16);
}

.auth-muted {
  color: var(--auth-muted) !important;
}

.auth-divider {
  height: 1px;
  background: rgba(15, 42, 102, 0.12);
  margin: 1.5rem 0;
}

.btn-auth-primary {
  background: var(--auth-brand);
  border-color: var(--auth-brand);
  color: #ffffff;
}

.btn-auth-primary:hover,
.btn-auth-primary:focus {
  background: var(--auth-brand-dark);
  border-color: var(--auth-brand-dark);
  color: #ffffff;
}

.btn-auth-outline {
  border-color: var(--auth-brand);
  color: var(--auth-brand);
}

.btn-auth-outline:hover,
.btn-auth-outline:focus {
  background: var(--auth-brand);
  border-color: var(--auth-brand);
  color: #ffffff;
}

.auth-otp-group {
  gap: 0.75rem;
}

.auth-otp-input {
  width: 3.1rem;
  height: 3.4rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 0.9rem;
  flex: 0 0 auto;
}

.auth-otp-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(15, 42, 102, 0.15);
  border-color: rgba(15, 42, 102, 0.45);
}

.auth-otp-input--wide {
  width: 100%;
  max-width: 330px;
  letter-spacing: 0.42rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  height: 3.4rem;
  border-radius: 1rem;
}

.auth-otp-input--wide::placeholder {
  letter-spacing: 0.42rem;
  color: rgba(16, 27, 51, 0.35);
}

@media (max-width: 991.98px) {
  .auth-hero {
    min-height: 260px;
  }

  .auth-card {
    box-shadow: 0 12px 30px rgba(15, 42, 102, 0.18);
  }
}

@media (max-width: 575.98px) {
  .auth-otp-input {
    width: 2.6rem;
    height: 3.1rem;
    font-size: 1.3rem;
    border-radius: 0.75rem;
  }

  .auth-otp-group {
    gap: 0.55rem;
  }

  .auth-otp-input--wide {
    max-width: 100%;
    letter-spacing: 0.32rem;
    height: 3.1rem;
  }

  .auth-otp-input--wide::placeholder {
    letter-spacing: 0.32rem;
  }
}
