/* ═══════════════════════════════════════════════════════
   SINALHAN IHS — AUTH PORTAL STYLES
   Fonts: Playfair Display (headings) + DM Sans (body)
   ═══════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  /* Login Theme (Navy + Gold) */
  --c-bg-start:       #0a1628;
  --c-bg-end:         #0f224b;
  --c-brand:          #1a3a6e;
  --c-brand-dark:     #0d2249;
  --c-accent:         #c9a84c;
  --c-accent-light:   #e8c96b;
  --c-accent-glow:    rgba(201, 168, 76, 0.35);
  --c-panel-bg:       rgba(255, 255, 255, 0.97);
  --c-text-primary:   #0d1b35;
  --c-text-muted:     #5a6a82;
  --c-border:         rgba(26, 58, 110, 0.15);
  --c-input-bg:       #f4f7fc;
  --c-input-focus:    rgba(201, 168, 76, 0.2);
  --c-submit-from:    #1a3a6e;
  --c-submit-to:      #0d2249;
  --c-indicator:      #c9a84c;
  --c-orb1:           rgba(26, 58, 110, 0.6);
  --c-orb2:           rgba(201, 168, 76, 0.25);
  --c-orb3:           rgba(13, 34, 73, 0.5);

  /* Transitions */
  --t-theme:   0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    0.2s ease;
  --t-medium:  0.35s ease;

  /* Layout */
  --radius-card: 24px;
  --radius-field: 10px;
  --shadow-card: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Signup theme overrides */
:root.signup-theme {
  --c-bg-start:       #1a0a2e;
  --c-bg-end:         #2d1050;
  --c-brand:          #5b1a7a;
  --c-brand-dark:     #3d0f54;
  --c-accent:         #e85d7a;
  --c-accent-light:   #f07d94;
  --c-accent-glow:    rgba(232, 93, 122, 0.35);
  --c-border:         rgba(91, 26, 122, 0.18);
  --c-input-bg:       #fdf4f7;
  --c-input-focus:    rgba(232, 93, 122, 0.18);
  --c-submit-from:    #5b1a7a;
  --c-submit-to:      #3d0f54;
  --c-indicator:      #e85d7a;
  --c-orb1:           rgba(91, 26, 122, 0.55);
  --c-orb2:           rgba(232, 93, 122, 0.3);
  --c-orb3:           rgba(61, 15, 84, 0.5);
  --c-text-primary:   #1a0a2e;
  --c-text-muted:     #7a5a82;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-start);
  transition: background var(--t-theme);
  overflow-x: hidden;
  position: relative;
}

/* ── ANIMATED BACKGROUND ── */
.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-bg-start) 0%, var(--c-bg-end) 100%);
  transition: background var(--t-theme);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  transition: background var(--t-theme), transform 2s ease;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: var(--c-orb1);
  animation: drift1 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  background: var(--c-orb2);
  animation: drift2 15s ease-in-out infinite;
}

.orb-3 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-orb3);
  animation: drift3 10s ease-in-out infinite;
}

.hex-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.015) 30px,
      rgba(255,255,255,0.015) 31px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.015) 30px,
      rgba(255,255,255,0.015) 31px
    );
  opacity: 0.5;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, 30px) scale(1.05); }
  66%       { transform: translate(-30px, 20px) scale(0.97); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-50px, -40px) scale(1.1); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.15); }
}

/* ── AUTH WRAPPER ── */
.auth-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 380px 1fr;
  width: min(920px, 96vw);
  min-height: 600px;
  background: var(--c-panel-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: background var(--t-theme);
}

/* ── BRAND PANEL ── */
.brand-panel {
  background: linear-gradient(160deg, var(--c-brand) 0%, var(--c-brand-dark) 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background var(--t-theme);
}

.brand-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.brand-panel::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.brand-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.05), 0 0 0 16px rgba(255,255,255,0.025);
  transition: transform 0.4s ease;
}

.logo-ring:hover { transform: rotate(15deg) scale(1.05); }

.logo-icon {
  width: 50px;
  height: 50px;
  color: var(--c-accent);
  transition: color var(--t-theme);
}

/* Brand Text */
.brand-text {
  text-align: center;
}

.brand-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  transition: color var(--t-theme);
}

.school-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 10px;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-style: italic;
}

/* Divider */
.brand-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.divider-gem {
  font-size: 8px;
  color: var(--c-accent);
  transition: color var(--t-theme);
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--c-accent-glow);
  transition: background var(--t-theme), box-shadow var(--t-theme);
}

/* Panel Switch CTA */
.panel-switch-cta {
  text-align: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.switch-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.ghost-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-accent);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 7px 22px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-theme);
}

.ghost-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-accent);
}

/* ── FORM PANEL ── */
.form-panel {
  padding: 36px 44px 40px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Tab Bar */
.tab-bar {
  display: flex;
  background: var(--c-input-bg);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 32px;
  position: relative;
  border: 1px solid var(--c-border);
  transition: background var(--t-theme), border-color var(--t-theme);
}

.tab-btn {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: none;
  border: none;
  padding: 9px 16px;
  border-radius: 9px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab-btn.active {
  color: var(--c-text-primary);
  font-weight: 600;
}

.tab-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

.tab-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform var(--t-medium);
  z-index: 1;
}

.tab-indicator.right { transform: translateX(100%); }

/* Auth Forms */
.auth-form {
  display: none;
  flex-direction: column;
  flex: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-medium), transform var(--t-medium);
}

.auth-form.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.form-header {
  margin-bottom: 24px;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-text-primary);
  transition: color var(--t-theme);
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  transition: color var(--t-theme);
}

/* Fields */
.fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.fields.scrollable {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.fields.scrollable::-webkit-scrollbar {
  width: 4px;
}
.fields.scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.fields.scrollable::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--t-theme);
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--c-text-muted);
  pointer-events: none;
  z-index: 1;
  transition: color var(--t-theme);
}
.field-icon svg {
  width: 100%;
  height: 100%;
}

.field-input {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--c-text-primary);
  background: var(--c-input-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-field);
  padding: 11px 12px 11px 38px;
  outline: none;
  transition:
    border-color var(--t-fast),
    background var(--t-theme),
    box-shadow var(--t-fast);
  appearance: none;
}

.field-input::placeholder {
  color: #b0bac8;
  font-size: 0.85rem;
}

.field-input:focus {
  border-color: var(--c-accent);
  background: var(--c-input-focus);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}

.field-input:focus + .field-icon,
.field-wrap:focus-within .field-icon {
  color: var(--c-accent);
}

/* Select */
.select-wrap .field-input {
  cursor: pointer;
}
.select-arrow {
  position: absolute;
  right: 12px;
  color: var(--c-text-muted);
  font-size: 11px;
  pointer-events: none;
  transition: color var(--t-theme);
}

/* Toggle Password */
.toggle-pass {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  transition: color var(--t-fast);
  z-index: 2;
}

.toggle-pass:hover { color: var(--c-accent); }

.eye-icon {
  width: 18px;
  height: 18px;
}

.eye-icon.hidden {
  display: none;
}

/* Field Row */
.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-row.two-col {
  align-items: flex-start;
  gap: 12px;
}

.field-row.two-col .field-group {
  flex: 1;
}

/* Remember Me */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--c-text-muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-border);
  border-radius: 5px;
  background: var(--c-input-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
  position: relative;
}

.checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.checkbox-input:checked ~ .checkbox-custom {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.checkbox-input:checked ~ .checkbox-custom::after {
  opacity: 1;
}

/* Forgot Link */
.forgot-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity var(--t-fast), color var(--t-theme);
}
.forgot-link:hover { opacity: 0.75; text-decoration: underline; }

/* Password Strength
   NOTE: the markup and JS use .strength-bar / .strength-fill (see
   index.html + script.js). This block previously targeted mismatched
   class names (.password-strength / .strength-track) that never
   existed in the HTML, so the strength bar rendered with no track
   height or fill styling. Fixed to target the actual classes used. */
.strength-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 4px;
  background: var(--c-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.strength-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.4s ease, background 0.4s ease;
}

.strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
}

/* Match Message */
.match-msg {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 2px;
  min-height: 16px;
  transition: color var(--t-fast);
}
.match-msg.ok   { color: #22c55e; }
.match-msg.bad  { color: #ef4444; }

/* Submit Button */
.submit-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--c-submit-from), var(--c-submit-to));
  border: none;
  border-radius: var(--radius-field);
  padding: 13px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px var(--c-accent-glow);
  transition:
    background var(--t-theme),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--c-accent-glow);
}

.submit-btn:hover::before { opacity: 1; }

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px var(--c-accent-glow);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform var(--t-fast);
}
.submit-btn:hover .btn-arrow { transform: translateX(4px); }

/* Form Switch Text */
.form-switch-text {
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 14px;
}

.link-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-accent);
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  padding: 0;
  text-decoration: underline;
  transition: opacity var(--t-fast), color var(--t-theme);
}
.link-btn:hover { opacity: 0.75; }

/* ── TOAST ── */
.toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--c-text-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success { background: #15803d; }
.toast.error   { background: #b91c1c; }

/* ── FIELD ERROR STATE ── */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.field-input.error {
  border-color: #ef4444;
  background: #fff5f5;
  animation: shake 0.4s ease;
}

/* ── LOADING STATE ── */
.submit-btn.loading .btn-text::after {
  content: ' ●●●';
  animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
  0%   { clip-path: inset(0 66% 0 0); }
  33%  { clip-path: inset(0 33% 0 0); }
  66%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 66% 0 0); }
}

/* ── FADE-IN ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-wrapper {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: unset;
    max-height: 98vh;
    overflow-y: auto;
    border-radius: 18px;
  }

  .brand-panel {
    padding: 28px 24px 22px;
  }

  .brand-inner {
    gap: 14px;
  }

  .logo-ring { width: 64px; height: 64px; }
  .logo-icon  { width: 36px; height: 36px; }

  .school-name { font-size: 1.25rem; }

  .feature-list { display: none; }

  .panel-switch-cta {
    display: none;
  }

  .brand-panel::after,
  .brand-panel::before { display: none; }

  .form-panel {
    padding: 24px 20px 28px;
  }

  .field-row.two-col {
    flex-direction: column;
    gap: 16px;
  }

  .fields.scrollable {
    max-height: unset;
    overflow-y: visible;
  }
}

@media (max-width: 420px) {
  .auth-wrapper { width: 100vw; min-height: 100dvh; border-radius: 0; }
}

@media (max-width: 600px) {
  body { align-items: stretch; }
  .auth-wrapper {
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    border-radius: 0;
    grid-template-rows: auto 1fr;
  }

  .brand-panel { padding: 22px 18px 18px; }
  .form-panel { padding: 22px 16px 28px; }
  .form-panel h1 { font-size: 1.65rem; }
  .submit-btn { min-height: 46px; }
  .field-input { min-height: 46px; font-size: 16px; }
  .fields.scrollable { overflow: visible; }
}

@media (max-width: 800px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: min(560px, 94vw);
    min-height: auto;
    max-height: none;
  }

  .brand-panel { padding: 28px 24px 22px; }
  .feature-list { display: none; }
  .panel-switch-cta { display: none; }
  .brand-panel::before, .brand-panel::after { display: none; }
  .form-panel { min-width: 0; padding: 26px 22px 30px; }
  .fields.scrollable { max-height: none; overflow: visible; }
  .field-row.two-col { flex-direction: column; gap: 14px; }
}

@media (max-width: 480px) {
  body { padding: 0; }
  .auth-wrapper {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }
  .brand-panel {
    padding: 18px 16px 14px;
  }
  .logo-ring {
    width: 58px;
    height: 58px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .school-name {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.7rem;
  }
  .form-panel {
    padding: 18px 14px 22px;
  }
  .form-title {
    font-size: 1.45rem;
  }
  .tab-btn {
    font-size: 0.78rem;
  }
  .field-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .checkbox-label {
    width: 100%;
    justify-content: flex-start;
  }
  .submit-btn {
    min-height: 46px;
  }
}

@media (max-width: 420px) {
  .form-panel { padding: 22px 16px 26px; }
  .form-title { font-size: 1.5rem; }
  .field-row { gap: 10px; }
}