/* ══════════════════════════════════════════════════════════════════
   bv-signup.css — Ortak kayıt sihirbazı ve form bileşenleri (altı uygulamada AYNI dosya; betik: js/…/bv-signup.js)
   Renk: [data-bvs-pf] (sayfa kapsayıcısı; betik aynısını <html>e de yazar, pencereler için) — farm (Portal, petrol yeşili) ·
   farm-mobile (çiftlik mobil, koyu gri) · vet (veteriner, mavi) · adv (danışman, toprak)
   Ölçü: genişte alan 46 px; telefonda (< 768 px) 52 px, düğmeler ekranın altında sabit.
   Bölümler: 1 renkler · 2 kart ve adımlar · 3 alanlar · 4 seçim düğmesi · 5 telefon · 6 logo · 7 şifre
             8 sözleşme satırı · 9 düğmeler · 10 seçim penceresi · 11 okuma penceresi · 12 telefon ekranı
   ══════════════════════════════════════════════════════════════════ */

/* ── 1 · Renkler ── */
:root {
    --bvs-acc: #008080; --bvs-acc-ink: #006666; --bvs-acc-rgb: 0, 128, 128;
    --bvs-side: #2E3A40; --bvs-side-2: #1F2A2F;
    --bvs-ink: #2B3038; --bvs-mute: #6B737D; --bvs-line: #DCE1E6; --bvs-fill: #F4F6F8; --bvs-card: #FFFFFF;
    --bvs-bad: #B3261E; --bvs-bad-soft: #FCEDEC; --bvs-good: #1E7B34; --bvs-good-soft: #E7F4EA; --bvs-warn: #8A5A00;
    --bvs-h: 46px; --bvs-r: 10px;
}
html[data-bvs-pf="vet"], [data-bvs-pf="vet"] { --bvs-acc: #4F6585; --bvs-acc-ink: #3F5473; --bvs-acc-rgb: 79, 101, 133; --bvs-side: #34465F; --bvs-side-2: #26354A; }
html[data-bvs-pf="adv"], [data-bvs-pf="adv"] { --bvs-acc: #856F52; --bvs-acc-ink: #6B583F; --bvs-acc-rgb: 133, 111, 82; --bvs-side: #4A3F35; --bvs-side-2: #362D25; }
/* Çiftlik mobil uygulaması: kendi giriş ekranlarının koyu gri düğmeleri */
html[data-bvs-pf="farm-mobile"], [data-bvs-pf="farm-mobile"] { --bvs-acc: #434A54; --bvs-acc-ink: #2E333A; --bvs-acc-rgb: 67, 74, 84; }
.theme-dark, [data-bs-theme="dark"] {
    --bvs-ink: #E6E9EC; --bvs-mute: #9AA3AD; --bvs-line: #343B44; --bvs-fill: #232930; --bvs-card: #1C2127;
    --bvs-bad-soft: rgba(179, 38, 30, .18); --bvs-good-soft: rgba(30, 123, 52, .2);
}
@media (max-width: 767.98px) { :root { --bvs-h: 52px; --bvs-r: 12px; } }

/* ── 2 · Kart, başlık ve adımlar ── */
.bvs { color: var(--bvs-ink); }
.bvs *, .bvs *::before, .bvs *::after { box-sizing: border-box; }
.bvs-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.bvs-head h1 { font-size: 22px; font-weight: 600; margin: 0; line-height: 1.25; text-wrap: balance; }
.bvs-head p { margin: 0; color: var(--bvs-mute); font-size: 13.5px; line-height: 1.5; }
.bvs-progress { margin-bottom: 20px; }
.bvs-prog-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.bvs-prog-step { font-size: 12px; color: var(--bvs-mute); letter-spacing: .02em; }
.bvs-prog-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.bvs-segs { display: flex; gap: 5px; }
.bvs-segs i { flex: 1; height: 4px; border-radius: 4px; background: var(--bvs-line); transition: background .25s; }
.bvs-segs i.on { background: var(--bvs-acc); }
.bvs-step { display: flex; flex-direction: column; gap: 16px; }
.bvs-step[hidden] { display: none !important; }
.bvs-step-sub { margin: -6px 0 0; color: var(--bvs-mute); font-size: 13px; line-height: 1.5; }
.bvs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bvs-grid > .bvs-full { grid-column: 1 / -1; }
.bvs-grid.bvs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 575.98px) { .bvs-grid, .bvs-grid.bvs-3 { grid-template-columns: minmax(0, 1fr); } }
.bvs-sec { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bvs-mute); margin: 6px 0 -4px; }

/* Web: sol paneldeki adım listesi */
.bvs-stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.bvs-stepper li button { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left;
    background: none; border: 0; color: inherit; padding: 10px 10px; border-radius: 12px; opacity: .62; cursor: pointer; font: inherit; }
.bvs-stepper li button:disabled { cursor: default; }
.bvs-stepper li.on button { opacity: 1; background: rgba(255, 255, 255, .09); }
.bvs-stepper li.done button { opacity: .92; }
.bvs-stepper li.done button:hover { background: rgba(255, 255, 255, .06); }
.bvs-n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.bvs-stepper li.on .bvs-n { background: #FFF; border-color: #FFF; color: var(--bvs-side); }
.bvs-stepper li.done .bvs-n { background: var(--bvs-acc); border-color: var(--bvs-acc); color: #FFF; }
.bvs-st b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.bvs-st small { display: block; font-size: 12px; opacity: .75; line-height: 1.35; margin-top: 1px; }
.bvs-side-title { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0 0 6px; color: #FFF; }
.bvs-side-sub { font-size: 13px; opacity: .78; margin: 0 0 22px; line-height: 1.5; }
.bvs-side-note { display: flex; gap: 10px; font-size: 12.5px; opacity: .8; line-height: 1.5; margin-top: 22px; }

/* ── 3 · Alanlar: üstte etiket, kutu (ikon + giriş), altta ipucu / hata ── */
.bvs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bvs-field > label, .bvs-label { font-size: 13px; font-weight: 500; color: var(--bvs-ink); margin: 0; }
.bvs-field > label b, .bvs-label b { color: var(--bvs-bad); font-weight: 500; }
.bvs-field > label small { color: var(--bvs-mute); font-weight: 400; }
.bvs-box { position: relative; display: flex; align-items: center; min-height: var(--bvs-h); border: 1.5px solid var(--bvs-line); border-radius: var(--bvs-r);
    background: var(--bvs-card); transition: border-color .15s, box-shadow .15s; }
.bvs-box:focus-within { border-color: var(--bvs-acc); box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .14); }
.bvs-box.bvs-bad, .bvs-select.bvs-bad, .bvs-tel.bvs-bad .bvs-box { border-color: var(--bvs-bad); }
.bvs-box > i, .bvs-box > .bvs-ic { width: 42px; flex: none; text-align: center; color: var(--bvs-mute); font-size: 16px; }
.bvs-input, .bvs .bvs-box > input, .bvs .bvs-box > textarea { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--bvs-ink);
    font: inherit; font-size: 15px !important; line-height: 1.4; height: calc(var(--bvs-h) - 3px); padding: 0 14px; margin: 0; box-shadow: none; }
.bvs-box > i + input, .bvs-box > .bvs-ic + input { padding-left: 0; }
.bvs-box > textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.bvs-box input::placeholder, .bvs-box textarea::placeholder { color: var(--bvs-mute); opacity: .7; }
.bvs-hint { font-size: 12px; color: var(--bvs-mute); line-height: 1.45; }
.bvs-msg, .bvs .pt-field-error, .bvs [data-error] { font-size: 12px; color: var(--bvs-bad); line-height: 1.4; }
.bvs-msg[hidden], .bvs [data-error]:empty { display: none; }
.bvs .pt-field-error { display: none; }
.bvs .pt-field-error.d-block { display: block; }
.bvs-eye { flex: none; width: 44px; height: calc(var(--bvs-h) - 3px); border: 0; background: none; color: var(--bvs-mute); cursor: pointer; display: grid; place-items: center; }
.bvs-eye.on { color: var(--bvs-acc); }
.bvs-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; }
.bvs-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.bvs-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bvs-acc); flex: none; }

/* Seçenek kartları (rol, tür): radyo düğmeleri */
.bvs-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 575.98px) { .bvs-choices { grid-template-columns: minmax(0, 1fr); } }
.bvs-choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 12px; border: 1.5px solid var(--bvs-line); border-radius: var(--bvs-r);
    cursor: pointer; background: var(--bvs-card); transition: border-color .15s, background .15s; margin: 0; }
.bvs-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bvs-choice > i { font-size: 20px; color: var(--bvs-mute); line-height: 1; margin-top: 1px; }
.bvs-choice b { display: block; font-weight: 600; font-size: 13.5px; }
.bvs-choice small { display: block; color: var(--bvs-mute); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.bvs-choice:has(input:checked) { border-color: var(--bvs-acc); background: rgba(var(--bvs-acc-rgb), .07); }
.bvs-choice:has(input:checked) > i { color: var(--bvs-acc); }
.bvs-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .2); }

/* Seçilebilir etiketler (uzmanlık alanları) */
.bvs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bvs-chip { position: relative; margin: 0; }
.bvs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bvs-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--bvs-line); font-size: 13px; cursor: pointer; background: var(--bvs-card); }
.bvs-chip input:checked + span { border-color: var(--bvs-acc); background: rgba(var(--bvs-acc-rgb), .1); color: var(--bvs-acc-ink); font-weight: 500; }
.bvs-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .2); }
.bvs-chips.bvs-bad .bvs-chip span { border-color: var(--bvs-bad); }

/* "Diğer bilgiler (isteğe bağlı)" açılır bölümü */
.bvs-more { border: 1.5px solid var(--bvs-line); border-radius: 12px; background: var(--bvs-card); }
.bvs-more > summary { list-style: none; cursor: pointer; padding: 13px 16px; font-size: 13.5px; font-weight: 500; color: var(--bvs-ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bvs-more > summary::-webkit-details-marker { display: none; }
.bvs-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--bvs-mute); border-bottom: 2px solid var(--bvs-mute); transform: rotate(45deg); transition: transform .15s; margin-top: -3px; }
.bvs-more[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.bvs-more > .bvs-grid { padding: 4px 16px 16px; }

/* Google ile kayıt: Google'dan gelen kimlik */
.bvs-gid { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--bvs-line); border-radius: 12px; margin-bottom: 18px; background: var(--bvs-fill); }
.bvs-gid img, .bvs-gid-ini { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.bvs-gid-ini { display: grid; place-items: center; background: var(--bvs-acc); color: #FFF; font-weight: 600; }
.bvs-gid-text { flex: 1; min-width: 0; }
.bvs-gid-text b, .bvs-gid-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bvs-gid-text b { font-weight: 600; font-size: 14px; }
.bvs-gid-text span { font-size: 12.5px; color: var(--bvs-mute); }
.bvs-gid-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--bvs-good); background: var(--bvs-good-soft); border-radius: 999px; padding: 4px 10px; flex: none; }

/* Web (Portal / Veteriner / Danışman) giriş şablonunun sol paneli: adımlar */
.bvs-side { display: flex; flex-direction: column; }
.pt-auth:has(.bvs-side) .bvs-head { display: none; }
@media (min-width: 992px) { .pt-auth:has(.bvs-side) .bvs-segs { display: none; } .pt-auth:has(.bvs-side) .bvs-progress { margin-bottom: 18px; } }
@media (max-width: 991.98px) { .pt-auth:has(.bvs-side) .bvs-head { display: flex; } }

/* ── 4 · Seçim düğmesi (select yerine) ── */
.bvs-select { width: 100%; min-height: var(--bvs-h); display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
    border: 1.5px solid var(--bvs-line); border-radius: var(--bvs-r); background: var(--bvs-card); color: var(--bvs-ink); font: inherit; font-size: 15px; padding: 0 12px 0 14px; cursor: pointer;
    transition: border-color .15s, box-shadow .15s; }
.bvs-select:focus-visible { outline: 0; border-color: var(--bvs-acc); box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .14); }
.bvs-select:disabled { background: var(--bvs-fill); color: var(--bvs-mute); cursor: not-allowed; }
.bvs-select > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bvs-select .bvs-ph { color: var(--bvs-mute); }
.bvs-select svg { flex: none; color: var(--bvs-mute); }
.bvs-box > .bvs-select { border: 0; box-shadow: none; min-height: calc(var(--bvs-h) - 3px); }

/* ── 5 · Telefon: ülke kodu düğmesi + numara ── */
.bvs-tel { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.bvs-tel > .bvs-box { flex: 1; min-width: 0; }
.bvs-tel > input[type="tel"], .bvs-tel > .form-control, .bvs-tel > .bv-input, .bvs-tel > .am-input { flex: 1; min-width: 0; width: auto; }
.bvs-tel-cc { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; min-height: var(--bvs-h); border: 1.5px solid var(--bvs-line); border-radius: var(--bvs-r);
    background: var(--bvs-fill); color: var(--bvs-ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bvs-tel-cc b { font-size: 11px; font-weight: 600; border: 1px solid var(--bvs-line); background: var(--bvs-card); border-radius: 5px; padding: 1px 5px; letter-spacing: .03em; }
.bvs-tel-cc svg { color: var(--bvs-mute); }
.bvs-tel-cc:focus-visible { outline: 0; border-color: var(--bvs-acc); box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .14); }
.bvs-tel.bvs-bad .bvs-tel-cc { border-color: var(--bvs-bad); }
/* Kayıt dışı formlarda (profil): kutunun yüksekliği sayfanın kendi giriş kutusuna uyar */
.bvs-tel:not(.bvs-tel-signup) .bvs-tel-cc { min-height: 0; border-radius: inherit; }
.bvs-tel:not(.bvs-tel-signup) { border-radius: 8px; }
.bvs-tel.bvs-bad > input { border-color: var(--bvs-bad) !important; }

/* ── 6 · Logo ── */
.bvs-logo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px dashed var(--bvs-line); border-radius: 14px; }
.bvs-logo.has { border-style: solid; }
.bvs-logo-pic { width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden; background: var(--bvs-fill); border: 1px solid var(--bvs-line); display: grid; place-items: center; color: var(--bvs-mute); font-size: 24px; }
.bvs-logo-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bvs-logo.has .bvs-logo-pic > i { display: none; }
.bvs-logo-pic img[hidden] { display: none; }
.bvs-logo-text { flex: 1; min-width: 0; }
.bvs-logo-text b { display: block; font-weight: 600; font-size: 14px; }
.bvs-logo-text span { font-size: 12px; color: var(--bvs-mute); line-height: 1.4; }

/* Doğrulama kodu kutuları */
.bvs-code-row { display: flex; gap: 8px; justify-content: flex-start; }
.bvs-code-i { width: 48px; height: 56px; text-align: center; font-size: 22px !important; font-weight: 600; border: 1.5px solid var(--bvs-line); border-radius: var(--bvs-r);
    background: var(--bvs-card); color: var(--bvs-ink); outline: 0; padding: 0; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.bvs-code-i:focus { border-color: var(--bvs-acc); box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .14); }
.bvs-code-i.on { border-color: rgba(var(--bvs-acc-rgb), .55); }
.bvs-code.bvs-bad .bvs-code-i { border-color: var(--bvs-bad); }
@media (max-width: 400px) { .bvs-code-row { gap: 6px; } .bvs-code-i { width: 42px; height: 52px; } }
.bvs-prog-sub { display: none; }

/* ── 7 · Şifre kuralları ve güç çubuğu ── */
.bvs-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: 12.5px; color: var(--bvs-mute); }
.bvs-rules li { display: flex; gap: 7px; align-items: center; }
.bvs-rules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.bvs-rules li.ok { color: var(--bvs-good); }
.bvs-rules li.ok::before { background: currentColor; }
.bvs-meter { display: flex; gap: 4px; }
.bvs-meter i { flex: 1; height: 4px; border-radius: 3px; background: var(--bvs-line); transition: background .2s; }
.bvs-meter[data-s="1"] i:nth-child(-n+1) { background: var(--bvs-bad); }
.bvs-meter[data-s="2"] i:nth-child(-n+2) { background: #C77700; }
.bvs-meter[data-s="3"] i:nth-child(-n+3) { background: #5E9A2B; }
.bvs-meter[data-s="4"] i { background: var(--bvs-good); }

/* ── 8 · Sözleşme satırı ── */
.bvs-docs { display: flex; flex-direction: column; gap: 10px; }
.bvs-doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--bvs-line); border-radius: 12px; cursor: pointer; background: var(--bvs-card); transition: border-color .15s; }
.bvs-doc:hover { border-color: rgba(var(--bvs-acc-rgb), .5); }
.bvs-doc:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .2); }
.bvs-doc-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(var(--bvs-acc-rgb), .1); color: var(--bvs-acc); }
.bvs-doc-ic .bvs-ok { display: none; }
.bvs-doc-text { flex: 1; min-width: 0; }
.bvs-doc-text b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.bvs-doc-text span { font-size: 12px; color: var(--bvs-mute); }
.bvs-doc input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.bvs-doc.ok { border-color: var(--bvs-good); }
.bvs-doc.ok .bvs-doc-ic { background: var(--bvs-good-soft); color: var(--bvs-good); }
.bvs-doc.ok .bvs-doc-text span { color: var(--bvs-good); }
.bvs-doc.bvs-bad { border-color: var(--bvs-bad); background: var(--bvs-bad-soft); }
.bvs-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 16px; margin: 0; padding: 14px 16px; background: var(--bvs-fill); border-radius: 12px; font-size: 13px; }
.bvs-summary dt { color: var(--bvs-mute); font-weight: 400; }
.bvs-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.bvs-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--bvs-acc-rgb), .08); color: var(--bvs-ink); font-size: 12.5px; line-height: 1.5; }
.bvs-note > i { color: var(--bvs-acc); font-size: 16px; line-height: 1.2; }

/* ── 9 · Düğmeler ── */
.bvs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--bvs-h); padding: 0 20px; border-radius: var(--bvs-r);
    border: 1.5px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, opacity .15s; white-space: nowrap; }
.bvs-btn.bvs-pri { background: var(--bvs-acc); color: #FFF; }
.bvs-btn.bvs-pri:hover { background: var(--bvs-acc-ink); color: #FFF; }
.bvs-btn.bvs-ghost { background: var(--bvs-card); color: var(--bvs-ink); border-color: var(--bvs-line); }
.bvs-btn.bvs-ghost:hover { border-color: var(--bvs-mute); }
.bvs-btn.bvs-sm { min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.bvs-btn:disabled { opacity: .5; cursor: not-allowed; }
.bvs-btn[hidden] { display: none !important; }
.bvs-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(var(--bvs-acc-rgb), .25); }
.bvs-google { width: 100%; background: var(--bvs-card); color: var(--bvs-ink); border-color: var(--bvs-line); font-weight: 500; }
.bvs-google:hover { border-color: var(--bvs-mute); color: var(--bvs-ink); }
.bvs-google img, .bvs-google svg { width: 20px; height: 20px; }
.bvs-or { display: flex; align-items: center; gap: 12px; color: var(--bvs-mute); font-size: 12px; }
.bvs-or::before, .bvs-or::after { content: ""; flex: 1; height: 1px; background: var(--bvs-line); }
.bvs-acts { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 22px; }
.bvs-acts .bvs-btn.bvs-pri { min-width: 160px; }
.bvs-acts .bvs-off { visibility: hidden; }
.bvs-alt { text-align: center; font-size: 13.5px; color: var(--bvs-mute); margin: 18px 0 0; }
.bvs-alt a { color: var(--bvs-acc); font-weight: 600; text-decoration: none; }

/* ── 10 · Seçim penceresi (telefonda alttan, genişte ortada) ── */
html.bvs-lock, html.bvs-lock body { overflow: hidden; }
.bvs-sheet-bg { position: fixed; inset: 0; z-index: 2147482000; background: rgba(12, 16, 20, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .18s; }
.bvs-sheet-bg.in { background: rgba(12, 16, 20, .45); }
.bvs-sheet { width: 100%; max-width: 560px; max-height: 82vh; max-height: 82dvh; display: flex; flex-direction: column; background: var(--bvs-card); color: var(--bvs-ink);
    border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(24px); opacity: 0; transition: transform .2s ease, opacity .18s; box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); }
.bvs-sheet-bg.in .bvs-sheet { transform: none; opacity: 1; }
.bvs-sheet-bg.bvs-dlg { align-items: center; padding: 24px; }
.bvs-sheet-bg.bvs-dlg .bvs-sheet { max-width: 440px; max-height: min(620px, 80vh); border-radius: 16px; padding-bottom: 0; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.bvs-dlg .bvs-grab { display: none; }
.bvs-grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--bvs-line); margin: 8px auto 2px; flex: none; }
.bvs-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 10px 18px; flex: none; }
.bvs-sheet-head b { font-size: 16px; font-weight: 600; }
.bvs-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bvs-fill); color: var(--bvs-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.bvs-sheet-search { position: relative; margin: 0 16px 8px; flex: none; }
.bvs-sheet-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--bvs-mute); }
.bvs-sheet-search input { width: 100%; height: 44px; font-size: 15px !important; border: 1.5px solid var(--bvs-line); border-radius: 10px; padding: 0 12px 0 38px; font: inherit; font-size: 15px; background: var(--bvs-fill); color: var(--bvs-ink); outline: 0; }
.bvs-sheet-search input:focus { border-color: var(--bvs-acc); background: var(--bvs-card); }
.bvs-sheet-list { list-style: none; margin: 0; padding: 2px 8px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; min-height: 0; }
.bvs-sheet-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 10px; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; text-align: left; border-radius: 10px; cursor: pointer; min-height: 48px; }
.bvs-sheet-list button:hover, .bvs-sheet-list button:focus-visible { background: var(--bvs-fill); outline: 0; }
.bvs-sheet-list button.on { background: rgba(var(--bvs-acc-rgb), .1); color: var(--bvs-acc-ink); font-weight: 500; }
.bvs-badge { flex: none; min-width: 32px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .03em; border: 1px solid var(--bvs-line); border-radius: 6px; padding: 2px 5px; color: var(--bvs-mute); background: var(--bvs-card); }
.bvs-li-main { flex: 1; min-width: 0; }
.bvs-li-main small { display: block; font-size: 12px; color: var(--bvs-mute); }
.bvs-li-side { color: var(--bvs-mute); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.bvs-li-check { color: var(--bvs-acc); display: grid; }
.bvs-empty { padding: 18px 12px; color: var(--bvs-mute); text-align: center; font-size: 14px; }

/* ── 11 · Okuma penceresi (sözleşmeler) ── */
.bvs-reader-bg { position: fixed; inset: 0; z-index: 2147482100; background: rgba(12, 16, 20, .5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.bvs-reader { width: min(760px, 100%); max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; background: var(--bvs-card); color: var(--bvs-ink); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.bvs-reader-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--bvs-line); }
.bvs-reader-head b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; }
.bvs-reader-head small { display: block; color: var(--bvs-mute); font-size: 12px; margin-top: 3px; }
.bvs-reader-prog { height: 3px; background: var(--bvs-fill); flex: none; }
.bvs-reader-prog i { display: block; height: 100%; width: 0; background: var(--bvs-acc); transition: width .1s linear; }
.bvs-reader-body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 24px 28px; font-size: 14px; line-height: 1.7; flex: 1; min-height: 0; outline: 0; }
.bvs-reader-body h2, .bvs-reader-body h3 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; line-height: 1.4; }
.bvs-reader-body h2:first-child, .bvs-reader-body h3:first-child { margin-top: 4px; }
.bvs-reader-body p, .bvs-reader-body li { max-width: 72ch; }
.bvs-reader-body p { margin: 0 0 10px; }
.bvs-reader-body ul, .bvs-reader-body ol { margin: 0 0 12px; padding-left: 20px; }
.bvs-reader-body li { margin-bottom: 4px; }
.bvs-reader-body .bvs-legal-meta { color: var(--bvs-mute); font-size: 12.5px; }
.bvs-reader-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bvs-line); flex: none; min-height: 70px; }
.bvs-reader-hint { display: flex; align-items: center; gap: 8px; color: var(--bvs-mute); font-size: 13px; margin-right: auto; }
.bvs-reader-hint[hidden] { display: none; }
.bvs-reader-foot .bvs-btn { animation: bvs-pop .25s ease; }
@keyframes bvs-pop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 767.98px) {
    .bvs-reader-bg { padding: 0; align-items: flex-end; }
    .bvs-reader { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 18px 18px 0 0; }
    .bvs-reader-body { padding: 16px 18px 24px; }
    .bvs-reader-foot .bvs-btn { flex: 1; }
}

/* ── 12 · Telefon ekranı: düğmeler altta sabit, alanlar tek sütun ── */
@media (max-width: 767.98px) {
    .bvs-head h1 { font-size: 20px; }
    .bvs-acts { position: sticky; bottom: 0; z-index: 5; margin: 18px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: var(--bvs-card); border-top: 1px solid var(--bvs-line); border-radius: 0 0 16px 16px; }
    .bvs-acts .bvs-btn.bvs-pri { flex: 1; min-width: 0; }
    .bvs-acts .bvs-btn.bvs-ghost { width: var(--bvs-h); padding: 0; flex: none; }
    .bvs-acts .bvs-btn.bvs-ghost span { display: none; }
    .bvs-acts .bvs-off { display: none; }
    .bvs-rules { grid-template-columns: minmax(0, 1fr); }
}
/* Şablonun kendi kartı içinde (danışman mobil: .am-auth-card) — ikinci kart yok, başlık şablonun h1 kuralından ayrılır */
.bvs-in-card .bvs-head h1 { text-align: left; font-weight: 600; font-size: 20px; margin: 0; }
.bvs-in-card .bvs-head p { text-align: left; }
@media (max-width: 767.98px) {
    .am-auth-card .bvs-acts { margin: 18px -18px -20px; padding-left: 18px; padding-right: 18px; border-radius: 0 0 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .bvs *, .bvs-sheet, .bvs-sheet-bg { transition: none !important; animation: none !important; } }
