/* ─── Auth Shell ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: var(--canvas);
}
@media (max-width: 900px) {
  .auth-page { flex-direction: column; }
}

/* ─── Auth Side Panel ─── */
.auth-side {
  flex: 1;
  background: linear-gradient(135deg, #0b3d36 0%, #0f7a6a 60%, #12907d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-side-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 380px;
}
.auth-side-logo {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.auth-side h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.auth-side p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.auth-side-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-side-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
}
.auth-side-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .auth-side { display: none; }
}

/* ─── Auth Main Panel ─── */
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.auth-main-full { max-width: 100%; }
.auth-card {
  width: 100%;
  max-width: 420px;
}
@media (max-width: 900px) {
  .auth-main { max-width: 100%; }
  .auth-card { max-width: 400px; }
}

.auth-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.auth-card-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ─── Auth Mode Tabs ─── */
.auth-tabs {
  display: flex;
  padding: 4px;
  background: var(--canvas);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.auth-tab {
  flex: 1;
  height: 36px;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--muted);
}
.auth-tab.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ─── Auth Remember / Forgot ─── */
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.auth-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.auth-options a {
  color: var(--brand);
  font-weight: 600;
}

/* ─── Auth Footer ─── */
.auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-footer a { color: var(--brand); font-weight: 700; }

/* ─── Stepper ─── */
.auth-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-stepper-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  color: var(--faint);
}
.auth-stepper-step.active { background: var(--brand); color: white; }
.auth-stepper-line {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e8e8e8;
}
.auth-stepper-line.active { background: var(--brand); }

/* ─── OTP Box ─── */
.otp-info {
  background: var(--brand-soft);
  border: 1px solid #c5e5dc;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}
.otp-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.otp-info p { font-size: 12px; color: #5c8880; }
