/* =====================================================================
   Rivora · Giriş / kayıt sayfaları (layouts/auth.tpl + views/auth/*.tpl)
   Solda Rivora tanıtım paneli (halka dalgaları + silik marka yazısı), sağda sade form.
   WISECP sınıfları (auth-*, reg-step, otp) korunur, burada yeniden çizilir.
   Köşe dili: yalnız sağ üst + sol alt. Gölge yok, üzerine gelince zıplama yok. Yazı tipi: Inter.
   ===================================================================== */

.rv-auth-page {
    --rva-bg: #f4f6f9;
    --rva-surface: #ffffff;
    --rva-soft: #f8fafc;
    --rva-line: #e3e9f1;
    --rva-line-2: #d5deea;
    --rva-head: #0f172a;
    --rva-body: #334155;
    --rva-muted: #64748b;
    --rva-tint: color-mix(in srgb, var(--primary-color) 8%, #ffffff);
    --rva-tint-line: color-mix(in srgb, var(--primary-color) 18%, #ffffff);
    --rva-ic: var(--primary-color);
    --rva-link: var(--primary-color);
    --rva-ok: color-mix(in srgb, var(--btn-primary) 72%, #0f172a);
    --rva-panel: color-mix(in srgb, var(--primary-color) 90%, #020617);
    --wstyle-font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--rva-bg);
}
[data-bs-theme="dark"] .rv-auth-page {
    --rva-bg: var(--rv-dark-bg, #0b1118);
    --rva-surface: #111a24;
    --rva-soft: #0e1620;
    --rva-line: rgba(255, 255, 255, 0.08);
    --rva-line-2: rgba(255, 255, 255, 0.14);
    --rva-head: #f1f5f9;
    --rva-body: #cbd5e1;
    --rva-muted: #94a3b8;
    --rva-tint: color-mix(in srgb, var(--primary-color) 26%, #111a24);
    --rva-tint-line: color-mix(in srgb, var(--primary-color) 45%, #111a24);
    --rva-ic: color-mix(in srgb, var(--primary-color) 30%, #ffffff);
    --rva-link: color-mix(in srgb, var(--primary-color) 35%, #ffffff);
    --rva-ok: color-mix(in srgb, var(--btn-primary) 72%, #ffffff);
    --rva-panel: color-mix(in srgb, var(--primary-color) 60%, #0b1118);
}
.rv-auth-page :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea, .btn) { font-family: inherit; }

/* ---------- Düzen ---------- */
.rv-as-split { display: flex; min-height: 100vh; min-height: 100svh; }
.rv-as { position: sticky; top: 0; align-self: flex-start; flex: 0 0 46%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; flex-direction: column; justify-content: center;
    background: var(--rva-panel); color: #ffffff; }
.rv-as-split.is-form-heavy .rv-as { flex-basis: 42%; }
.rv-as::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; z-index: 2; width: 3px; background: var(--btn-primary); }

/* Arka plan görseli: yavaş yakınlaşma + ana renk perdesi */
.rv-as-photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.rv-as-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform-origin: 60% 40%; animation: rvAsZoom 26s ease-in-out infinite alternate;
    filter: saturate(0.85); }
@keyframes rvAsZoom { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.rv-as-veil { position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--rva-panel) 88%, transparent) 0%, color-mix(in srgb, var(--rva-panel) 72%, transparent) 45%, color-mix(in srgb, var(--rva-panel) 94%, transparent) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--rva-panel) 70%, transparent) 0%, transparent 100%); }

/* Veri akışı: ince dikey çizgiler boyunca aşağı süzülen ışık noktaları (veri merkezi temasına uygun) */
.rv-as-streams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rv-as-streams span { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.07) 20%, rgba(255, 255, 255, 0.07) 80%, transparent); }
.rv-as-streams span::after { content: ""; position: absolute; left: -1px; top: -120px; width: 3px; height: 90px; border-radius: 3px;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--btn-primary) 85%, #ffffff));
    opacity: 0.7; animation: rvAsStream 7s linear infinite; }
.rv-as-streams span:nth-child(1) { left: 8%; }
.rv-as-streams span:nth-child(2) { left: 22%; }
.rv-as-streams span:nth-child(3) { left: 41%; }
.rv-as-streams span:nth-child(4) { left: 63%; }
.rv-as-streams span:nth-child(5) { left: 79%; }
.rv-as-streams span:nth-child(6) { left: 93%; }
.rv-as-streams span:nth-child(1)::after { animation-duration: 8s; animation-delay: -1s; }
.rv-as-streams span:nth-child(2)::after { animation-duration: 11s; animation-delay: -6s; }
.rv-as-streams span:nth-child(3)::after { animation-duration: 9s; animation-delay: -3s; }
.rv-as-streams span:nth-child(4)::after { animation-duration: 12s; animation-delay: -8s; }
.rv-as-streams span:nth-child(5)::after { animation-duration: 7.5s; animation-delay: -4.5s; }
.rv-as-streams span:nth-child(6)::after { animation-duration: 10s; animation-delay: -2s; }
@keyframes rvAsStream { 0% { transform: translateY(0); } 100% { transform: translateY(calc(100vh + 240px)); } }

.rv-as-inner { position: relative; width: 100%; max-width: 540px; margin: 0 auto; padding: 48px 52px 64px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.rv-as-inner::-webkit-scrollbar { display: none; }
.rv-as-inner > * { animation: rvAsRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rv-as-inner > :nth-child(2) { animation-delay: 0.05s; }
.rv-as-inner > :nth-child(3) { animation-delay: 0.1s; }
.rv-as-inner > :nth-child(4) { animation-delay: 0.16s; }
.rv-as-inner > :nth-child(5) { animation-delay: 0.22s; }
.rv-as-inner > :nth-child(6) { animation-delay: 0.28s; }
@keyframes rvAsRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.rv-as-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--btn-primary); }
.rv-as-dot { width: 18px; height: 2px; background: var(--btn-primary); }
.rv-as-title { margin: 0 0 12px; font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -0.9px; color: #ffffff; text-wrap: balance; }
.rv-as-text { margin: 0 0 28px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.75); }

/* Avantajlar: yatay ayraç yok; ikonlar dikey ince bir hatla birbirine bağlanır */
.rv-as-items { margin: 0 0 30px; padding: 0; list-style: none; }
.rv-as-items li { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 0 0 22px; }
.rv-as-items li:last-child { padding-bottom: 0; }
.rv-as-items li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, 0.16); }
.rv-as-ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 0 9px 0 9px; background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16); font-size: 15px; color: #ffffff; }
.rv-as-items .rv-as-ic { color: color-mix(in srgb, var(--btn-primary) 55%, #ffffff); }
.rv-as-items li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.rv-as-items strong { font-size: 14.5px; font-weight: 700; color: #ffffff; }
.rv-as-items small { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.65); }

/* Öne çıkan paket: delikli bilet */
.rv-as-promo { position: relative; display: block; margin: 0 0 24px; padding: 18px 20px 16px; border-radius: 0 16px 0 16px; background: #ffffff; color: var(--rva-body, #334155); text-decoration: none; }
a.rv-as-promo { transition: transform 0s; }
a.rv-as-promo:hover { color: inherit; }
a.rv-as-promo:hover .rv-as-promo-head strong { color: var(--primary-color); }
.rv-as-promo-head { display: flex; align-items: center; gap: 10px; }
.rv-as-promo-head .rv-as-ic { width: 30px; height: 30px; font-size: 14px; color: #ffffff; background: var(--primary-color); border-color: transparent; }
.rv-as-promo-head strong { font-size: 16px; font-weight: 800; color: #0f172a; transition: color 0.2s ease; }
.rv-as-promo-badge { margin-left: auto; padding: 3px 9px; border-radius: 0 7px 0 7px; background: color-mix(in srgb, var(--btn-primary) 14%, #ffffff); font-size: 11px; font-weight: 800;
    color: color-mix(in srgb, var(--btn-primary) 70%, #0f172a); }
.rv-as-promo-desc { margin: 10px 0 10px; font-size: 13px; line-height: 1.55; color: #64748b; }
.rv-as-promo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.rv-as-promo-list li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #334155; }
.rv-as-promo-list i { color: var(--btn-primary); font-size: 13px; }
.rv-as-promo-cut { position: relative; display: block; height: 0; margin: 14px -20px 0; border-top: 2px dashed #e3e9f1; }
.rv-as-promo-cut::before, .rv-as-promo-cut::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--rva-panel); }
.rv-as-promo-cut::before { left: -9px; }
.rv-as-promo-cut::after { right: -9px; }
.rv-as-promo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 12px 0 0; }
.rv-as-promo-price del { font-size: 13px; color: #94a3b8; }
.rv-as-promo-price strong { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; color: #0f172a; }
.rv-as-promo-price span { font-size: 12.5px; color: #64748b; }

/* Alt bilgiler */
.rv-as-stats { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.rv-as-stats li { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, 0.85); }
.rv-as-stats li + li::before { content: ""; flex-shrink: 0; width: 1px; height: 14px; margin: 0 9px; background: rgba(255, 255, 255, 0.3); }
.rv-as-stats i { color: rgba(255, 255, 255, 0.7); }
.rv-as-stats li:first-child i { color: #fbbf24; }

/* ---------- Sağ: form ---------- */
.rv-af { position: relative; flex: 1 1 54%; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: 26px clamp(20px, 4vw, 60px) 22px;
    background: var(--rva-bg); color: var(--rva-body); }
.rv-af-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.rv-af-brand .site-logo { max-height: 34px; width: auto; }
.rv-af-brandbox { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rv-af-brandbox .locale-toggle { white-space: nowrap; color: var(--rva-muted); }
.rv-af-home { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 0 9px 0 9px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
    color: var(--rva-muted); text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }
.rv-af-home:hover { color: var(--rva-link); background: var(--rva-tint); }
.rv-af-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 34px 0 22px; }
.rv-af-inner { width: 100%; max-width: 420px; margin: 0 auto; }
.rv-af-inner.auth-form-inner-wide { max-width: 680px; }
.rv-af-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font-size: 12px; color: var(--rva-muted); }
.rv-af-secure i { color: var(--rva-ok); }

/* Başlıklar */
.rv-af h1, .rv-af h2.h3, .rv-af .auth-title { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; color: var(--rva-head); }
.rv-af .text-body-secondary, .rv-af .auth-sub { color: var(--rva-muted) !important; }
.rv-af .auth-head { margin-bottom: 24px; }
.rv-af .auth-sub { margin: 4px 0 0; font-size: 14.5px; }
.rv-af .text-center.mb-4 { margin-bottom: 26px !important; }
.rv-af .auth-icon { width: 54px; height: 54px; border: 1px solid var(--rva-tint-line); border-radius: 0 13px 0 13px; font-size: 22px; color: var(--rva-ic); background: var(--rva-tint); }
.rv-af .auth-icon-success { border-color: color-mix(in srgb, var(--btn-primary) 38%, var(--rva-surface)); color: var(--rva-ok); background: color-mix(in srgb, var(--btn-primary) 10%, var(--rva-surface)); }
.rv-af .auth-icon-danger { border-color: color-mix(in srgb, #dc3545 30%, var(--rva-surface)); color: #dc3545; background: color-mix(in srgb, #dc3545 8%, var(--rva-surface)); }
.rv-af a:not(.btn):not(.rv-af-home):not(.site-brand) { color: var(--rva-link); }
.rv-af .btn-link { color: var(--rva-link); }

/* Form alanları */
.rv-af .form-label { margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--rva-head); }
.rv-af .form-control, .rv-af .form-select { min-height: 48px; padding-left: 14px; border-color: var(--rva-line-2); border-radius: 0 11px 0 11px; background-color: var(--rva-surface);
    color: var(--rva-head); font-size: 14.5px; box-shadow: none; }
.rv-af textarea.form-control { min-height: 96px; }
.rv-af .form-control::placeholder { color: var(--rva-muted); opacity: 0.85; }
.rv-af .form-control:focus, .rv-af .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 14%, transparent); }
.rv-af .form-control.is-invalid { border-color: #dc3545; box-shadow: 0 0 0 3px color-mix(in srgb, #dc3545 12%, transparent); }
.rv-af .input-group { flex-wrap: nowrap; }
.rv-af .input-group > * { border-radius: 0 !important; }
.rv-af .input-group > :first-child { border-bottom-left-radius: 11px !important; }
.rv-af .input-group > :last-child:not(.invalid-feedback):not(.valid-feedback) { border-top-right-radius: 11px !important; }
.rv-af .input-group > .form-control:not(:last-child) { border-right: 0; }
.rv-af .input-group > .btn-soft { min-width: 46px; border: 1px solid var(--rva-line-2); border-left: 0; background: var(--rva-surface); color: var(--rva-muted); box-shadow: none; }
.rv-af .input-group > .btn-soft:hover { color: var(--rva-link); }
.rv-af .input-group:focus-within > .btn-soft, .rv-af .input-group:focus-within > .form-control { border-color: var(--primary-color); }
.rv-af .form-check-input { border-color: var(--rva-line-2); }
.rv-af .form-check-input[type="checkbox"] { border-radius: 0 5px 0 5px; }
.rv-af .form-check-input:checked { background-color: var(--btn-primary); border-color: var(--btn-primary); }
.rv-af .form-check-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary) 18%, transparent); }
.rv-af .form-check-label { font-size: 13.5px; color: var(--rva-body); }
.rv-af .otp-input.form-control { min-height: 56px; padding-left: 0; border-radius: 0 10px 0 10px; font-weight: 700; }
.rv-af .iti { --iti-border-color: var(--rva-line-2); }

/* Beni hatırla + parolamı unuttum (tek satır) */
.rv-auth-opts { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 2px 0 20px; }
.rv-af .rv-auth-forgot { font-size: 13.5px; font-weight: 600; text-decoration: none; transition: opacity 0.2s ease; }
.rv-af .rv-auth-forgot:hover { opacity: 0.75; }

/* Butonlar */
.rv-af .btn { box-shadow: none; transform: none; }
.rv-af .btn-primary { --bs-btn-bg: var(--btn-primary); --bs-btn-border-color: var(--btn-primary); --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: color-mix(in srgb, var(--btn-primary) 86%, #000000); --bs-btn-hover-border-color: color-mix(in srgb, var(--btn-primary) 86%, #000000); --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: color-mix(in srgb, var(--btn-primary) 78%, #000000); --bs-btn-active-border-color: color-mix(in srgb, var(--btn-primary) 78%, #000000); --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-bg: var(--btn-primary); --bs-btn-disabled-border-color: var(--btn-primary); --bs-btn-disabled-color: #ffffff;
    min-height: 50px; border-radius: 0 12px 0 12px; font-size: 15px; font-weight: 700; }
.rv-af .btn-soft:not(.input-group > .btn-soft) { --bs-btn-bg: var(--rva-surface); --bs-btn-border-color: var(--rva-line-2); --bs-btn-color: var(--rva-head);
    --bs-btn-hover-bg: var(--rva-surface); --bs-btn-hover-border-color: var(--primary-color); --bs-btn-hover-color: var(--rva-link);
    --bs-btn-active-bg: var(--rva-tint); --bs-btn-active-border-color: var(--primary-color); --bs-btn-active-color: var(--rva-link);
    min-height: 46px; border-radius: 0 11px 0 11px; font-weight: 700; }
.rv-af [data-social-providers] .btn { min-height: 46px; border-radius: 0 11px 0 11px; font-weight: 600; }
.rv-af .auth-divider { color: var(--rva-muted); font-size: 12.5px; font-weight: 600; }
.rv-af .auth-divider::before, .rv-af .auth-divider::after { border-top: 1px solid var(--rva-line); }
.rv-af .auth-alert, .rv-af .alert { border-radius: 0 11px 0 11px; }

/* Hesap oluştur / giriş yap geçişi: çizgisiz, üzerine gelince ok kayar ve zemin dolar */
.rv-af-switch { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rva-line); text-align: center; }
.rv-af-switch p { margin: 0; font-size: 13.5px; color: var(--rva-muted); }
.rv-af .rv-af-switch a { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; min-height: 48px; padding: 0 18px; overflow: hidden; isolation: isolate;
    border: 1px solid var(--rva-line-2); border-radius: 0 12px 0 12px; background: var(--rva-surface); font-size: 14.5px; font-weight: 700; color: var(--rva-head); text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease; }
.rv-af .rv-af-switch a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary-color); transform: scaleX(0); transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-af .rv-af-switch a::after { content: "\2192"; display: inline-block; font-weight: 700; transform: translateX(-4px); opacity: 0.6; transition: transform 0.3s ease, opacity 0.3s ease; }
.rv-af .rv-af-switch a, .rv-af .rv-af-switch a:visited { color: var(--rva-head) !important; text-decoration: none !important; }
.rv-af .rv-af-switch a:hover, .rv-af .rv-af-switch a:focus-visible, .rv-af .rv-af-switch a:active { color: #ffffff !important; border-color: var(--primary-color); text-decoration: none !important; }
.rv-af .rv-af-switch a:active::before { transform: scaleX(1); }
.rv-af .rv-af-switch a:hover::before, .rv-af .rv-af-switch a:focus-visible::before { transform: scaleX(1); }
.rv-af .rv-af-switch a:hover::after, .rv-af .rv-af-switch a:focus-visible::after { transform: translateX(3px); opacity: 1; }

/* ---------- Kayıt formu: sade bölümler ---------- */
.rv-af [data-register-form] .row { --bs-gutter-y: 14px; }
.rv-af [data-register-form] .mb-3 { margin-bottom: 14px !important; }
.rv-af .reg-step { margin: 0; padding: 0 0 26px; }
.rv-af .reg-step::before { display: none; }
.rv-af .reg-step + .reg-step { padding-top: 22px; border-top: 1px solid var(--rva-line); }
.rv-af .reg-step:last-child { padding-bottom: 0; }
.rv-af .reg-step-head { display: flex; align-items: center; gap: 10px; min-height: 0; margin: 0 0 14px; }
.rv-af .reg-step-num { position: static; flex-shrink: 0; width: 26px; height: 26px; border: 0; border-radius: 0 7px 0 7px; background: var(--rva-tint); font-size: 12px; font-weight: 800; color: var(--rva-ic); }
.rv-af .reg-step-n::before { content: counter(reg-step); }
.rv-af .reg-step:focus-within .reg-step-num { background: var(--primary-color); color: #ffffff; }
.rv-af .reg-step.is-done .reg-step-num { background: color-mix(in srgb, var(--btn-primary) 14%, var(--rva-surface)); color: var(--rva-ok); }
.rv-af .reg-step-head h2 { margin: 0; font-size: 15px; font-weight: 700 !important; color: var(--rva-head); }
.rv-af .reg-step > .reg-step-num { display: none; }
.rv-af .contract-scroll { max-height: 120px; padding: 10px 12px; border: 1px solid var(--rva-line); border-radius: 0 10px 0 10px; background: var(--rva-soft) !important; }
.rv-af .nl-address-row { border-color: var(--rva-line); border-radius: 0 10px 0 10px; background: var(--rva-soft); }
.rv-af .option-card { border-color: var(--rva-line-2); border-radius: 0 11px 0 11px; box-shadow: none; }
.rv-af .option-card:has(.form-check-input:checked) { border-color: var(--primary-color); background: var(--rva-tint); box-shadow: inset 0 0 0 1px var(--primary-color); }
.rv-af [data-register-form] .form-control, .rv-af [data-register-form] .form-select { min-height: 50px; font-size: 15px; }
.rv-af [data-register-form] .form-label { font-size: 14px; }
.rv-af [data-register-form] .row { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }
.rv-af [data-register-form] .iti { width: 100%; }

/* Hesap türü: ayrık iki kart */
.rv-af .reg-step .btn-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.rv-af .reg-step .btn-group > .btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 !important; min-height: 52px; border: 1px solid var(--rva-line-2) !important;
    border-radius: 0 12px 0 12px !important; background: var(--rva-surface); color: var(--rva-head); font-size: 15px; font-weight: 700; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.rv-af .reg-step .btn-group > .btn i { font-size: 17px; margin: 0 !important; }
.rv-af .reg-step .btn-group > .btn:hover { border-color: var(--primary-color) !important; color: var(--rva-link); }
.rv-af .reg-step .btn-group > .btn-check:checked + .btn { border-color: var(--primary-color) !important; background: var(--rva-tint); color: var(--rva-link); box-shadow: inset 0 0 0 1px var(--primary-color); }
.rv-af .auth-card { max-width: 420px; }

/* ---------- Aşamalı kayıt (register-rivora.js) ---------- */
.rv-wiz { display: grid; grid-template-columns: repeat(var(--rv-wiz-count, 3), minmax(0, 1fr)); gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.rv-wiz[hidden] { display: none; }
.rv-wiz li { min-width: 0; }
.rv-wiz button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 12px; border: 0; border-bottom: 3px solid var(--rva-line); background: none; text-align: left; cursor: default;
    color: var(--rva-muted); transition: border-color 0.3s ease, color 0.3s ease; }
.rv-wiz li.is-open button { cursor: pointer; }
.rv-wiz-no { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--rva-line-2); border-radius: 0 9px 0 9px;
    background: var(--rva-surface); font-size: 13px; font-weight: 800; color: var(--rva-muted); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.rv-wiz-tx { display: flex; flex-direction: column; min-width: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: inherit; }
.rv-wiz-tx small { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--rva-muted); }
.rv-wiz-tx small b { font-weight: 800; }
.rv-wiz li.is-active button { border-bottom-color: var(--primary-color); color: var(--rva-head); }
.rv-wiz li.is-active .rv-wiz-no { border-color: var(--primary-color); background: var(--primary-color); color: #ffffff; }
.rv-wiz li.is-done button { border-bottom-color: var(--btn-primary); color: var(--rva-head); }
.rv-wiz li.is-done .rv-wiz-no { border-color: color-mix(in srgb, var(--btn-primary) 40%, var(--rva-surface)); background: color-mix(in srgb, var(--btn-primary) 12%, var(--rva-surface)); color: var(--rva-ok); font-size: 0; }
.rv-wiz li.is-done .rv-wiz-no::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.rv-wiz li.is-open:not(.is-active) button:hover .rv-wiz-tx { color: var(--rva-link); }
.rv-wiz-on .rv-wiz-off { display: none !important; }
.rv-wiz-on .reg-step { border-top: 0 !important; padding-top: 0 !important; }
.rv-wiz-on .reg-step:not(.rv-wiz-off) { animation: rvWizIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rv-wiz-on .reg-step-num { display: none !important; }
.rv-wiz-on .reg-step-head h2 { font-size: 13.5px; color: var(--rva-muted); text-transform: uppercase; letter-spacing: 0.5px; }
@keyframes rvWizIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.rv-wiz-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rva-line); }
.rv-af .rv-wiz-next { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 170px; padding: 0 22px; }
.rv-af .rv-wiz-next i { transition: transform 0.2s ease; }
.rv-af .rv-wiz-next:hover i { transform: translateX(3px); }
.rv-wiz-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--rva-muted); cursor: pointer;
    transition: color 0.2s ease; }
.rv-wiz-back:hover { color: var(--rva-link); }
.rv-wiz-back i { transition: transform 0.2s ease; }
.rv-wiz-back:hover i { transform: translateX(-3px); }
.rv-wiz-back-last { display: flex; margin: 10px auto 0; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199.98px) {
    .rv-as-inner { padding: 40px 38px 56px; }
    .rv-as-stats li { font-size: 11.5px; }
    .rv-as-stats li + li::before { margin: 0 7px; }
    .rv-as-stats li i { display: none; }
    .rv-as-title { font-size: 30px; }
}
@media (max-width: 991.98px) {
    .rv-af { padding: 16px 16px 18px; }
    .rv-af-body { padding-top: 26px; }
}
@media (max-width: 575.98px) {
    .rv-af h1, .rv-af h2.h3, .rv-af .auth-title { font-size: 25px; }
    .rv-af-brand .site-logo { max-height: 28px; }
    .rv-af-brandbox .locale-toggle { padding-left: 6px; padding-right: 6px; font-size: 12px; }
    .rv-af-home span { display: none; }
    .rv-wiz-tx { font-size: 12px; }
    .rv-wiz-tx small { font-size: 10px; }
    .rv-wiz button { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-as-inner > *, .rv-wiz-on .reg-step, .rv-as-photo img { animation: none; }
    .rv-as-streams span::after { display: none; }
    .rv-af .rv-af-switch a::before, .rv-af .rv-af-switch a::after { transition: none; }
}
.rv-af .auth-form-inner-wide .auth-title { font-size: 32px; }

/* =====================================================================
   Hesap işlemleri: şifremi unuttum, parola sıfırlama, hesap aktivasyonu, davet kabulü
   ===================================================================== */
/* Parola sıfırlama adım çubuğu (components/rv-rec-steps.tpl) */
.rv-rec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.rv-rec-i { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-rec-bar { position: relative; display: block; height: 4px; overflow: hidden; border-radius: 0 4px 0 4px; background: var(--rva-line); }
.rv-rec-bar::after { content: ""; position: absolute; inset: 0; background: var(--btn-primary); transform: scaleX(0); transform-origin: left center; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-rec-t { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--rva-muted); transition: color 0.3s ease; }
.rv-rec-t b { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid var(--rva-line-2); border-radius: 0 7px 0 7px;
    background: var(--rva-surface); font-size: 11px; font-weight: 800; color: var(--rva-muted); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.rv-rec-i.is-on .rv-rec-bar::after, .rv-rec-i.is-done .rv-rec-bar::after { transform: scaleX(1); }
.rv-rec-i.is-on .rv-rec-t, .rv-rec-i.is-done .rv-rec-t { color: var(--rva-head); }
.rv-rec-i.is-on .rv-rec-t b { border-color: var(--primary-color); background: var(--primary-color); color: #ffffff; }
.rv-rec-i.is-done .rv-rec-t b { border-color: var(--btn-primary); background: var(--btn-primary); color: transparent; font-size: 0; }
.rv-rec-i.is-done .rv-rec-t b::before { content: "\f272"; font-family: "bootstrap-icons"; font-size: 13px; font-weight: 400; color: #ffffff; }
/* E-posta gönderildi: 1. adım tamam, 2. adım etkin */
.rv-af-inner:has([data-auth-step="sent"]:not(.d-none)) .rv-rec-i:nth-child(1) .rv-rec-t b { border-color: var(--btn-primary); background: var(--btn-primary); color: transparent; font-size: 0; }
.rv-af-inner:has([data-auth-step="sent"]:not(.d-none)) .rv-rec-i:nth-child(1) .rv-rec-t b::before { content: "\f272"; font-family: "bootstrap-icons"; font-size: 13px; font-weight: 400; color: #ffffff; }
.rv-af-inner:has([data-auth-step="sent"]:not(.d-none)) .rv-rec-i:nth-child(2) .rv-rec-bar::after { transform: scaleX(1); }
.rv-af-inner:has([data-auth-step="sent"]:not(.d-none)) .rv-rec-i:nth-child(2) .rv-rec-t { color: var(--rva-head); }
.rv-af-inner:has([data-auth-step="sent"]:not(.d-none)) .rv-rec-i:nth-child(2) .rv-rec-t b { border-color: var(--primary-color); background: var(--primary-color); color: #ffffff; }
/* Parola değişti: tüm adımlar tamam, alttaki giriş bağlantısı tekrar etmesin */
.rv-af-inner:has([data-auth-step="done"]:not(.d-none)) .rv-rec-i:nth-child(3) .rv-rec-t b { border-color: var(--btn-primary); background: var(--btn-primary); color: transparent; font-size: 0; }
.rv-af-inner:has([data-auth-step="done"]:not(.d-none)) .rv-rec-i:nth-child(3) .rv-rec-t b::before { content: "\f272"; font-family: "bootstrap-icons"; font-size: 13px; font-weight: 400; color: #ffffff; }
.rv-af-inner:has([data-auth-step="done"]:not(.d-none)) .rv-af-switch { display: none; }

/* Bilgi notu ve yeniden gönderim onayı */
.rv-rec-note { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--rva-line); border-left: 3px solid var(--btn-primary); background: var(--rva-soft); }
.rv-rec-note > i { flex-shrink: 0; margin-top: 1px; font-size: 16px; color: var(--rva-ok); }
.rv-rec-note p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--rva-body); }
.rv-rec-note p span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--rva-muted); }
.rv-rec-ok { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--rva-ok); }
.rv-rec-ok.d-none { display: none !important; }
.rv-af [data-auth-step="sent"] strong[data-role="reset-email"] { color: var(--rva-head); overflow-wrap: anywhere; }

/* Sonuç ekranları (aktivasyon, geçersiz / tamamlanan sıfırlama) */
.rv-rec-state .auth-icon { width: 64px; height: 64px; margin-bottom: 18px; font-size: 26px; animation: rvRecPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rv-rec-state .btn-primary, .rv-rec-page [data-auth-step="done"] .btn-primary { display: inline-flex; align-items: center; justify-content: center; }
@keyframes rvRecPop { from { opacity: 0; transform: scale(0.75); } to { opacity: 1; transform: none; } }

/* Davet kabulü: erişim kutusu ve salt okunur e-posta */
.rv-af .invite-access { padding: 14px 16px; border: 1px solid var(--rva-line); border-radius: 0 12px 0 12px; background: var(--rva-soft); }
.rv-af .invite-access > p { margin-bottom: 10px !important; font-size: 11px !important; letter-spacing: 0.6px; color: var(--rva-muted) !important; }
.rv-af .invite-access .badge { padding: 6px 10px; border-radius: 0 7px 0 7px; font-size: 12px; font-weight: 700; }
.rv-af .invite-access .bg-primary-subtle { color: var(--rva-link) !important; background: var(--rva-tint) !important; border: 1px solid var(--rva-tint-line); }
.rv-af .invite-access .bg-secondary-subtle { color: var(--rva-body) !important; background: var(--rva-surface) !important; border: 1px solid var(--rva-line-2); }
.rv-af .form-control[readonly] { background: var(--rva-soft); color: var(--rva-muted); }
.rv-af [data-invite-page] .text-center.fs-8 a, .rv-af [data-invite-page] p.fs-8 a { font-weight: 600; color: var(--rva-link); }

@media (max-width: 575.98px) {
    .rv-rec { margin-bottom: 24px; }
    .rv-rec-t { align-items: flex-start; gap: 6px; font-size: 11.5px; line-height: 1.3; white-space: normal; }
    .rv-rec-t b { width: 20px; height: 20px; margin-top: -2px; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-rec-bar::after, .rv-rec-t, .rv-rec-t b { transition: none; }
    .rv-rec-state .auth-icon { animation: none; }
}
