/* CSP: app/views/auth/_styles.php içindeki eski <style> bloğu (birebir taşındı) */
.auth-hero-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--gradient-soft); color: var(--primary); }
.auth-hero-icon.is-success { background: var(--success-soft); color: var(--success); }
.auth-hero-icon.is-warn { background: var(--warn-soft); color: var(--warn); }
.auth-hero-icon.is-danger { background: var(--danger-soft); color: var(--danger); }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row a { font-size: 0.83rem; }
.auth-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.auth-foot form { display: inline; }
.auth-foot p { margin: 0 0 6px; }

/* şifre alanı: göster/gizle düğmesi */
.auth-pw { position: relative; }
.auth-pw .input { padding-right: 44px; }
.auth-pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.auth-pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.auth-pw-toggle[aria-pressed='true'] { color: var(--primary); }
.auth-pw-toggle .pw-eye, .auth-pw-toggle .pw-eye-off { display: inline-flex; }
.auth-pw-toggle .pw-eye-off, .auth-pw-toggle[aria-pressed='true'] .pw-eye { display: none; }
.auth-pw-toggle[aria-pressed='true'] .pw-eye-off { display: inline-flex; }
.auth-card .mono { font-family: var(--font-mono); font-size: 0.9em; letter-spacing: 0.02em; }

/* "Belgeyi nasıl alırım?" açılır rehberi */
.auth-guide { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); margin-bottom: 18px; }
.auth-guide > summary { display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: pointer; font-weight: 600; color: var(--text); list-style: none; border-radius: var(--radius); }
.auth-guide > summary::-webkit-details-marker { display: none; }
.auth-guide > summary .icon:first-child { color: var(--primary); }
.auth-guide > summary .auth-guide-caret { margin-left: auto; color: var(--muted); transition: transform 0.18s; }
.auth-guide[open] > summary .auth-guide-caret { transform: rotate(180deg); }
.auth-guide-body { padding: 2px 16px 16px; font-size: 0.92rem; color: var(--text-2); }
.auth-guide-body ol { margin: 0; padding: 0; list-style: none; counter-reset: guide; display: grid; gap: 10px; }
.auth-guide-body li { counter-increment: guide; position: relative; padding-left: 34px; }
.auth-guide-body li::before { content: counter(guide); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 0.74rem; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
.auth-guide-body .alert { margin: 14px 0 0; }

/* belge bırakma alanı ve gizlilik notu */
.auth-drop .icon { color: var(--primary); }
.auth-drop.is-filled { border-style: solid; border-color: var(--success); background: var(--success-soft); }
.auth-drop.is-filled .icon { color: var(--success); }
.auth-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.auth-note .icon { margin-top: 2px; color: var(--success); }

/* belgeden okunan kimlik bilgileri */
.auth-identity { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 16px 18px; margin-bottom: 16px; }
.auth-identity-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.auth-identity-head > .grow { flex: 1 1 200px; min-width: 0; }
.auth-identity-head.is-solo { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.auth-identity-head .name { font-family: var(--font-display); font-weight: var(--head-w); font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; font-stretch: var(--head-stretch, 100%); }
.auth-identity-foot { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--border-strong); }
.auth-identity .mono { font-family: var(--font-mono); font-size: 0.9em; letter-spacing: 0.02em; }

/* başvuru durumu zaman çizelgesi */
.auth-timeline { list-style: none; margin: 0 0 22px; padding: 0; }
.auth-timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.auth-timeline li:last-child { padding-bottom: 0; }
.auth-timeline li::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--border-strong); }
.auth-timeline li:last-child::before { display: none; }
.auth-timeline li.is-done::before { background: var(--success); opacity: 0.55; }
.auth-timeline .tl-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--muted); position: relative; z-index: 1; }
.auth-timeline li.is-done .tl-dot { background: var(--success-soft); border-color: transparent; color: var(--success); }
.auth-timeline li.is-current .tl-dot { background: var(--warn-soft); border-color: transparent; color: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 14%, transparent); }
.auth-timeline .tl-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--text); padding-top: 4px; }
.auth-timeline li.is-waiting .tl-title { color: var(--text-2); }
.auth-timeline .tl-detail { margin: 3px 0 0; font-size: 0.88rem; color: var(--muted); overflow-wrap: anywhere; }

.auth-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.auth-actions form { display: inline-flex; }

@media (max-width: 480px) {
    .auth-wrap { padding: 28px 12px 56px; }
    .auth-card .card-body { padding: 24px 18px 22px; }
    .auth-steps .step:not(.active) .step-label { display: none; }
    .auth-actions .btn, .auth-actions form { flex: 1 1 100%; }
    .auth-actions form .btn { width: 100%; }
}
