/* Hospital Jarvis: login page (v2) and add-photo page background. Loaded only on those pages. */
/* ═══════════════ Login v2: matches the public homepage ═══════════════ */
.auth-v2 {
  position: relative; min-height: 100vh; overflow-x: hidden;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  column-gap: 40px; padding: 0 clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #f1f6fd 0%, #f7f9fd 55%, #fff8f3 100%);
}
.auth2-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(23,71,166,.13) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(900px 600px at 25% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(900px 600px at 25% 30%, #000 30%, transparent 75%); }
.auth-v2 > * { position: relative; z-index: 1; }
.auth2-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 22px 0 6px; }
.auth2-top .brand { font-size: 20px; color: var(--brand-900); }
.auth2-links { display: flex; gap: 6px; align-items: center; }
.auth2-links a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--text-2); font-size: 14.5px; }
.auth2-links a:hover { background: var(--brand-50); color: var(--brand-800); text-decoration: none; }
.auth2-home { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--border); background: #fff; }

.auth2-hero { align-self: center; padding: 28px 0 40px; max-width: 600px; }
.auth2-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px -14px rgba(11,42,99,.45); font-weight: 700; color: var(--brand-800); font-size: 14px; margin-bottom: 22px; }
.auth2-eyebrow b { background: var(--grad-brand); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.auth2-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }
.auth2-title { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; color: var(--text); margin: 0 0 18px; }
.auth2-title .hl { color: var(--brand-600); }
.auth2-title .ul { position: relative; white-space: nowrap; }
.auth2-title .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; border-radius: 6px; background: var(--amber); transform: rotate(-1deg); opacity: .9; }
.auth2-sub { font-size: 17.5px; line-height: 1.6; color: var(--text-2); max-width: 520px; margin: 0 0 30px; }

.auth2-visual { position: relative; height: 350px; max-width: 560px; margin-bottom: 22px; }
.auth2-orb { position: absolute; right: 40px; top: 40px; width: 270px; height: 270px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #5fe0cf, var(--brand-teal) 34%, var(--brand-700) 78%); box-shadow: 0 40px 80px -30px rgba(11,42,99,.55); }
.auth2-pass { position: absolute; left: 70px; top: 92px; width: 310px; padding: 20px; border-radius: 22px; color: #fff;
  background: linear-gradient(150deg, rgba(23,71,166,.96), rgba(11,42,99,.97)); border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px -24px rgba(11,42,99,.6); transform: rotate(-4deg); animation: hjFloat 7s ease-in-out infinite; }
.pass-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pass-head b { display: block; font-size: 15px; } .pass-head small { color: rgba(255,255,255,.7); font-size: 12px; }
.pass-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: #fff; }
.pass-avatar img { width: 32px; height: 32px; display: block; }
.pass-chip { margin-left: auto; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--brand-900); }
.pass-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pass-rows small { display: block; font-size: 11px; color: rgba(255,255,255,.65); }
.pass-rows b { font-size: 13.5px; }
.pass-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; margin-bottom: 8px; }
.pass-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--mint), var(--amber)); }
.pass-foot { font-size: 11.5px; color: rgba(255,255,255,.7); }
.auth2-float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(11,42,99,.45); border: 1px solid rgba(23,71,166,.06); animation: hjFloat 6s ease-in-out infinite; }
.auth2-float b { display: block; font-size: 14px; color: var(--text); } .auth2-float small { font-size: 12.5px; color: var(--text-3); }
.auth2-float .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.fi.ok { background: var(--ok-bg); color: var(--ok); } .fi.accent { background: var(--accent-50); color: var(--accent-600); } .fi.brand { background: var(--brand-50); color: var(--brand-700); }
.auth2-float.f1 { right: 0; top: 4px; animation-delay: -1s; }
.auth2-float.f2 { right: 0; bottom: 0; animation-delay: -3s; }
.auth2-float.f3 { left: 0; top: 4px; animation-delay: -2s; }
@keyframes hjFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.auth2-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.auth2-trust li { display: inline-flex; gap: 8px; align-items: center; } .auth2-trust svg { color: var(--ok); }

.auth-v2 .auth-main { align-self: center; padding: 28px 0 40px; }
.auth-v2 .auth-card { max-width: 470px; }
.auth-v2 .auth-card .card { position: relative; border: 1px solid rgba(23,71,166,.08); border-radius: 24px; padding: 34px;
  box-shadow: 0 1px 2px rgba(15,31,36,.04), 0 40px 80px -36px rgba(11,42,99,.45); overflow: hidden; }
.auth-v2 .auth-card .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-line); }
.auth-v2 .tabs { background: var(--brand-50); }
.auth-v2 .auth-head h1 { font-size: 27px; letter-spacing: -.02em; }
.auth-v2 .auth-card .btn-primary.btn-block { background: linear-gradient(135deg, var(--accent-ink), var(--accent-600)); box-shadow: 0 14px 28px -14px rgba(201,65,39,.85); height: 50px; font-size: 16px; }
.auth-v2 .auth-card .btn-primary.btn-block:hover { filter: brightness(1.04); }
.auth2-note { margin: 16px auto 0; max-width: 400px; font-size: 13px; color: var(--text-3); text-align: center; }
.auth2-note svg { color: var(--ok); vertical-align: -3px; margin-right: 4px; }
.auth2-foot { grid-column: 1 / -1; padding: 18px 0 26px; text-align: center; font-size: 13px; color: var(--text-3); }
.auth2-foot a { color: var(--text-2); }
.auth2-mobile-hero { display: none; }

@media (max-width: 1180px) { .auth2-visual { transform: scale(.86); transform-origin: left top; height: 305px; } }
@media (max-width: 980px) {
  .auth-v2 { grid-template-columns: 1fr; padding: 0 16px; }
  .auth-v2 .auth2-hero { display: none; }
  .auth-v2 .auth2-links a:not(.auth2-home) { display: none; }
  .auth-v2 .auth2-mobile-hero { display: block; text-align: center; margin: 6px 0 20px; }
  .auth-v2 .auth2-mobile-hero .auth2-title { font-size: 30px; margin: 0; }
  .auth-v2 .auth2-mobile-hero .auth2-eyebrow { margin-bottom: 14px; }
  .auth-v2 .auth-main { padding: 6px 0 20px; justify-content: flex-start; }
  .auth-v2 .auth-card .card { padding: 24px 18px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .auth2-pass, .auth2-float { animation: none; } }

/* ═══════════════════════════════════════════════════════════════
   Login v3: healthcare story + authentication card.
   Scoped to .auth-v3 so the v2 rules above (and the add-photo page) stay untouched.
   ═══════════════════════════════════════════════════════════════ */

/* Auth Design Tokens */
.auth-v3 {
  --a3-blue: #1f7ae0;
  --a3-blue-deep: #1747a6;
  --a3-cta: linear-gradient(135deg, #2a86f0 0%, #1a63d6 55%, #1747a6 100%);
  --a3-cta-shadow: 0 14px 30px -14px rgba(23, 92, 214, .75);
  --a3-ink: var(--brand-900);
  --a3-line: rgba(23, 71, 166, .10);
  --a3-field: #f7faff;
  --a3-radius: 22px;
  --a3-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Auth Shell */
.auth-v3 {
  position: relative; display: grid; min-height: 100vh; overflow-x: clip;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 4vw, 72px);
  padding: 0 clamp(20px, 5vw, 80px);
  background:
    radial-gradient(1100px 620px at 12% -10%, rgba(42, 134, 240, .14), transparent 60%),
    radial-gradient(900px 600px at 105% 105%, rgba(15, 148, 136, .10), transparent 60%),
    linear-gradient(180deg, #f3f8ff 0%, #f8fbff 60%, #f6fbfa 100%);
}
.auth3-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(23, 71, 166, .12) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(760px 520px at 22% 40%, #000 25%, transparent 72%);
          mask-image: radial-gradient(760px 520px at 22% 40%, #000 25%, transparent 72%);
}
.auth-v3 > * { position: relative; z-index: 1; }

/* Header */
.auth3-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 8px; }
.auth3-top .brand { font-size: 20px; }
.auth3-links { display: flex; gap: 4px; align-items: center; }
.auth3-links a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 12px;
  font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: background .15s, color .15s;
}
.auth3-links a svg { color: var(--brand-700); opacity: .85; }
.auth3-links a:hover { background: rgba(23, 71, 166, .06); color: var(--brand-800); text-decoration: none; }
.auth3-links .auth3-home { margin-left: 6px; background: #fff; border: 1px solid var(--a3-line); box-shadow: 0 6px 18px -12px rgba(11, 42, 99, .45); color: var(--a3-ink); }

/* Hero */
.auth3-story { align-self: center; max-width: 620px; padding: 24px 0 36px; }
.auth3-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: #fff; border: 1px solid var(--a3-line); box-shadow: 0 8px 22px -16px rgba(11, 42, 99, .5);
  font-weight: 700; font-size: 13.5px; color: var(--brand-800); margin-bottom: 18px;
}
.auth3-badge b { background: var(--grad-brand); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.auth3-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-teal); }
.auth3-title { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--a3-ink); }
.auth3-title .hl { background: linear-gradient(100deg, #2a86f0, #1747a6 60%, #0f9488); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth3-sub { margin: 12px 0 0; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.55; color: var(--text-2); max-width: 470px; }
.auth3-copy[data-copy="register"] { display: none; }
.auth-v3:has(#panel-register:not(.hidden)) .auth3-copy[data-copy="login"] { display: none; }
.auth-v3:has(#panel-register:not(.hidden)) .auth3-copy[data-copy="register"] { display: block; }
.auth3-copy { animation: a3Rise .5s var(--a3-ease) both; }

/* Healthcare Illustration */
.care-scene { position: relative; margin: 26px 0 22px; height: clamp(320px, 31vw, 400px); max-width: 580px; }
.care-ring {
  position: absolute; left: 50%; top: 52%; width: min(80%, 410px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .95) 0%, rgba(232, 242, 255, .9) 45%, rgba(214, 233, 252, .55) 68%, rgba(214, 233, 252, 0) 71%);
}
.care-ring::before, .care-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(23, 71, 166, .18); }
.care-ring::before { inset: 3%; }
.care-ring::after { inset: 17%; border-style: solid; border-color: rgba(15, 148, 136, .14); }
.care-photo {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(46%, 262px); aspect-ratio: 368 / 470;
  border-radius: 140px 140px 28px 28px; overflow: hidden; background: #e9f1fd;
  border: 6px solid #fff; box-shadow: 0 34px 60px -28px rgba(11, 42, 99, .55), 0 0 0 1px var(--a3-line);
}
.care-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); }

/* Floating Care Indicators */
.care-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 34px -18px rgba(11, 42, 99, .45), 0 0 0 1px var(--a3-line);
  animation: a3Float 7s ease-in-out infinite; white-space: nowrap;
}
.care-chip b { display: block; font-size: 13.5px; color: var(--a3-ink); line-height: 1.2; }
.care-chip small { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.3; }
.ci { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ci-blue { background: #e8f2ff; color: #1a63d6; }
.ci-indigo { background: #eef0ff; color: #4b55c9; }
.ci-rose { background: #ffeef1; color: #d63b5a; }
.ci-teal { background: #e3f7f4; color: #0b7a70; }
.c-appt { left: 52%; top: 2%; animation-delay: -1s; }
.c-rec { left: 0; top: 30%; animation-delay: -3s; }
.c-vit { right: 0; top: 44%; animation-delay: -2s; }
.c-med { left: 4%; bottom: 8%; animation-delay: -4.5s; }
.care-caption {
  position: absolute; right: 2%; bottom: 0; margin: 0; padding: 14px 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 18px 38px -20px rgba(11, 42, 99, .5), 0 0 0 1px var(--a3-line);
  font-size: 14px; line-height: 1.3; color: var(--a3-ink); min-width: 170px;
}
.care-bar { display: block; margin-top: 10px; height: 5px; border-radius: 5px; background: #e8eef7; overflow: hidden; }
.care-bar i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--grad-line); }

.auth3-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.auth3-trust li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--a3-line); font-size: 13.5px; font-weight: 600; color: var(--text-2);
}
.auth3-trust li > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }

/* Auth Card */
.auth-v3 .auth-main { align-self: center; padding: 24px 0 36px; }
.auth-v3 .auth-card { max-width: 480px; animation: a3Rise .55s var(--a3-ease) both; }
.auth-v3 .auth-card .card {
  position: relative; padding: 32px; border-radius: var(--a3-radius); background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(23, 71, 166, .09);
  box-shadow: 0 1px 2px rgba(15, 31, 36, .04), 0 2px 6px -2px rgba(11, 42, 99, .06), 0 40px 80px -40px rgba(11, 42, 99, .45);
}
.auth-v3 .auth-head { margin-bottom: 20px; }
.auth-v3 .auth-head h1 { font-size: 22px; letter-spacing: -.02em; color: var(--a3-ink); margin-bottom: 4px; }
.auth-v3 .auth-head p { font-size: 14px; line-height: 1.5; }
.auth-v3 .auth-foot { margin-top: 18px; }

/* Tabs */
.auth-v3 .tabs { padding: 5px; gap: 5px; border-radius: 14px; background: #edf3fc; border: 1px solid rgba(23, 71, 166, .06); margin-bottom: 24px; }
.auth-v3 .tab { min-height: 42px; white-space: nowrap; padding: 0 8px; border-radius: 10px; font-size: 14.5px; color: var(--text-2); transition: background .2s, color .2s, box-shadow .2s; }
.auth-v3 .tab:hover { color: var(--a3-ink); }
.auth-v3 .tab[aria-selected="true"] { background: var(--a3-cta); color: #fff; box-shadow: 0 8px 18px -10px rgba(23, 92, 214, .8); }
.auth-v3 .tab:focus-visible { box-shadow: 0 0 0 3px rgba(42, 134, 240, .35); }

/* Forms */
.auth-v3 .field > label, .auth-v3 .label { font-size: 13.5px; color: var(--a3-ink); }
.auth-v3 .input, .auth-v3 .select { min-height: 50px; border-radius: 12px; border-color: #d6e0ec; background-color: var(--a3-field); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.auth-v3 .input:hover, .auth-v3 .select:hover { border-color: #b9c9dd; }
.auth-v3 .input:focus, .auth-v3 .select:focus, .auth-v3 .textarea:focus { background-color: #fff; border-color: var(--a3-blue); box-shadow: 0 0 0 4px rgba(42, 134, 240, .14); }
.auth-v3 .input-prefix span { border-radius: 12px 0 0 12px; border-color: #d6e0ec; }
.auth-v3 .input-prefix .input { border-radius: 0 12px 12px 0; }
.input-lead { position: relative; }
.input-lead > svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; color: #8ea2b8; pointer-events: none; transition: color .15s; }
.input-lead > .input { padding-left: 44px; }
.input-lead:focus-within > svg { color: var(--a3-blue); }
.auth-v3 .pin-boxes input, .auth-v3 .otp-boxes input { height: 54px; border-radius: 12px; border-color: #d6e0ec; background: var(--a3-field); }
.auth-v3 .pin-boxes input:focus, .auth-v3 .otp-boxes input:focus { background: #fff; border-color: var(--a3-blue); box-shadow: 0 0 0 4px rgba(42, 134, 240, .14); }
.auth-v3 .pin-toggle { color: var(--a3-blue-deep); white-space: nowrap; }
.auth-v3 .pin-boxes, .auth-v3 .otp-boxes { flex: 0 1 auto; min-width: 0; }
.auth3-forgot { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.auth-v3 .divider { margin: 18px 0; font-size: 11.5px; letter-spacing: .08em; color: #8293a6; }
.auth-v3 .divider::before, .auth-v3 .divider::after { background: linear-gradient(90deg, transparent, #dbe4ef); }
.auth-v3 .divider::after { background: linear-gradient(90deg, #dbe4ef, transparent); }
.auth-v3 .google-wrap { min-height: 44px; }
.auth-v3 .alert { border-radius: 12px; }

.auth-v3 .btn { border-radius: 12px; }
.auth-v3 .auth-card .btn-primary {
  min-height: 52px; font-size: 16px; letter-spacing: .005em; color: #fff; border: 0;
  background: var(--a3-cta); box-shadow: var(--a3-cta-shadow);
  transition: transform .15s var(--a3-ease), box-shadow .2s, filter .2s;
}
.auth-v3 .auth-card .btn-primary:not(.is-loading):not([disabled])::after {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor; transition: translate .2s var(--a3-ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.auth-v3 .auth-card .btn-primary:hover { filter: brightness(1.05); box-shadow: 0 18px 34px -14px rgba(23, 92, 214, .85); }
.auth-v3 .auth-card .btn-primary:hover::after { translate: 3px 0; }
.auth-v3 .auth-card .btn-primary:focus-visible { box-shadow: 0 0 0 4px rgba(42, 134, 240, .35), var(--a3-cta-shadow); }
.auth-v3 .auth-card .btn-secondary { min-height: 50px; border-color: #d6e0ec; background: #fff; color: var(--a3-ink); }
.auth-v3 .auth-card .btn-secondary:hover { border-color: #b9c9dd; background: #f7faff; }
.auth-v3 .link-btn, .auth-v3 .auth-card a { color: var(--a3-blue-deep); }
.auth-v3 .partner-note { background: #eef8f6; color: #0b5f57; border: 1px solid rgba(15, 148, 136, .14); }
.auth-v3 .partner-note a { color: var(--brand-teal-ink); }
.auth-v3 .email-chip { border-radius: 12px; }

/* Registration Progress */
.auth-v3 .steps { gap: 6px; margin-bottom: 24px; padding: 12px 14px; border-radius: 14px; background: #f5f9ff; border: 1px solid rgba(23, 71, 166, .06); }
.auth-v3 .step { font-size: 12.5px; gap: 7px; }
.auth-v3 .step .num { width: 28px; height: 28px; background: #fff; border: 1.5px solid #d6e0ec; color: var(--text-3); transition: background .25s, border-color .25s, color .25s; }
.auth-v3 .step.is-active .num { background: var(--a3-cta); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px rgba(42, 134, 240, .16); }
.auth-v3 .step.is-done .num { background: var(--ok); border-color: transparent; color: #fff; }
.auth-v3 .step-line { height: 2px; background: repeating-linear-gradient(90deg, #cfdbe9 0 5px, transparent 5px 9px); }
.auth-v3 .step-line.is-done { background: var(--ok); }

/* Trust / Privacy */
.auth3-note { display: flex; align-items: center; gap: 12px; max-width: 440px; margin: 18px auto 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.auth3-note-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ok); box-shadow: 0 8px 20px -12px rgba(11, 42, 99, .45), 0 0 0 1px var(--a3-line); }

/* Footer */
.auth3-foot { grid-column: 1 / -1; padding: 16px 0 26px; text-align: center; font-size: 13px; color: var(--text-3); }
.auth3-foot a { color: var(--text-2); }

@keyframes a3Float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes a3Rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (min-width: 981px) and (max-height: 800px) {
  .care-scene { height: 300px; margin: 18px 0 16px; }
  .care-ring { width: 300px; }
  .care-photo { width: 196px; border-radius: 110px 110px 24px 24px; }
  .auth3-title { font-size: clamp(34px, 3.6vw, 48px); }
  .auth-v3 .auth-card .card { padding: 26px 30px; }
  .auth-v3 .auth-head { margin-bottom: 14px; }
}
@media (max-width: 1180px) {
  .auth-v3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .care-chip small { display: none; }
  .care-chip { padding: 8px 12px 8px 8px; }
  .care-caption { font-size: 13px; min-width: 150px; }
}
@media (max-width: 980px) {
  .auth-v3 { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
  .auth3-links a:not(.auth3-home) { display: none; }
  .auth3-top { padding: 16px 0 4px; }
  .auth3-story { max-width: 560px; width: 100%; margin: 0 auto; padding: 14px 0 6px; text-align: center; }
  .auth3-sub { margin-left: auto; margin-right: auto; }
  .care-scene { height: 300px; margin: 18px auto 0; }
  .auth3-trust { display: none; }
  .auth-v3 .auth-main { padding: 18px 0 20px; justify-content: flex-start; }
  .auth-v3 .auth-card { margin: 0 auto; }
}
@media (max-width: 480px) {
  .auth-v3 { padding: 0 16px; }
  .auth3-top .brand-tag { display: none; }
  .auth3-links .auth3-home { min-height: 38px; padding: 0 12px; }
  .auth3-badge { font-size: 12.5px; margin-bottom: 14px; }
  .auth3-badge b { font-size: 12px; }
  .auth3-title { font-size: 34px; }
  .auth3-sub { font-size: 15.5px; margin-top: 8px; }
  .care-scene { height: 214px; margin-top: 12px; }
  .care-ring { width: 226px; }
  .care-photo { width: 136px; border-width: 4px; border-radius: 80px 80px 20px 20px; }
  .care-chip { gap: 7px; padding: 6px 10px 6px 6px; border-radius: 13px; }
  .care-chip b { font-size: 12px; }
  .ci { width: 28px; height: 28px; border-radius: 9px; }
  .ci svg { width: 15px; height: 15px; }
  .c-appt { left: auto; right: 2%; top: 4%; }
  .c-rec { left: 0; top: 18%; }
  .c-vit { right: 0; top: auto; bottom: 34%; }
  .c-med { display: none; }
  .care-caption { right: auto; left: 0; bottom: 4%; padding: 10px 12px; font-size: 12px; min-width: 0; border-radius: 13px; }
  .care-bar { margin-top: 7px; height: 4px; }
  .auth-v3 .auth-card .card { padding: 22px 18px; border-radius: 20px; }
  .auth-v3 .tabs { margin-bottom: 20px; }
  .auth-v3 .auth-head h1 { font-size: 20px; }
  .auth-v3 .steps { padding: 10px; }
}
@media (max-width: 360px) {
  .auth3-title { font-size: 30px; }
  .care-scene { height: 210px; }
  .care-ring { width: 206px; }
  .care-photo { width: 128px; }
  .care-caption { display: none; }
  .auth-v3 .auth-card .card { padding: 20px 14px; }
  .auth-v3 .tab { font-size: 13.5px; }
  .auth-v3 .pin-boxes { gap: 6px; }
  .auth-v3 .pin-row { gap: 8px; }
  .auth-v3 .pin-toggle { font-size: 12px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .care-chip, .auth3-copy, .auth-v3 .auth-card { animation: none; }
  .auth-v3 .auth-card .btn-primary, .auth-v3 .auth-card .btn-primary::after { transition: none; }
}
