:root {
  --auth-bg-1: #f0f3f8;
  --auth-bg-2: #e6edf7;
  --auth-accent: #00a651;
  --auth-accent-2: #21a9e1;
  --auth-text: #1b2230;
  --auth-muted: #617086;
  --auth-card: #ffffff;
  --auth-border: #d4deeb;
}

body.auth-page {
  min-height: 100vh;
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 166, 81, 0.14), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(33, 169, 225, 0.16), transparent 30%),
    linear-gradient(135deg, var(--auth-bg-1), var(--auth-bg-2));
}

.auth-shell {
  max-width: 980px;
}

.auth-card {
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  overflow: hidden;
}

.auth-brand {
  background: linear-gradient(165deg, #303641 0%, #22559d 58%, #00a651 100%);
  color: #fff;
}

.auth-brand .kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.9;
}

.auth-brand .headline {
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 1.2;
}

.auth-brand .meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.auth-form {
  color: var(--auth-text);
}

.auth-form .title {
  font-size: 1.35rem;
  font-weight: 700;
}

.auth-form .sub {
  color: var(--auth-muted);
  font-size: 0.86rem;
}

.auth-form .form-control-sm {
  border-color: var(--auth-border);
  background: #f8fbff;
  min-height: 40px;
  font-size: 0.84rem;
  padding: 0.38rem 0.62rem;
}

.auth-form .form-control-sm:focus {
  border-color: var(--auth-accent-2);
  box-shadow: 0 0 0 0.2rem rgba(33, 169, 225, 0.14);
  background: #fff;
}

.auth-form .btn-success {
  background: var(--auth-accent);
  border-color: var(--auth-accent);
  min-height: 38px;
  font-weight: 600;
}

.auth-form .btn-success:hover {
  background: #009449;
  border-color: #009449;
}

.auth-form .btn,
.auth-form .btn-sm {
  font-size: 0.82rem;
  padding: 0.34rem 0.62rem;
  min-height: 36px;
}

@media (max-width: 767.98px) {
  .auth-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
}

.otp-slot {
  width: 100%;
  min-width: 0;
  height: 40px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  background: #f8fbff;
  outline: none;
  padding: 0;
  box-sizing: border-box;
}

.otp-slot:focus {
  border-color: var(--auth-accent-2);
  box-shadow: 0 0 0 0.2rem rgba(33, 169, 225, 0.14);
  background: #fff;
}

@media (max-width: 575.98px) {
  .otp-grid {
    gap: 0.28rem;
  }

  .otp-slot {
    height: 36px;
    font-size: 0.85rem;
  }
}
