/* ================================================================
   Auth (Devise) — Stripe-inspired split layout
   ================================================================ */

/* ── Shell ─────────────────────────────────────────────────────── */


/* @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Finlandica+Text:ital,wght@0,100..900;1,100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Kodchasan:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=LINE+Seed+JP&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=SN+Pro:ital,wght@0,200..900;1,200..900&family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&display=swap'); */

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text-hi, #111827);
  font-family: var(--font, 'Instrument Sans', Inter, -apple-system, sans-serif);
}

/* ── Split wrapper ─────────────────────────────────────────────── */
.auth-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-panel-left {
    display: none;
  }
}

/* ── Left panel — colorful gradient side ──────────────────────── */
.auth-panel-left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 45%, #24243e 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 3.5rem;
}

/* mesh gradient orbs */
.auth-panel-left::before,
.auth-panel-left::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}
.auth-panel-left::before {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(99,102,241,.55) 0%, rgba(139,92,246,.3) 60%, transparent 100%);
}
.auth-panel-left::after {
  width: 420px;
  height: 420px;
  bottom: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(16,185,129,.4) 0%, rgba(6,182,212,.25) 60%, transparent 100%);
}

/* noise texture overlay */
.auth-panel-left-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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

/* Logo in left panel */
.auth-left-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.auth-left-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .03em;
}

.auth-left-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.9);
}

/* Headline block */
.auth-left-body {
  padding: 1rem 0;
}

.auth-left-headline {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.1rem;
}

.auth-left-headline span {
  background: linear-gradient(90deg, #a78bfa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-left-sub {
  font-size: .97rem;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  max-width: 340px;
  margin: 0 0 2.5rem;
}

/* Feature pills */
.auth-left-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-left-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

.auth-left-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.auth-left-feature-icon.indigo {
  background: rgba(99,102,241,.25);
  border: 1px solid rgba(99,102,241,.35);
}
.auth-left-feature-icon.violet {
  background: rgba(139,92,246,.25);
  border: 1px solid rgba(139,92,246,.35);
}
.auth-left-feature-icon.teal {
  background: rgba(20,184,166,.25);
  border: 1px solid rgba(20,184,166,.35);
}

/* Testimonial card */
.auth-left-testimonial {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.auth-left-testimonial-text {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  margin: 0 0 .9rem;
  font-style: italic;
}

.auth-left-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-left-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.auth-left-testimonial-name {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.auth-left-testimonial-role {
  font-size: .73rem;
  color: rgba(255,255,255,.4);
}

/* ── Right panel — form side ───────────────────────────────────── */
.auth-panel-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  background: #fff;
  position: relative;
}

/* subtle grid lines background */
.auth-panel-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.auth-form-wrap {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Top logo for mobile (right panel) */
.auth-mobile-logo {
  display: none;
  text-decoration: none;
  color: var(--text-hi);
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .auth-mobile-logo {
    display: flex;
    justify-content: center;
  }
}

.auth-mobile-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .03em;
}

.auth-mobile-logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

/* Form heading */
.auth-form-header {
  margin-bottom: 2rem;
}

.auth-title {
  margin: 0 0 .35rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-hi, #111827);
  line-height: 1.2;
}

.auth-subtitle {
  margin: 0;
  color: var(--text-mid, #6b7280);
  font-size: .9rem;
  line-height: 1.5;
}

/* ── Form fields ───────────────────────────────────────────────── */
.auth-field {
  margin-bottom: 1.1rem;
}

.auth-field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-hi, #111827);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

.auth-field .form-control {
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--border, #e5e7eb);
  background: var(--g-50, #f9fafb);
  font-size: .9375rem;
  color: var(--text-hi);
  padding: 0 .9rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.auth-field .form-control:focus {
  border-color: var(--brand, #6366f1);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(99,102,241,.14), 0 1px 2px rgba(0,0,0,.04);
}

.auth-field .form-control::placeholder {
  color: var(--g-400, #9ca3af);
}

/* Password field wrapper for show/hide toggle */
.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .form-control {
  padding-right: 2.8rem;
}

.auth-password-toggle {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--g-400);
  display: flex;
  align-items: center;
  font-size: 1rem;
  transition: color .15s;
}
.auth-password-toggle:hover { color: var(--g-600); }

/* Remember me + forgot row */
.auth-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  margin-top: -.1rem;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8125rem;
  color: var(--text-mid);
  cursor: pointer;
}

.auth-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--brand, #6366f1);
  cursor: pointer;
}

.auth-forgot {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--brand, #6366f1);
  text-decoration: none;
  transition: opacity .15s;
}
.auth-forgot:hover { opacity: .75; }

/* ── Submit button ─────────────────────────────────────────────── */
.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: none;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: box-shadow .15s, transform .1s, filter .15s;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,.35), 0 1px 2px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
}

.auth-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}

.auth-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99,102,241,.45), 0 2px 4px rgba(0,0,0,.1);
  transform: translateY(-1px);
}

.auth-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}

/* ── Divider ───────────────────────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0;
  color: var(--g-400, #9ca3af);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border, #e5e7eb);
}

/* ── Sign up link ──────────────────────────────────────────────── */
.auth-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--text-mid, #6b7280);
}

.auth-footer-text a {
  color: var(--brand, #6366f1);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}
.auth-footer-text a:hover { opacity: .75; }

/* ── Alert / error ─────────────────────────────────────────────── */
.auth-error {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .875rem;
  color: #b91c1c;
  line-height: 1.45;
}

.auth-error i {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

/* ── Links (Devise shared) ─────────────────────────────────────── */
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.auth-links a {
  font-size: .875rem;
  color: var(--text-mid, #6b7280);
  text-decoration: none;
  transition: color .15s;
}
.auth-links a:hover { color: var(--brand, #6366f1); }

/* ── Legacy nav + layout (used by password reset, registrations, etc.) ── */
.auth-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.65);
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.auth-nav-inner {
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.auth-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .03em;
}

.auth-logo-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
  display: flex;
  justify-content: center;
}

.auth-meta {
  font-size: .85rem;
  color: var(--text-mid, #4b5563);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

/* used by other devise pages (password reset, etc.) that still use the old layout */
.auth-shell.auth-shell--legacy {
  background: radial-gradient(1200px 600px at 20% 10%, rgba(99,102,241,.12), transparent 55%),
              radial-gradient(900px 500px at 80% 30%, rgba(16,185,129,.10), transparent 55%),
              var(--surface-1, #f9fafb);
}

.auth-shell.auth-shell--legacy .auth-nav { display: block; }
.auth-shell.auth-shell--legacy .auth-split { display: none; }
.auth-shell.auth-shell--legacy .auth-main-legacy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
  display: flex;
  justify-content: center;
}

/* ================================================================
   Naukri-style Login Layout  (sessions/new only)
   ================================================================ */

/* ── Page shell ────────────────────────────────────────────────── */
.nk-page {
  min-height: 100vh;
  background-color: #f4f7f5;
  background-image:
    linear-gradient(rgba(26,71,42,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,71,42,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* ── Two-card container ─────────────────────────────────────────── */
.nk-wrap {
  width: 100%;
  max-width: 880px;
  display: flex;
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(26,71,42,.18),
    0  4px 16px rgba(26,71,42,.10),
    0  0   0  1px rgba(26,71,42,.08);
  overflow: hidden;
}

/* ── Left marketing card ────────────────────────────────────────── */
.nk-left {
  width: 400px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #1a472a 0%, #2d6a4f 55%, #1a3d24 100%);
  padding: 2.5rem 2.25rem 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* decorative blobs inside left panel */
.nk-left::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.2) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}

.nk-left::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,.5) 0%, transparent 70%);
  bottom: 100px; left: -60px;
  pointer-events: none;
}

/* Logo */
.nk-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
}

.nk-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.nk-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}

/* Left content */
.nk-left-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.nk-left-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .55rem;
  letter-spacing: -.03em;
  line-height: 1.25;
}

.nk-left-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0 0 1.6rem;
}

/* Feature list */
.nk-feature-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.nk-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.nk-feature-list .bi-check-circle-fill {
  color: #a7d9b5;
  font-size: .95rem;
  flex-shrink: 0;
}

/* Register CTA button */
.nk-reg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 1.75rem;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 8px;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s;
}

.nk-reg-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

/* Illustration area */
.nk-illo {
  margin-top: auto;
  position: relative;
  z-index: 1;
  margin-left: -2.25rem;
  margin-right: -2.25rem;
  padding-top: 1.5rem;
}

.nk-illo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Right login form ───────────────────────────────────────────── */
.nk-right {
  flex: 1;
  min-width: 0;
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  position: relative;
}

.nk-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,71,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,71,42,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Already signed-in banner */
.nk-already {
  margin-bottom: 1.5rem;
  padding: .875rem 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nk-already-label {
  font-size: .75rem;
  font-weight: 600;
  color: #166534;
}

.nk-already-email {
  font-size: .875rem;
  color: #15803d;
  margin-top: 2px;
}

/* Form title */
.nk-form-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0d0d0d;
  margin: 0 0 .25rem;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.nk-form-sub {
  font-size: .875rem;
  color: #a0aec0;
  margin: 0 0 1.9rem;
}

/* Password field + inline toggle */
.nk-pw-wrap {
  position: relative;
}

.nk-pw-wrap .form-control {
  padding-right: 4rem;
}

.nk-pw-toggle {
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #1a472a;
  cursor: pointer;
  letter-spacing: .01em;
  transition: opacity .15s;
}

.nk-pw-toggle:hover { opacity: .7; }

/* Forgot password row */
.nk-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: .4rem;
  margin-bottom: 1.25rem;
}

.nk-forgot {
  font-size: .8125rem;
  font-weight: 500;
  color: #1a472a;
  text-decoration: none;
  transition: opacity .15s;
}

.nk-forgot:hover { opacity: .75; }

/* Login submit button */
.nk-login-btn {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a472a 0%, #2d6a4f 100%);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: opacity .15s, box-shadow .15s, transform .1s;
  text-align: center;
  line-height: 48px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(26,71,42,.35);
  position: relative;
  z-index: 1;
}

.nk-login-btn:hover {
  opacity: .9;
  box-shadow: 0 6px 22px rgba(26,71,42,.45);
  transform: translateY(-1px);
}

.nk-login-btn:active {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26,71,42,.3);
}

/* Links / sign-up section */
.nk-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.nk-links a {
  font-size: .875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color .15s;
}

.nk-links a:hover { color: #1a472a; }

/* Page footer */
.nk-page-footer {
  margin-top: 1.25rem;
  font-size: .75rem;
  color: rgba(26,71,42,.5);
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .nk-wrap {
    flex-direction: column;
    max-width: 440px;
    border-radius: 12px;
  }

  .nk-left {
    width: 100%;
    padding: 2rem 1.75rem 1.5rem;
  }

  .nk-illo {
    display: none;
  }

  .nk-right {
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 380px) {
  .nk-right { padding: 1.5rem 1.25rem; }
  .nk-form-title { font-size: 1.55rem; }
}
