/* Sınav Sayacı - Okul Deneme Sınavları */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #ea580c;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --white: #fff;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1);
    --font: 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    color: rgba(232, 232, 232, 0.92);
    background: #12100e;
    background-image:
        radial-gradient(ellipse 100% 55% at 50% -8%, rgba(92, 64, 51, 0.16) 0%, transparent 52%),
        radial-gradient(ellipse 80% 40% at 80% 100%, rgba(20, 60, 40, 0.08) 0%, transparent 45%),
        linear-gradient(175deg, #161311 0%, #0c1510 38%, #070a08 100%);
    display: flex;
    flex-direction: column;
}

/* Tüm site metinleri: Calibri 12px (robot balonu dahil) */
html, body, body * {
    font-family: Calibri, "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
}
#sinav-maskot-mesaj,
.sinav-maskot-balon {
    font-family: Calibri, "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.main-full { max-width: 100%; margin: 0; padding: 0 1rem; }

/* Tahta üstü metin (beyaz kart dışı) */
/* Doğrudan tahta üzerindeki başlıklar (beyaz kart dışı) */
main.container > h1 { color: #f4f4f5; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
main.container > .lead,
main.container > p.lead { color: rgba(232, 232, 232, 0.76); }
main.container .exam-list > .empty,
main.container > p.empty {
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(232, 232, 232, 0.88);
}
main.container .exam-list > .empty a,
main.container > p.empty a { color: #93c5fd; }
main.container > code,
main.container p > code {
    background: rgba(0, 0, 0, 0.4);
    color: #e5e7eb;
}
main.container,
main.main-full {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Header: anasayfa ve iletişim sayfasında göster */
body:not(.page-home):not(.page-iletisim) .site-header {
    display: none !important;
}
.site-header {
    flex-shrink: 0;
    background: linear-gradient(180deg, #2a221c 0%, #1a1512 100%);
    color: #f5f5f5;
    padding: 0.5rem 0;
    border-bottom: 4px solid #5c4033;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.header-inner {
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
}
.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}
.site-header a { color: var(--white); text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.header-right .header-hesap { font-weight: 600; }
.header-right .header-cikis { opacity: 0.9; }

/* Ana sayfa: ortada program adı — yanıp sönen / nabız efekti */
@keyframes header-home-baslik-parla {
    0%, 100% {
        opacity: 1;
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.45),
            0 0 12px rgba(147, 197, 253, 0);
    }
    50% {
        opacity: 0.45;
        text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.55),
            0 0 18px rgba(147, 197, 253, 0.55);
    }
}
.header-home-baslik {
    margin: 0;
    padding: 0 0.35rem;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.25;
    color: #f8fafc;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    animation: header-home-baslik-parla 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .header-home-baslik {
        animation: none;
        opacity: 1;
    }
}
@media (max-width: 640px) {
    .header-home-baslik {
        white-space: normal;
        max-width: min(52vw, 200px);
    }
}
body.page-home .header-center {
    min-width: 0;
}

/* ========== Hesap sayfası (zemin genel tahta; düzen) ========== */
body.page-hesap {
    min-height: 100vh;
}
body.page-hesap .main-full {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 1.25rem 1rem 1.75rem;
    box-sizing: border-box;
}

.hesap-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    align-items: stretch;
}

.hesap-sidebar {
    flex: 0 0 100%;
    position: relative;
    background: #0a0a0a;
    border: 10px solid #5c4033;
    border-radius: 6px;
    box-shadow:
        inset 0 0 0 2px rgba(92, 64, 51, 0.45),
        0 0 0 2px #6b5344,
        0 12px 36px rgba(0, 0, 0, 0.45),
        inset 0 0 80px rgba(0, 0, 0, 0.2);
    padding: 1.1rem 1rem 1.25rem;
    box-sizing: border-box;
}
@media (min-width: 880px) {
    .hesap-sidebar {
        flex: 0 0 232px;
        align-self: flex-start;
        position: sticky;
        top: 1rem;
    }
}
.hesap-sidebar-mark {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(232, 232, 232, 0.4);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.hesap-sidebar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}
@media (min-width: 880px) {
    .hesap-sidebar-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.35rem;
        justify-content: flex-start;
    }
}
.hesap-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(232, 232, 232, 0.88);
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
@media (min-width: 880px) {
    .hesap-sidebar-link {
        width: 100%;
        box-sizing: border-box;
    }
}
.hesap-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.hesap-sidebar-link:active { transform: scale(0.98); }
.hesap-sidebar-ikon {
    font-size: 0.75rem;
    opacity: 0.65;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}
.hesap-sidebar-aktif {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(96, 165, 250, 0.45);
    color: #e0f2fe;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
}
.hesap-sidebar-aktif .hesap-sidebar-ikon { opacity: 1; color: #93c5fd; }
.hesap-sidebar-cikis {
    margin-top: 0.35rem;
    border-color: rgba(248, 113, 113, 0.22);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.22);
}
@media (min-width: 880px) {
    .hesap-sidebar-cikis {
        margin-top: 0.5rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.hesap-sidebar-cikis:hover {
    background: rgba(153, 27, 27, 0.35);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fff;
}

.hesap-sahne {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}
@media (min-width: 880px) {
    .hesap-sahne {
        margin: 0;
        max-width: none;
    }
}

/* Kayıtlı Sayaçlar — sol menü ile aynı düzen */
.hesap-layout-kayitli {
    max-width: 1440px;
}
body.page-hesap.kayitli-takip-sayfa .hesap-sahne-kayitli {
    padding-top: 0;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-sayaci {
    padding-top: 0;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-sayaci h1 {
    margin-top: 0;
    font-family: 'Caveat', 'Chalkboard', 'Comic Sans MS', cursive;
    font-weight: 700;
    font-size: clamp(1.9rem, 4.2vw, 2.65rem);
    color: #f5f5f5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-sayaci .lead {
    color: rgba(232, 232, 232, 0.72);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-sayaci .empty {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(232, 232, 232, 0.78);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-sayaci .empty a {
    color: #93c5fd;
}

/* Kayıtlı sayfa — beyaz kutuları kara tahta */
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-onizleme-kol {
    background: linear-gradient(165deg, #0f1912 0%, #0a1210 48%, #070d0a 100%);
    border: 2px solid rgba(92, 64, 51, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 100px rgba(0, 0, 0, 0.35),
        0 10px 36px rgba(0, 0, 0, 0.45);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-sinav-sec label {
    color: rgba(232, 232, 232, 0.88);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-select {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f4f4f5;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-select option {
    background: #0f1912;
    color: #e8e8e8;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-bos {
    color: rgba(232, 232, 232, 0.42);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-iframe-wrap {
    border-color: rgba(92, 64, 51, 0.45);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-item {
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.15),
        0 6px 24px rgba(0, 0, 0, 0.3);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-baslik,
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-baslik strong {
    color: #f2f2f2;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-meta {
    color: rgba(232, 232, 232, 0.52);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-pin {
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(147, 197, 253, 0.32);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-bilgi {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(232, 232, 232, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-bilgi strong {
    color: #fff;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-uyari {
    background: rgba(120, 53, 15, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.22);
    color: #fde68a;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-pin-uyari a {
    color: #93c5fd;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-geri-sayim-ok {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.28);
    color: #bbf7d0;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-geri-sayim-hata {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.28);
    color: #fecaca;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-geri-sayim-disabled {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(232, 232, 232, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: #e8e8e8;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-sinav-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-arac .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #e8e8e8;
}
body.page-hesap.kayitli-takip-sayfa .kayitli-onizleme-arac .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hesap-tahta {
    position: relative;
    background: #0a0a0a;
    border: 14px solid #5c4033;
    border-radius: 6px;
    box-shadow:
        inset 0 0 0 2px rgba(92, 64, 51, 0.45),
        0 0 0 2px #6b5344,
        0 16px 48px rgba(0, 0, 0, 0.55),
        inset 0 0 120px rgba(0, 0, 0, 0.22);
}
.hesap-tahta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}
.hesap-tahta-ic {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.5rem 2rem;
}
@media (min-width: 640px) {
    .hesap-tahta-ic { padding: 2rem 2.25rem 2.25rem; }
}

.hesap-ust { text-align: center; margin-bottom: 1.5rem; }
.hesap-etiket {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232, 232, 232, 0.45);
    margin: 0 0 0.5rem;
}
.hesap-baslik {
    margin: 0 0 0.65rem;
    font-family: 'Caveat', 'Chalkboard', 'Comic Sans MS', cursive;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 700;
    color: #f5f5f5;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}
.hesap-lead {
    margin: 0 auto;
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(232, 232, 232, 0.72);
}

.hesap-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}
.hesap-alert-ok {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}
.hesap-alert-hata {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.hesap-paneller {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .hesap-paneller {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: start;
    }
}

.hesap-panel {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.35rem 1.25rem 1.5rem;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hesap-panel:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.hesap-panel-baslik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hesap-panel-ikon { font-size: 1.15rem; opacity: 0.85; }
.hesap-panel-baslik h2 {
    margin: 0;
    font-family: 'Caveat', 'Chalkboard', cursive;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fafafa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Paket Satın Al (/hesap/paket-satin-al) */
.paket-satin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-bottom: 1.35rem;
}
.paket-satin-grid-tek {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.paket-satin-kart {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
}
.hesap-panel-baslik-paket-fiyat h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
}
.paket-satin-fiyat {
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #93c5fd;
    white-space: nowrap;
}
.paket-satin-aciklama {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(232, 232, 232, 0.78);
}
.paket-satin-ozellik {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(232, 232, 232, 0.82);
}
.paket-satin-ozellik li {
    margin-bottom: 0.35rem;
}
.paket-satin-ozellik li:last-child {
    margin-bottom: 0;
}
.paket-satin-al-alt {
    max-width: 520px;
    margin: 0.25rem auto 0;
    padding-top: 0.35rem;
}
.paket-satin-al-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.odeme-sayfa-panel .odeme-sayfa-geri {
    margin: 1rem 0 0;
}

.hesap-alan { margin-bottom: 1rem; }
.hesap-alan:last-of-type { margin-bottom: 0.25rem; }
.hesap-robot-yer-zaman {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .hesap-robot-yer-zaman {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}
.hesap-robot-zaman-not {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}
.hesap-robot-ses-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.85rem 1rem 1rem;
    margin: 0 0 1.15rem;
    background: rgba(0, 0, 0, 0.18);
}
.hesap-robot-ses-legend {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(232, 232, 232, 0.65);
    padding: 0 0.35rem;
}
.hesap-robot-ses-alan {
    margin-top: 0.5rem;
}
.hesap-robot-ses-select {
    width: 100%;
    max-width: 28rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(244, 244, 245, 0.95);
}
.hesap-robot-ses-select:focus {
    outline: 2px solid rgba(37, 99, 235, 0.55);
    outline-offset: 2px;
}
.hesap-radio-satir {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: rgba(244, 244, 245, 0.92);
    cursor: pointer;
    line-height: 1.35;
}
.hesap-radio-satir input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.hesap-alan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 560px) {
    .hesap-alan-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.hesap-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(232, 232, 232, 0.55);
    margin-bottom: 0.4rem;
}
.hesap-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    color: #f4f4f5;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hesap-form input::placeholder { color: rgba(255, 255, 255, 0.28); }
.hesap-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    color: #f4f4f5;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    min-height: 120px;
}
.hesap-form textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.hesap-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    color: #f4f4f5;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    cursor: pointer;
}
.hesap-form input:focus,
.hesap-form textarea:focus,
.hesap-form select:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.hesap-form select option {
    background: #1e293b;
    color: #f4f4f5;
}
.robot-ribbon-tabs {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0;
    padding: 0.2rem 0.3rem 0;
    background: linear-gradient(180deg, #f6f8fc 0%, #e9eef8 100%);
    border: 1px solid #c9d3e6;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.robot-ribbon-tab {
    border: 1px solid transparent;
    background: transparent;
    color: #1f3b72;
    border-radius: 6px 6px 0 0;
    padding: 0.3rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}
.robot-ribbon-tab.is-active {
    background: #ffffff;
    border-color: #c9d3e6;
    border-bottom-color: #ffffff;
    color: #0f2d5c;
}
.robot-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.45rem 0.45rem 1.2rem;
    border: 1px solid #c9d3e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}
.rich-text-editor {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(15, 23, 42, 0.84) 100%);
    margin-bottom: 0.95rem;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(2, 6, 23, 0.35);
}
.rich-text-editor-head {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(219, 234, 254, 0.9);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(17, 24, 39, 0.94) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.rich-text-editor .robot-editor-toolbar {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    padding: 0.55rem 0.55rem 1.2rem;
}
.rich-text-editor .hesap-alan {
    margin: 0;
    padding: 0.45rem 0.65rem 0.7rem;
}
.robot-editor-group {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding-right: 0.5rem;
    margin-right: 0.2rem;
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    min-height: 24px;
}
.robot-editor-group[data-caption]::after {
    content: attr(data-caption);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    text-align: center;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    color: rgba(148, 163, 184, 0.86);
    text-transform: uppercase;
}
.robot-editor-group:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
.robot-editor-color {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.9);
    padding: 0;
}
.robot-editor-size {
    min-width: 60px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    padding: 0 0.25rem;
    font-size: 0.68rem;
}
.robot-editor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    margin: 0;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.92) 0%, rgba(30, 41, 59, 0.92) 100%);
    color: #e2e8f0;
    cursor: pointer;
    user-select: none;
}
.robot-editor-mini {
    margin-top: 0;
    width: auto;
    min-width: 24px;
    height: 22px;
    padding: 0 0.22rem;
    border-radius: 2px;
    font-size: 0.67rem;
    line-height: 1;
    vertical-align: middle;
}
.robot-editor-toolbar .robot-editor-btn.robot-editor-mini {
    box-shadow: none;
    font-weight: 600;
}
.robot-editor-toolbar .robot-editor-btn.robot-editor-mini:hover {
    background: linear-gradient(180deg, rgba(71, 85, 105, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    border-color: rgba(125, 211, 252, 0.8);
}
.robot-editor-toolbar .robot-editor-btn.robot-editor-mini.is-active {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #60a5fa;
    color: #eaf2ff;
}
.robot-editor-toolbar .robot-editor-btn.robot-editor-mini:focus-visible,
.robot-editor-size:focus-visible,
.robot-editor-color:focus-visible {
    outline: 2px solid rgba(83, 136, 214, 0.45);
    outline-offset: 1px;
}
.robot-yazisi-editor {
    min-height: 140px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.72);
    color: #e5e7eb;
    padding: 0.7rem 0.8rem;
    line-height: 1.45;
    margin-top: 0;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}
.robot-yazisi-editor:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.68);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.18);
}
.robot-sure-kisayol.is-active {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    color: #eaf2ff;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}
.robot-kayitli-ozet {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.65rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.86rem;
}
.robot-kayitli-ozet p {
    margin: 0;
}
.robot-kayitli-onizleme {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.55);
    color: #e5e7eb;
    padding: 0.7rem 0.8rem;
    min-height: 72px;
    line-height: 1.45;
}
.robot-kayitli-bos {
    color: rgba(148, 163, 184, 0.95);
    font-style: italic;
}
.hesap-alan-aciklama {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: rgba(232, 232, 232, 0.58);
}

.hesap-robot-dort-alan {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hesap-robot-yer-etiket {
    margin: 0.2rem 0 0.35rem;
    font-size: 0.78rem;
    color: rgba(186, 230, 253, 0.88);
}
.hesap-alan-alt {
    font-weight: 400;
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.82em;
}
.hesap-robot-ozet-genis {
    font-size: 0.8rem;
}
.hesap-robot-sayac-sec {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.hesap-select-genis {
    width: 100%;
    max-width: 36rem;
    margin-top: 0.35rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(2, 6, 23, 0.72);
    color: #e5e7eb;
    font-size: 0.95rem;
}
.hesap-alt-baslik {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.75rem 0 0.75rem;
    color: #f1f5f9;
}
.hesap-robot-ozet {
    margin-top: 2rem;
}
.hesap-tablo-sarmal {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
}
.hesap-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.hesap-tablo th,
.hesap-tablo td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    vertical-align: top;
}
.hesap-tablo th {
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.65);
}
.hesap-tablo tbody tr:last-child td {
    border-bottom: none;
}
.hesap-tablo td {
    color: #e2e8f0;
}
.hesap-robot-ozet-metin {
    max-width: 22rem;
    word-break: break-word;
}

.hesap-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.2s;
}
.hesap-btn:active { transform: scale(0.98); }
.hesap-btn-birincil {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
.hesap-btn-birincil:hover {
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
}
.hesap-btn-ikincil {
    background: transparent;
    color: #e8e8e8;
    border: 2px solid rgba(255, 255, 255, 0.25);
}
.hesap-btn-ikincil:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}

.hesap-ic-navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
}
.hesap-ic-tab {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(232, 232, 232, 0.88);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.86rem;
    cursor: pointer;
}
.hesap-ic-tab.aktif {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.45);
    color: #fff;
}
.hesap-sekme-paneller {
    display: block;
}
.hesap-sekme-panel {
    display: none;
}
.hesap-sekme-panel.aktif {
    display: block;
}
.hesap-checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
    color: rgba(232, 232, 232, 0.9);
    font-size: 0.95rem;
}
.hesap-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

/* Ödeme sayfası (/hesap/odeme) — kart formu */
.odeme-sayfa-panel {
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 1rem 1.1rem;
}
.odeme-sayfa-panel .hesap-panel-baslik {
    margin-bottom: 0.8rem;
    padding-bottom: 0.55rem;
}
.odeme-sayfa-panel .hesap-panel-baslik h2 {
    font-size: 1.45rem;
}
.odeme-sayfa-panel .hesap-alan {
    margin-bottom: 0.7rem;
}
.odeme-sayfa-panel .hesap-form label {
    font-size: 0.73rem;
    margin-bottom: 0.3rem;
}
.odeme-sayfa-panel .hesap-form input {
    padding: 0.52rem 0.72rem;
    font-size: 0.92rem;
    border-radius: 7px;
}
.odeme-sayfa-panel .hesap-alan-grid {
    gap: 0.55rem;
}
.odeme-sayfa-panel .hesap-btn {
    margin-top: 0.75rem;
    padding: 0.52rem 1rem;
    font-size: 0.88rem;
}

.hesap-sekme-panel[data-panel="sifre"] {
    max-width: 520px;
    margin: 0 auto;
    padding: 1rem 1rem 1.1rem;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-panel-baslik {
    margin-bottom: 0.8rem;
    padding-bottom: 0.55rem;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-panel-baslik h2 {
    font-size: 1.42rem;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-alan {
    margin-bottom: 0.7rem;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-form label {
    font-size: 0.73rem;
    margin-bottom: 0.3rem;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-form input {
    padding: 0.52rem 0.72rem;
    font-size: 0.91rem;
    border-radius: 7px;
}
.hesap-sekme-panel[data-panel="sifre"] .hesap-btn {
    margin-top: 0.75rem;
    padding: 0.52rem 1rem;
    font-size: 0.88rem;
}

.hesap-sekme-panel[data-panel="profil"] {
    max-width: 520px;
    margin: 0 auto;
    padding: 1rem 1rem 1.1rem;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-panel-baslik {
    margin-bottom: 0.8rem;
    padding-bottom: 0.55rem;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-panel-baslik h2 {
    font-size: 1.42rem;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-alan {
    margin-bottom: 0.7rem;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-form label {
    font-size: 0.73rem;
    margin-bottom: 0.3rem;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-form input {
    padding: 0.52rem 0.72rem;
    font-size: 0.91rem;
    border-radius: 7px;
}
.hesap-sekme-panel[data-panel="profil"] .hesap-btn {
    margin-top: 0.75rem;
    padding: 0.52rem 1rem;
    font-size: 0.88rem;
}

.hesap-uyelik {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(232, 232, 232, 0.34);
    margin: 1rem 0 0.8rem;
}

.hesap-hizli {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding-top: 0.25rem;
}
.hesap-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s, transform 0.15s;
}
.hesap-chip:active { transform: scale(0.97); }
.hesap-chip-dolu {
    background: rgba(255, 255, 255, 0.1);
    color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.hesap-chip-dolu:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.hesap-chip-cikis {
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.25);
}
.hesap-chip-cikis:hover {
    background: rgba(153, 27, 27, 0.45);
    color: #fff;
}
.header-okul-adi { font-weight: 600; font-size: 1rem; }
.header-pin-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.header-pin-form input[name="pin_kodu"] {
    width: 90px;
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 4px;
    font-size: 0.9rem;
    background: rgba(255,255,255,.1);
    color: var(--white);
}
.header-pin-form input::placeholder { color: rgba(255,255,255,.6); }
.btn-header {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-header:hover { filter: brightness(1.15); }
.logo { font-weight: 700; font-size: 1.25rem; }

/* Sınav sayfası navbar */
.sinav-navbar {
    background: linear-gradient(180deg, #1e1814 0%, #14110e 100%);
    border-bottom: 2px solid #5c4033;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.sinav-navbar-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 0;
    align-items: center;
}
.sinav-navbar-link {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    color: rgba(232, 232, 232, 0.78);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.sinav-navbar-link:hover { color: #93c5fd; }
.sinav-navbar-link.active {
    color: #93c5fd;
    border-bottom-color: #60a5fa;
}

/* Kayıtlı Sınav Sayacı — liste + sağda öğrenci önizlemesi */
.kayitli-takip-sayfa .main-full {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-bottom: 1.5rem;
}
.kayitli-sinav-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 40vw);
    gap: 1.25rem;
    align-items: start;
}
.kayitli-sinav-sadece-liste {
    grid-template-columns: 1fr;
}
.kayitli-sinav-liste-kol { min-width: 0; }
.kayitli-pin-onizleme-kol {
    position: sticky;
    top: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}
.kayitli-onizleme-title {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
}
.kayitli-onizleme-aciklama {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0 0 0.65rem 0;
    line-height: 1.45;
}
.kayitli-onizleme-arac { margin-bottom: 0.5rem; }
.kayitli-onizleme-sinav-sec {
    margin-bottom: 0.65rem;
}
.kayitli-onizleme-sinav-sec label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}
.kayitli-onizleme-select {
    width: 100%;
    max-width: 100%;
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
}
.kayitli-onizleme-bos {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    padding: 1rem;
}

/* Sayaç sayfası iframe önizleme (kayıtlı sayfa sağ panel) */
body.sayac-iframe-embed {
    margin: 0;
    padding: 4px;
    min-height: 100%;
    box-sizing: border-box;
    background: #0a0a0a;
    height: 100vh;
    overflow: hidden;
    zoom: 0.74;
}
body.sayac-iframe-embed .sayac-sayfa-wrap {
    padding: 0.4rem 0.5rem 0.75rem;
    max-width: none;
}
body.sayac-iframe-embed .sayac-ust-satir {
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
body.sayac-iframe-embed .sayac-ust-orta .sayac-geri-sayim {
    font-size: clamp(1.25rem, 4vw, 1.85rem);
}
body.sayac-iframe-embed .sayac-duzeltme .deneme-soru-karti {
    margin-bottom: 0.65rem;
}
/* 2. ekran embed: soru görsellerini de ölçekli küçült */
body.sayac-iframe-embed .deneme-soru-resim-alan {
    min-height: 96px;
}
body.sayac-iframe-embed .deneme-soru-resim {
    transform: scale(0.82);
    transform-origin: center center;
}
body.sayac-iframe-embed .deneme-soru-kitapcik {
    font-size: 0.9rem;
}
@media (max-width: 1200px) {
    body.sayac-iframe-embed {
        zoom: 0.68;
    }
    body.sayac-iframe-embed .deneme-soru-resim {
        transform: scale(0.76);
    }
}
.kayitli-pin-iframe-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray-300);
    background: #0f0f0f;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.kayitli-pin-iframe {
    width: 100%;
    height: min(56vh, 520px);
    min-height: 280px;
    display: block;
    border: none;
    vertical-align: top;
}

/* /sinav/kayitli: iki önizleme ekranı oklarla geçişli */
.kayitli-cift-onizleme-kontroller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.kayitli-onizleme-ok {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.kayitli-onizleme-ok:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.kayitli-onizleme-durum {
    font-size: 0.82rem;
    color: var(--gray-600);
    min-width: 3rem;
    text-align: center;
}
.kayitli-cift-onizleme-viewport {
    overflow: hidden;
    width: 100%;
}
.kayitli-cift-onizleme-track {
    display: flex;
    width: 100%;
    transition: transform 0.28s ease;
}
.kayitli-onizleme-kart {
    flex: 0 0 100%;
    min-width: 0;
}
.kayitli-onizleme-kart h3 {
    margin: 0 0 0.55rem 0;
    font-size: 0.88rem;
    color: var(--gray-700);
}

@media (max-width: 1100px) {
    .kayitli-sinav-layout {
        grid-template-columns: 1fr;
    }
    .kayitli-pin-onizleme-kol {
        position: relative;
        top: 0;
    }
    .kayitli-pin-iframe {
        height: 42vh;
        min-height: 240px;
    }
}

/* Deneme sayacı iframe önizleme (embed=1) */
body.deneme-sayaci.deneme-sayaci-embed {
    display: block;
    min-height: 100%;
    margin: 0;
    padding: 6px;
    background: #12100e;
    overflow: hidden;
    zoom: 0.72;
}
body.deneme-sayaci.deneme-sayaci-embed .deneme-sayaci {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: auto !important;
    border-width: 10px;
    padding: 0.65rem 0.85rem 0.85rem;
    box-sizing: border-box;
}
@media (max-width: 1200px) {
    body.deneme-sayaci.deneme-sayaci-embed {
        zoom: 0.66;
    }
}
body.deneme-sayaci.deneme-sayaci-embed .deneme-sayac-baslat-btn {
    display: none;
}

/* Kayıtlı Sınav Sayacı sayfası */
.kayitli-sinav-sayaci { padding: 1.5rem 0 0; }
.kayitli-sinav-sayaci h1 { margin-top: 0; }
.kayitli-sinav-sayaci .lead { color: var(--gray-600); margin-bottom: 1.5rem; }
.kayitli-sinav-sayaci .empty {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-600);
}
.kayitli-sinav-listesi {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}
.kayitli-sinav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
}
.kayitli-sinav-baslik {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}
.kayitli-sinav-meta {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: normal;
}
.kayitli-sinav-pin {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1e3a8a;
    background: rgba(191, 219, 254, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
}
.kayitli-sinav-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.kayitli-geri-sayim-form { display: inline; margin: 0; }
.kayitli-geri-sayim-msg { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.kayitli-geri-sayim-ok { background: #dcfce7; color: #166534; }
.kayitli-geri-sayim-hata { background: #fef2f2; color: #991b1b; }
.kayitli-pin-bilgi { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 1rem; padding: 0.75rem 1rem; background: var(--gray-100); border-radius: var(--radius); }
.kayitli-pin-uyari { background: #fff7ed; border: 1px solid #fed7aa; }
.kayitli-geri-sayim-disabled {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
    opacity: 0.65;
    cursor: not-allowed;
    background: var(--gray-200);
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}
.kayitli-sinav-footer { margin-top: 1.5rem; text-align: right; }

.kayitli-silinen-sayaclar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.kayitli-silinen-baslik {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: rgba(232, 232, 232, 0.75);
}
.kayitli-silinen-aciklama {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: rgba(200, 210, 205, 0.7);
}
.kayitli-silinen-item .kayitli-sinav-baslik strong {
    opacity: 0.85;
}
.kayitli-silinen-item .btn-secondary {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
    color: #93c5fd;
}

/* Giriş / Kayıt paneli (modal) */
.giris-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    padding: 1rem;
}
.giris-panel-overlay.open {
    opacity: 1;
    visibility: visible;
}
.giris-panel {
    background:
        radial-gradient(ellipse at top left, rgba(120, 90, 70, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(40, 90, 60, 0.12) 0%, transparent 52%),
        linear-gradient(175deg, #1a1714 0%, #131915 45%, #0d1110 100%);
    border-radius: 12px;
    border: 3px solid #5c4033;
    box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: auto;
    color: rgba(232, 232, 232, 0.92);
}
.giris-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.giris-panel-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #f4f4f5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.giris-panel-kapat {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(232, 232, 232, 0.86);
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
}
.giris-panel-kapat:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.giris-panel-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.giris-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(232, 232, 232, 0.74);
    cursor: pointer;
    transition: color .2s, background .2s;
}
.giris-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.giris-tab.active {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.14);
    border-bottom: 2px solid rgba(96, 165, 250, 0.8);
    margin-bottom: -1px;
}
.giris-panel-content { padding: 1.25rem; }
.giris-form-wrap { display: none; }
.giris-form-wrap.active { display: block; }
.giris-form label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.9rem; color: rgba(232, 232, 232, 0.82); }
.giris-form input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.35);
    color: #f4f4f5;
}
.giris-form input::placeholder { color: rgba(255, 255, 255, 0.36); }
.giris-form input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.giris-sifremi-unuttum {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.86rem;
    color: #bfdbfe;
    text-decoration: none;
}
.giris-sifremi-unuttum:hover {
    color: #dbeafe;
    text-decoration: underline;
}
.btn-block { width: 100%; margin-top: 0.25rem; }
.panel-hata {
    background: rgba(127, 29, 29, 0.24);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.35);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Footer — logo zeminiyle uyumlu koyu ton (#1e1b1a taban) */
.site-footer {
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: #1e1b1a;
    border-top: 4px solid #1e1b1a;
    color: rgba(232, 232, 232, 0.55);
}
.site-footer .container { color: inherit; max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.site-footer-inner { display: flex; align-items: center; justify-content: center; }
.site-footer-brand {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    line-height: 1.2;
}
.site-footer-akademi-name {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(232, 232, 232, 0.82);
    white-space: nowrap;
}
.kerasus-footer-mark {
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
    vertical-align: middle;
}
.kerasus-footer-mark img {
    display: block;
    height: clamp(2.35rem, 5.5vw, 3.1rem);
    width: auto;
    max-width: min(280px, 72vw);
    object-fit: contain;
    object-position: left center;
}
.site-footer-copyright {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(232, 232, 232, 0.72);
    white-space: nowrap;
    align-self: center;
}

/* İletişim sayfası (/iletisim) — logo PNG zeminiyle uyumlu (#1e1b1a) */
body.page-iletisim .main-full {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.iletisim-sayfa {
    padding: 0.6rem 0 0.8rem;
    max-width: 520px;
    margin: 0 auto;
}
.iletisim-kart {
    background: linear-gradient(165deg, #252220 0%, #1e1b1a 55%, #1a1816 100%);
    border: 1px solid rgba(48, 42, 38, 0.85);
    border-radius: 12px;
    padding: 1.5rem 1.35rem 1.65rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.iletisim-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: #1e1b1a;
}
.iletisim-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}
.iletisim-baslik {
    margin: 0 0 1.1rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f4f4f5;
    text-align: center;
    letter-spacing: 0.02em;
}
.iletisim-detay {
    margin: 0;
}
.iletisim-satir {
    margin-bottom: 0.9rem;
}
.iletisim-satir:last-child {
    margin-bottom: 0;
}
.iletisim-detay dt {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(180, 170, 160, 0.9);
}
.iletisim-detay dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(232, 232, 232, 0.92);
}
.iletisim-detay a {
    color: #93c5fd;
    text-decoration: none;
}
.iletisim-detay a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}
.iletisim-adres {
    white-space: pre-line;
}
.iletisim-bos {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(232, 232, 232, 0.65);
}
.iletisim-bos code {
    font-size: 0.82rem;
    color: #e2e8f0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--gray-600); color: var(--white); }
.btn-secondary:hover { background: var(--gray-800); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { filter: brightness(1.1); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.1rem; }

/* Home - Sınav listesi */
.lead { color: var(--gray-600); margin-bottom: 0.5rem; }
.deneme-adi-form,
.deneme-adi-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.giris-pini-block { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.giris-pini-label { font-weight: 700; font-size: 1rem; margin: 0; color: var(--gray-800); }
.giris-pini-input { width: 10rem; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; }
.deneme-adi-label { font-weight: 700; font-size: 1rem; margin: 0; color: var(--gray-800); }
.deneme-adi-input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
}
.optik-kodlama-baslik { margin-bottom: 1.25rem; margin-top: 1rem; padding: 1rem; background: var(--gray-100); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.optik-baslik-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.optik-baslik {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}
.optik-uyari {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}
.optik-tik-listesi {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}
.optik-tik-listesi li { margin-bottom: 0.5rem; }
.optik-tik-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}
.optik-tik-label input[type="checkbox"] { width: 1.1rem; height: 1.1rem; }

/* Optik alan ekle sayfası */
.optik-alan-ekle-screen { max-width: 36rem; color: rgba(232, 232, 232, 0.92); }
.optik-alan-ekle-screen > h1 { color: #f4f4f5; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.optik-alan-ekle-screen > .lead { color: rgba(232, 232, 232, 0.76); }
.optik-alan-ekle-screen .optik-alan-listesi {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--gray-800);
}
.optik-alan-ekle-screen .optik-alan-listesi h2 { color: var(--gray-900); }
.optik-alan-ekle-form { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.optik-alan-ekle-form label { margin: 0; font-weight: 500; }
.optik-alan-ekle-form input[type="text"] { flex: 1; min-width: 12rem; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.optik-alan-listesi { margin: 1.5rem 0; }
.optik-alan-listesi h2 { font-size: 1rem; margin: 0 0 0.5rem 0; }
.optik-alan-list { list-style: none; padding: 0; margin: 0; }
.optik-alan-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-200); }
.optik-alan-item:last-child { border-bottom: none; }
.optik-alan-etiket { font-weight: 500; }
.optik-alan-sil-form { margin: 0; }

.okul-adi-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
}
.okul-adi-form label { font-weight: 500; }
.okul-adi-form input[type="text"] {
    flex: 1;
    max-width: 320px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
}
.okullar-listesi { margin-bottom: 1.5rem; }
.okullar-listesi h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.okullar-tablo {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.okullar-tablo th,
.okullar-tablo td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.okullar-tablo thead th { background: var(--gray-800); color: var(--white); font-weight: 600; }
.okullar-tablo tbody tr:hover { background: var(--gray-100); }
.okullar-tablo .pin-hucre { font-variant-numeric: tabular-nums; color: var(--primary); }
.kaydet-form { margin-top: 0.5rem; }
.mesaj { padding: 0.5rem 0.75rem; border-radius: var(--radius); margin-bottom: 1rem; }
.mesaj-basarili { background: #dcfce7; color: #166534; }
.pin-sec-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}
.pin-sec-form label { font-size: 0.9rem; }
.pin-sec-form select {
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 0.9rem;
}
.okul-pin-form { display: inline; }
.btn-sm { padding: 0.25rem 0.6rem; font-size: 0.85rem; }
.liste-kaydet-wrap { margin-top: 1.5rem; margin-bottom: 0; text-align: right; }
.liste-alt-butonlar {
    margin-top: 1.5rem;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}
.liste-alt-butonlar .btn { margin: 0; }

/* Paylaş modal */
.paylas-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    padding: 1rem;
}
.paylas-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.paylas-modal {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow: auto;
}
.paylas-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}
.paylas-modal-header h2 { margin: 0; font-size: 1.2rem; }
.paylas-modal-kapat {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0 0.25rem;
}
.paylas-modal-kapat:hover { color: var(--gray-800); }
.paylas-modal-body { padding: 1.25rem; }
.paylas-aciklama { margin: 0 0 1rem 0; color: var(--gray-800); }
.paylas-pin-wrap { margin-bottom: 1rem; }
.paylas-pin-wrap label { display: block; font-weight: 500; margin-bottom: 0.35rem; }
.paylas-pin-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.paylas-pin-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    background: var(--gray-100);
}
.paylas-uyari { margin: 0; font-size: 0.9rem; color: var(--gray-600); }

.exam-list { display: flex; flex-direction: column; gap: 1rem; }
#sayac-duzelt { scroll-margin-top: 5.5rem; }
.exam-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.exam-card h2 { margin-top: 0; margin-bottom: 0.5rem; }
.exam-card-baslik-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.exam-card-baslik { margin: 0; font-size: 1.1rem; }
.exam-card-kurallar { margin: 0.75rem 0; padding: 0.75rem; background: var(--gray-100); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.exam-kurallar-listesi { margin: 0; padding-left: 1.25rem; font-size: 0.95rem; }
.exam-kurallar-listesi li { margin-bottom: 0.25rem; }
.exam-card-kurallar-yok { margin: 0.5rem 0; font-size: 0.9rem; color: var(--gray-600); }
.exam-saat-form { margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.exam-saat-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.exam-saat-row-iki-zaman {
    align-items: flex-end;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}
.exam-saat-grup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    min-width: 0;
}
.exam-saat-grup label {
    font-weight: 600;
    font-size: 0.82rem;
    margin: 0;
    min-width: 0;
}
.exam-saat-grup-input-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.exam-saat-grup-input-btn input {
    flex: 1;
    min-width: 0;
}
.exam-saat-grup-input-btn .exam-saat-sifirla {
    flex-shrink: 0;
    align-self: center;
}
.exam-saat-row-iki-zaman .exam-saat-sifirla-saatler {
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 2px;
}
.exam-saat-row-uc-zaman {
    align-items: flex-end;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}
.exam-saat-grup-sure {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.exam-saat-grup-sure label {
    width: 100%;
    margin: 0;
    min-width: 0;
}
.exam-saat-row:not(.exam-saat-row-iki-zaman):not(.exam-saat-row-uc-zaman) label { font-weight: 500; font-size: 0.9rem; margin: 0; min-width: 11rem; }
.exam-saat-form input[type="time"] { padding: 0.35rem 0.5rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.soru-duzeltme-bilgisi-block { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--gray-200); }
.soru-duzeltme-bilgisi-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.soru-duzeltme-baslik { margin: 0; font-size: 1rem; font-weight: 600; }
.soru-duzeltme-tablo { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 0.9rem; }
.soru-duzeltme-tablo th,
.soru-duzeltme-tablo td { padding: 0.4rem 0.6rem; text-align: left; border: 1px solid var(--gray-200); }
.soru-duzeltme-tablo th { background: var(--gray-100); font-weight: 600; }
.soru-duzeltme-tablo-resim { max-width: 48px; max-height: 48px; object-fit: cover; border-radius: 4px; display: block; }
.soru-duzeltme-yok { margin: 0.25rem 0 0 0; font-size: 0.9rem; color: var(--gray-600); }
.exam-card .btn { margin-top: 0.5rem; }
.exam-card .btn { margin-top: 0.5rem; }
.empty { padding: 1rem; background: var(--gray-200); border-radius: var(--radius); }

/* ========== /sinav/liste — kara tahta paneller + kullanım ========== */
body.page-sinav-liste main.container {
    padding-bottom: 2rem;
    max-width: 960px;
    position: relative;
    z-index: 0;
}

/* /sinav/liste genel kara tahta kenarlığı (tüm sayfayı çerçevele) */
body.page-sinav-liste main.container::before {
    content: '';
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 14px;
    background: linear-gradient(165deg, #0f1914 0%, #0a1210 50%, #070d0a 100%);
    border: 14px solid rgba(92, 64, 51, 0.65);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 70px rgba(0, 0, 0, 0.28),
        0 6px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

@media (max-width: 720px) {
    body.page-sinav-liste main.container::before {
        inset: -12px;
        border-width: 10px;
    }
}
body.page-sinav-liste .liste-yeni-sayac-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(210, 220, 215, 0.88);
}
body.page-sinav-liste .liste-yeni-sayac-kural-not {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(190, 200, 195, 0.82);
}
body.page-sinav-liste .liste-yeni-sayac-kural-not a {
    color: #93c5fd;
    text-decoration: underline;
}
body.page-sinav-liste .liste-yeni-sayac-kart .exam-card-baslik {
    margin-bottom: 0.35rem;
}
body.page-sinav-liste .liste-yeni-kurallar-ust {
    margin-bottom: 0.75rem;
}
body.page-sinav-liste .liste-yeni-kurallar-ust .exam-card-baslik {
    margin-bottom: 0.5rem;
}
body.page-sinav-liste .liste-yeni-kural-ekle-satir {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
body.page-sinav-liste .liste-yeni-kural-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(232, 232, 232, 0.95);
}
body.page-sinav-liste .liste-yeni-kurallar-block .liste-yeni-kural-sil-btn {
    margin-left: 0.35rem;
}
body.page-sinav-liste .liste-yeni-kurallar-bos {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(180, 190, 185, 0.8);
}
body.page-sinav-liste .liste-yeni-duzeltme-liste {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
body.page-sinav-liste .liste-yeni-duzeltme-satir {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
body.page-sinav-liste .liste-yeni-duzeltme-satir input {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(232, 232, 232, 0.95);
}
body.page-sinav-liste .liste-yeni-duzeltme-satir input[type="text"] {
    min-width: 100px;
}
body.page-sinav-liste .liste-yeni-duzeltme-satir input[type="number"] {
    width: 70px;
}
body.page-sinav-liste .liste-yeni-duzeltme-aciklama {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(180, 190, 185, 0.75);
}
body.page-sinav-liste .liste-ust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
body.page-sinav-liste .liste-ust-bar h1 {
    margin: 0;
}
body.page-sinav-liste .liste-onizleme-btn {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f0f0f0;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
}
body.page-sinav-liste .liste-onizleme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
body.page-sinav-liste .liste-hepsini-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
body.page-sinav-liste .sayac-liste-bildirim {
    margin: 0 0 0.75rem 0;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}
body.page-sinav-liste .sayac-liste-bildirim-ok {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
}
body.page-sinav-liste .sayac-liste-bildirim-hata {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca;
}
body.page-sinav-liste .sayac-sec-panel {
    margin-bottom: 0;
}
body.page-sinav-liste .sayac-sec-ustte {
    margin-top: 0.65rem;
    margin-bottom: 1rem;
}
body.page-sinav-liste .sayac-sec-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #fef3c7;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}
body.page-sinav-liste .sayac-sec-aciklama {
    margin: 0 0 0.75rem 0;
    font-size: 0.88rem;
    color: rgba(232, 232, 232, 0.78);
    line-height: 1.45;
}
body.page-sinav-liste .sayac-sec-satir {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
body.page-sinav-liste .sayac-sec-select {
    flex: 1;
    min-width: 220px;
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.45);
    color: #f4f4f5;
}
body.page-sinav-liste .sayac-duzelt-form-aciklama {
    margin: 0 0 0.5rem 0;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(232, 232, 232, 0.88);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
body.page-sinav-liste .sayac-duzelt-form-aciklama strong {
    color: #fef3c7;
    font-weight: 600;
}
body.page-sinav-liste .sayac-sec-bos-uyari {
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(232, 232, 232, 0.88);
    margin: 0;
}
body.page-sinav-liste .liste-tahta-panel {
    padding: 1.1rem 1.2rem;
    background: linear-gradient(165deg, #0f1914 0%, #0a1210 50%, #070d0a 100%);
    border: 2px solid rgba(92, 64, 51, 0.55);
    border-radius: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 70px rgba(0, 0, 0, 0.28),
        0 6px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 0;
}
body.page-sinav-liste .liste-ust-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    body.page-sinav-liste .liste-ust-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}
body.page-sinav-liste .deneme-adi-block,
body.page-sinav-liste .giris-pini-block {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}
body.page-sinav-liste .giris-pini-satir {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
}
body.page-sinav-liste .giris-pini-satir .liste-pin-input {
    flex: 1;
    min-width: 0;
    max-width: 16rem;
    width: auto;
    margin: 0;
    height: 2.75rem;
    padding: 0 0.85rem;
    box-sizing: border-box;
    line-height: 2.75rem;
}
body.page-sinav-liste .giris-pini-input[readonly] {
    cursor: default;
    opacity: 0.95;
}
body.page-sinav-liste .giris-pini-otomatik-aciklama {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.72);
    max-width: 28rem;
}
body.page-sinav-liste .deneme-adi-label,
body.page-sinav-liste .giris-pini-label {
    color: rgba(253, 230, 138, 0.88);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
body.page-sinav-liste .deneme-adi-input,
body.page-sinav-liste .giris-pini-input {
    width: 100%;
    max-width: none;
    padding: 0.65rem 0.85rem;
    font-size: 1.05rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #f4f4f5;
}
body.page-sinav-liste .deneme-adi-input::placeholder,
body.page-sinav-liste .giris-pini-input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}
body.page-sinav-liste .deneme-adi-input:focus,
body.page-sinav-liste .giris-pini-input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
body.page-sinav-liste .liste-pin-input {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.08em;
}
body.page-sinav-liste .liste-optik-panel {
    margin-top: 0;
    margin-bottom: 0;
}
body.page-sinav-liste .optik-baslik {
    color: #fef3c7;
    font-family: 'Caveat', 'Chalkboard', cursive;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
}
body.page-sinav-liste .optik-uyari {
    color: rgba(251, 191, 36, 0.92);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-top: 0.5rem;
}
body.page-sinav-liste .optik-tik-label {
    color: rgba(232, 232, 232, 0.9);
    padding: 0.35rem 0;
    font-size: 0.95rem;
}
body.page-sinav-liste .optik-tik-listesi {
    display: grid;
    gap: 0.15rem;
}
@media (min-width: 520px) {
    body.page-sinav-liste .optik-tik-listesi {
        grid-template-columns: repeat(2, 1fr);
    }
}
body.page-sinav-liste .liste-sinavlar-wrap {
    gap: 1.25rem;
}
body.page-sinav-liste .exam-card {
    background: linear-gradient(165deg, #0f1814 0%, #0a100d 55%, #060a08 100%);
    border: 2px solid rgba(92, 64, 51, 0.48);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 90px rgba(0, 0, 0, 0.22),
        0 8px 28px rgba(0, 0, 0, 0.38);
    color: rgba(232, 232, 232, 0.92);
}
body.page-sinav-liste .exam-card-baslik {
    font-family: 'Caveat', 'Chalkboard', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fef9c3;
}
body.page-sinav-liste .exam-card-kurallar {
    background: rgba(0, 0, 0, 0.32);
    border-left: 4px solid #60a5fa;
    border-radius: 8px;
    color: rgba(232, 232, 232, 0.9);
}
body.page-sinav-liste .exam-card-kurallar-yok {
    color: rgba(232, 232, 232, 0.45);
    font-style: italic;
}
body.page-sinav-liste .exam-saat-form {
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-sinav-liste .exam-saat-row:not(.exam-saat-row-iki-zaman) {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
}
@media (min-width: 560px) {
    body.page-sinav-liste .exam-saat-row:not(.exam-saat-row-iki-zaman) {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}
body.page-sinav-liste .exam-saat-row-iki-zaman,
body.page-sinav-liste .exam-saat-row-uc-zaman {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.25rem;
}
body.page-sinav-liste .exam-saat-row-iki-zaman .exam-saat-grup,
body.page-sinav-liste .exam-saat-row-uc-zaman .exam-saat-grup:not(.exam-saat-grup-sure) {
    flex: 1;
    min-width: 8.5rem;
    max-width: 12rem;
}
body.page-sinav-liste .exam-saat-row-uc-zaman .exam-saat-grup-sure {
    flex: 0 1 auto;
    min-width: 8rem;
    max-width: 11rem;
}
body.page-sinav-liste .exam-saat-row-uc-zaman .exam-saat-grup-sure .exam-saat-grup-input-btn input {
    width: 4.5rem;
    min-width: 4rem;
    max-width: 6rem;
    flex: 0 1 auto;
    padding: 0.55rem 0.5rem;
}
body.page-sinav-liste .exam-saat-row-iki-zaman .exam-saat-grup input[type="time"],
body.page-sinav-liste .exam-saat-row-uc-zaman .exam-saat-grup input[type="time"] {
    width: 100%;
    max-width: 100%;
}
body.page-sinav-liste .exam-saat-row-uc-zaman .exam-saat-grup-sure label {
    color: rgba(253, 230, 138, 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.page-sinav-liste .exam-saat-grup-input-btn .exam-saat-sifirla {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(232, 232, 232, 0.9);
    min-height: 36px;
    padding: 0.4rem 0.75rem;
}
body.page-sinav-liste .exam-saat-grup-input-btn .exam-saat-sifirla:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
body.page-sinav-liste .exam-saat-row label {
    color: rgba(232, 232, 232, 0.78);
    min-width: 0;
    font-size: 0.88rem;
}
body.page-sinav-liste .exam-saat-row-iki-zaman .exam-saat-grup label {
    color: rgba(253, 230, 138, 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.page-sinav-liste .exam-saat-form input[type="time"],
body.page-sinav-liste .exam-saat-form input[type="number"] {
    flex: 1;
    min-width: 0;
    max-width: 12rem;
    padding: 0.55rem 0.65rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #f4f4f5;
    font-size: 1rem;
}
body.page-sinav-liste .exam-saat-form input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
}
body.page-sinav-liste .exam-card .btn-secondary,
body.page-sinav-liste .optik-baslik-row .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e8e8e8;
    min-height: 38px;
}
body.page-sinav-liste .exam-card .btn-secondary:hover,
body.page-sinav-liste .optik-baslik-row .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
body.page-sinav-liste .soru-duzeltme-bilgisi-block {
    border-top-color: rgba(255, 255, 255, 0.1);
    margin-top: 1.1rem;
    padding-top: 1rem;
}
body.page-sinav-liste .soru-duzeltme-baslik {
    color: #fde68a;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}
body.page-sinav-liste .soru-duzeltme-yok {
    color: rgba(232, 232, 232, 0.45);
}
body.page-sinav-liste .soru-duzeltme-tablo-liste {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
}
body.page-sinav-liste .soru-duzeltme-tablo-liste table {
    min-width: 420px;
    margin: 0;
}
body.page-sinav-liste .kaydedilen-soru-duzeltme-tablo th,
body.page-sinav-liste .kaydedilen-soru-duzeltme-tablo td {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(232, 232, 232, 0.9);
}
body.page-sinav-liste .kaydedilen-soru-duzeltme-tablo thead th {
    background: rgba(37, 99, 235, 0.28);
    color: #e0e7ff;
    font-weight: 600;
}
body.page-sinav-liste .kaydedilen-soru-duzeltme-tablo tbody th {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(232, 232, 232, 0.85);
}
body.page-sinav-liste .mesaj-basarili {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #bbf7d0;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}
body.page-sinav-liste .liste-alt-butonlar {
    margin: 2rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 2px solid rgba(92, 64, 51, 0.45);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}
body.page-sinav-liste .liste-alt-butonlar .btn-primary:only-child {
    min-width: 10rem;
}
body.page-sinav-liste .liste-alt-butonlar .btn {
    min-height: 46px;
    padding: 0.55rem 1.35rem;
    font-size: 0.95rem;
    border-radius: 10px;
}
body.page-sinav-liste .liste-alt-butonlar .btn-primary {
    font-weight: 700;
    min-width: 9rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
body.page-sinav-liste .liste-alt-butonlar .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f0f0f0;
}
body.page-sinav-liste .liste-alt-butonlar .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* /sinav/liste — sağ alt "Geri Dön" butonu */
body.page-sinav-liste .sinav-liste-geri-don-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f0f0f0;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
body.page-sinav-liste .sinav-liste-geri-don-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
body.page-hesap.deneme-ekranlari-sayfa .sinav-liste-geri-don-btn {
    position: fixed;
    right: 0.45rem;
    bottom: 0.75rem;
    z-index: 700;
    padding: 0.62rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}
body.page-hesap.deneme-ekranlari-sayfa .sinav-liste-geri-don-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

@media (max-width: 720px) {
    body.page-sinav-liste .sinav-liste-geri-don-btn {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}
code { background: var(--gray-200); padding: 0.2em 0.4em; border-radius: 4px; font-size: 0.9em; }

/* Sınav kuralları ekranı */
.exam-rules-screen {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1rem;
    color: var(--gray-800);
}
.exam-rules-screen h1 { margin-top: 0; color: var(--gray-900); }
.exam-meta { margin: 1rem 0; color: var(--gray-600); }
.exam-meta .sure { font-size: 1.25rem; color: var(--primary); font-weight: 600; }
.rules-box {
    background: var(--gray-100);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}
.rules-box h2 { margin-top: 0; font-size: 1.1rem; }
.rules-text { white-space: normal; }
.rules-text .kural-rule { margin: 0.4rem 0; }
.rules-text .kural-rule:first-child { margin-top: 0; }
.rules-text .kural-rule:last-child { margin-bottom: 0; }
.rules-box .kural-rich a { color: var(--primary); }
.rules-box .kural-rich a:hover { text-decoration: underline; }
.kural-ekle-form { margin-top: 1.25rem; }
.kural-ekle-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; }
.kural-editor-aciklama {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0 0 0.65rem 0;
    line-height: 1.45;
}
.kural-quill-editor {
    min-height: 160px;
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.kural-quill-editor .ql-container {
    font-size: 1rem;
    min-height: 120px;
    background: #fff;
    color: #1a1a1a;
}
.kural-quill-editor .ql-editor {
    color: #1a1a1a;
}
.kural-quill-editor .ql-editor p,
.kural-quill-editor .ql-editor h1,
.kural-quill-editor .ql-editor h2,
.kural-quill-editor .ql-editor h3,
.kural-quill-editor .ql-editor li {
    color: inherit;
}
.kural-quill-editor .ql-editor.ql-blank::before {
    color: rgba(0, 0, 0, 0.45) !important;
}
.kural-quill-editor .ql-editor a {
    color: #2563eb;
}
.kural-metni-hidden { display: none !important; }
.kural-textarea { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; margin-bottom: 0.75rem; box-sizing: border-box; resize: vertical; }

/* Kayıtlı kurallarda Quill sınıfları (hizalama, girinti, boyut) */
.kural-rich { word-break: break-word; }
.kural-rich p,
.kural-rich ul,
.kural-rich ol,
.kural-rich h1,
.kural-rich h2,
.kural-rich h3 { margin: 0.25em 0; }
.kural-rich > p:first-child,
.kural-rich > ul:first-child,
.kural-rich > ol:first-child,
.kural-rich > h1:first-child,
.kural-rich > h2:first-child,
.kural-rich > h3:first-child { margin-top: 0; }
.kural-rich > p:last-child,
.kural-rich > ul:last-child,
.kural-rich > ol:last-child { margin-bottom: 0; }
.kural-rich .ql-align-center { text-align: center; }
.kural-rich .ql-align-right { text-align: right; }
.kural-rich .ql-align-justify { text-align: justify; }
.kural-rich .ql-size-small { font-size: 0.85em; }
.kural-rich .ql-size-large { font-size: 1.35em; }
.kural-rich .ql-size-huge { font-size: 1.85em; }
.kural-rich .ql-font-serif { font-family: Georgia, 'Times New Roman', serif; }
.kural-rich .ql-font-monospace { font-family: Consolas, 'Courier New', monospace; }
.kural-rich .ql-indent-1 { padding-left: 2em; }
.kural-rich .ql-indent-2 { padding-left: 4em; }
.kural-rich .ql-indent-3 { padding-left: 6em; }
.kural-rich .ql-indent-4 { padding-left: 8em; }
.kural-rich .ql-indent-5 { padding-left: 10em; }
.kural-rich .ql-indent-6 { padding-left: 12em; }
.kural-rich .ql-indent-7 { padding-left: 14em; }
.kural-rich .ql-indent-8 { padding-left: 16em; }
.kural-rich a { text-decoration: underline; }
.kural-ekle-actions { text-align: right; margin-top: 0.75rem; }
.kural-ekle-actions + .kural-ekle-actions { margin-top: 1rem; }
.kaydedilen-kurallar { margin-top: 1.5rem; padding: 1rem; background: var(--gray-100); border-radius: var(--radius); border-left: 4px solid var(--primary); }
.kaydedilen-kurallar h2 { margin: 0 0 0.75rem 0; font-size: 1rem; }
.kurallar-listesi { margin: 0; padding-left: 1.25rem; }

/* Soru düzeltme bilgisi ekle sayfası */
.soru-duzeltme-ekle-screen { max-width: 36rem; color: rgba(232, 232, 232, 0.92); }
.soru-duzeltme-ekle-screen h1 { margin-top: 0; color: #f4f4f5; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.soru-duzeltme-ekle-screen .soru-duzeltme-form-tablo,
.soru-duzeltme-ekle-screen .kaydedilen-soru-duzeltme { color: var(--gray-800); }
.soru-duzeltme-form-tablo { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.soru-duzeltme-form-tablo td { padding: 0.5rem 0.75rem; vertical-align: middle; border: 1px solid var(--gray-200); }
.soru-duzeltme-form-tablo .form-etiket { font-weight: 600; width: 10rem; background: var(--gray-50); }
.soru-duzeltme-form-tablo .form-giris { background: var(--white); }
.soru-duzeltme-form-tablo .form-giris-iki { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.soru-duzeltme-form-tablo .form-giris-iki input { flex: 1; min-width: 4rem; }
.soru-duzeltme-form-tablo .form-giris-ayrac { color: var(--gray-500); font-weight: 600; }
.soru-duzeltme-form-tablo input[type="text"],
.soru-duzeltme-form-tablo input[type="number"] { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); box-sizing: border-box; }
.soru-duzeltme-form-tablo .form-foto-sutun { background: var(--gray-50); }
.soru-duzeltme-form-tablo .form-foto-sutun label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.soru-duzeltme-form-tablo input[type="file"] { padding: 0.35rem 0; }
.kaydedilen-soru-duzeltme { margin-top: 1.5rem; padding: 1rem; background: var(--gray-100); border-radius: var(--radius); }
.kaydedilen-soru-duzeltme h2 { margin: 0 0 0.75rem 0; font-size: 1rem; }
.kaydedilen-soru-duzeltme-tablo { width: 100%; border-collapse: collapse; font-size: 0.9rem; border: 2px solid #444; }
.kaydedilen-soru-duzeltme-tablo th,
.kaydedilen-soru-duzeltme-tablo td { padding: 0.5rem 0.6rem; border: 1px solid #555; text-align: left; vertical-align: middle; }
.kaydedilen-soru-duzeltme-tablo thead th { background: var(--gray-200); font-weight: 600; border: 1px solid #555; }
.kaydedilen-soru-duzeltme-tablo tbody th { background: var(--gray-100); font-weight: 600; width: 8rem; border: 1px solid #555; }
.kaydedilen-soru-duzeltme-tablo .foto-hucre { text-align: center; }
.kaydedilen-soru-duzeltme-tablo .sil-hucre { text-align: center; }
.kaydedilen-soru-duzeltme-tablo .soru-duzeltme-sil-form { margin: 0; display: inline-block; }
.kaydedilen-soru-duzeltme-thumb { max-width: 56px; max-height: 56px; object-fit: cover; border-radius: 4px; display: block; margin: 0 auto; }

/* ========== Soru düzeltme bilgisi ekle sayfası — kara tahta + kullanım ========== */
body.page-soru-duzeltme-ekle main.container,
body.page-soru-duzeltme-ekle main.main-full {
    max-width: 52rem;
    padding: 1.25rem 1rem 2rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-screen {
    max-width: none;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-ust {
    margin-bottom: 1.25rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-geri {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(232, 232, 232, 0.75);
    text-decoration: none;
    margin-bottom: 0.75rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-geri:hover {
    color: #93c5fd;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-screen h1 {
    font-family: 'Caveat', 'Chalkboard', cursive;
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    margin: 0 0 0.35rem 0;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-sinav-adi {
    margin: 0;
    font-size: 1rem;
    color: rgba(253, 230, 138, 0.9);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-panel.tahta-panel {
    padding: 0.75rem 1rem;
    max-width: 28rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-listeye-don {
    margin: 1rem 0 0 0;
    font-size: 0.9rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-listeye-don a {
    color: rgba(147, 197, 253, 0.95);
    text-decoration: none;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-listeye-don a:hover {
    text-decoration: underline;
}
body.page-soru-duzeltme-ekle .tahta-panel {
    padding: 1.35rem 1.4rem;
    background: linear-gradient(165deg, #0f1914 0%, #0a1210 50%, #070d0a 100%);
    border: 2px solid rgba(92, 64, 51, 0.5);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 80px rgba(0, 0, 0, 0.28),
        0 8px 28px rgba(0, 0, 0, 0.38);
    margin-bottom: 1.25rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-panel .soru-duzeltme-form-tablo,
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme {
    color: rgba(232, 232, 232, 0.92);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo {
    margin-bottom: 0;
    border: none;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo td {
    padding: 0.28rem 0.4rem 0.28rem 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo tr:last-child td {
    border-bottom: none;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-etiket {
    width: 7.25rem;
    background: transparent;
    color: rgba(253, 230, 138, 0.88);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-giris {
    background: transparent;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo input[type="text"],
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo input[type="number"] {
    width: 100%;
    padding: 0.32rem 0.5rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    color: #f4f4f5;
    font-size: 0.85rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-giris-ayrac {
    color: rgba(232, 232, 232, 0.5);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-giris-iki input {
    min-width: 3rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-foto-sutun {
    background: transparent;
    padding-top: 0.15rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo .form-foto-sutun label {
    color: rgba(253, 230, 138, 0.88);
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-form-tablo input[type="file"] {
    padding: 0.15rem 0;
    color: rgba(232, 232, 232, 0.9);
    font-size: 0.78rem;
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-form-actions {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-soru-duzeltme-ekle .soru-duzeltme-ekle-form-actions .btn-primary {
    min-height: 34px;
    padding: 0.35rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme {
    margin-top: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(165deg, #0f1914 0%, #0a1210 50%, #070d0a 100%);
    border: 2px solid rgba(92, 64, 51, 0.5);
    border-radius: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 80px rgba(0, 0, 0, 0.28),
        0 8px 28px rgba(0, 0, 0, 0.38);
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-bos {
    margin: 0;
    color: rgba(232, 232, 232, 0.65);
    font-size: 0.9rem;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme h2 {
    color: #fef3c7;
    font-family: 'Caveat', 'Chalkboard', cursive;
    font-size: 1.15rem;
    margin: 0 0 0.6rem 0;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.8rem;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo th,
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo td {
    padding: 0.35rem 0.5rem;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(232, 232, 232, 0.92);
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo thead th {
    background: rgba(37, 99, 235, 0.25);
    color: #e0e7ff;
    font-weight: 600;
    font-size: 0.78rem;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo tbody th {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(232, 232, 232, 0.85);
    width: 6rem;
    font-size: 0.78rem;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo .kaydedilen-soru-duzeltme-thumb {
    max-width: 40px;
    max-height: 40px;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo .soru-duzeltme-sil-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
}
body.page-soru-duzeltme-ekle .kaydedilen-soru-duzeltme-tablo .soru-duzeltme-sil-btn:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #fff;
}

.kurallar-listesi li { margin-bottom: 0.35rem; }
.start-form { margin-top: 1.5rem; }
.exam-show-start-actions {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.exam-show-start-actions .exam-show-start-form {
    margin: 0;
}
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; cursor: pointer; }
.checkbox-label input { width: 1.2rem; height: 1.2rem; }

/* Sınav detay sayfası – optik form ve soru düzeltme bölümleri */
.exam-show-full .rules-box { margin-bottom: 1.5rem; }
.exam-show-section-baslik { margin: 0 0 0.5rem 0; font-size: 1.1rem; }
.exam-show-optik {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.exam-show-optik-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.exam-show-optik-uyari { font-size: 0.9rem; color: var(--gray-600); margin: 0 0 0.75rem 0; }
.exam-show-optik-listesi { margin: 0; padding-left: 1.5rem; }
.exam-show-optik-listesi li { margin-bottom: 0.25rem; }
.exam-show-soru-duzeltme {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.exam-show-soru-duzeltme-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.exam-show-duzeltme-tablo { margin-top: 0.5rem; }
.exam-show-full .soru-duzeltme-yok { margin: 0; color: var(--gray-600); font-size: 0.9rem; }

/* ========== Kurallar/Optik sayfaları — kara tahta görünümü ========== */
body.page-exam-show main.container,
body.page-exam-show main.main-full,
body.page-kural-ekle main.container,
body.page-kural-ekle main.main-full,
body.page-optik-alan-ekle main.container,
body.page-optik-alan-ekle main.main-full {
    max-width: 72rem;
    padding: 1.25rem 1rem 2rem;
}
body.page-exam-show .exam-rules-screen,
body.page-kural-ekle .exam-rules-screen,
body.page-optik-alan-ekle .optik-alan-ekle-screen {
    padding: 1.25rem 1.35rem;
    background: linear-gradient(165deg, #0f1914 0%, #0a1210 50%, #070d0a 100%);
    border: 2px solid rgba(92, 64, 51, 0.55);
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 70px rgba(0, 0, 0, 0.28),
        0 6px 24px rgba(0, 0, 0, 0.35);
    color: rgba(232, 232, 232, 0.92);
}
body.page-exam-show .exam-rules-screen h1,
body.page-kural-ekle .exam-rules-screen h1,
body.page-optik-alan-ekle .optik-alan-ekle-screen h1 {
    color: #fef3c7;
}
body.page-exam-show .exam-rules-screen h2,
body.page-kural-ekle .exam-rules-screen h2,
body.page-optik-alan-ekle .optik-alan-ekle-screen h2,
body.page-exam-show .exam-rules-screen p,
body.page-kural-ekle .exam-rules-screen p,
body.page-optik-alan-ekle .optik-alan-ekle-screen p,
body.page-exam-show .exam-rules-screen li,
body.page-kural-ekle .exam-rules-screen li,
body.page-optik-alan-ekle .optik-alan-ekle-screen li,
body.page-exam-show .exam-rules-screen label,
body.page-kural-ekle .exam-rules-screen label,
body.page-optik-alan-ekle .optik-alan-ekle-screen label {
    color: rgba(232, 232, 232, 0.9);
}
body.page-kural-ekle .kural-textarea,
body.page-optik-alan-ekle .optik-alan-ekle-form input[type="text"] {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f4f4f5;
}
body.page-kural-ekle .kural-quill-editor {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.97);
}
/* Kara tahta sayfası .exam-rules-screen p/li rengi Quill içindeki <p>'lere miras kalıyordu */
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-container,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor p,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor h1,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor h2,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor h3,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor li,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor ul,
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor ol {
    color: #1a1a1a;
}
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor.ql-blank::before {
    color: rgba(0, 0, 0, 0.45) !important;
}
body.page-kural-ekle .exam-rules-screen .kural-quill-editor .ql-editor a {
    color: #2563eb;
}
body.page-kural-ekle .kural-quill-editor .ql-toolbar {
    background: rgba(15, 25, 20, 0.92);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 10px 10px 0 0;
}
body.page-kural-ekle .kural-quill-editor .ql-toolbar .ql-stroke { stroke: #e5e7eb; }
body.page-kural-ekle .kural-quill-editor .ql-toolbar .ql-fill { fill: #e5e7eb; }
body.page-kural-ekle .kural-quill-editor .ql-toolbar button:hover .ql-stroke,
body.page-kural-ekle .kural-quill-editor .ql-toolbar .ql-picker-label:hover .ql-stroke { stroke: #fff; }
body.page-kural-ekle .kural-quill-editor .ql-toolbar button:hover .ql-fill { fill: #fff; }
body.page-kural-ekle .kural-quill-editor .ql-toolbar .ql-picker { color: #e5e7eb; }
body.page-kural-ekle .kural-quill-editor .ql-toolbar .ql-picker-options {
    background: #1a2420;
    border-color: rgba(255, 255, 255, 0.15);
}
body.page-kural-ekle .kural-editor-aciklama { color: rgba(200, 210, 205, 0.85); }
body.page-kural-ekle .kurallar-listesi-zengin .kural-rich { color: rgba(232, 232, 232, 0.95); }
body.page-kural-ekle .kurallar-listesi-zengin .kural-rich a { color: #93c5fd; }
body.page-optik-alan-ekle .optik-alan-item,
body.page-kural-ekle .kaydedilen-kurallar {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.12);
}
body.page-exam-show .rules-box,
body.page-exam-show .exam-show-optik,
body.page-kural-ekle .kaydedilen-kurallar,
body.page-optik-alan-ekle .optik-alan-listesi {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}
body.page-kural-ekle .kural-textarea::placeholder,
body.page-optik-alan-ekle .optik-alan-ekle-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.42);
}
body.page-kural-ekle .kural-textarea:focus,
body.page-optik-alan-ekle .optik-alan-ekle-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
body.page-exam-show .btn-secondary,
body.page-kural-ekle .btn-secondary,
body.page-optik-alan-ekle .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f0f0f0;
}
body.page-exam-show .btn-secondary:hover,
body.page-kural-ekle .btn-secondary:hover,
body.page-optik-alan-ekle .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
body.page-exam-show a,
body.page-kural-ekle a,
body.page-optik-alan-ekle a {
    color: #93c5fd;
}
body.page-exam-show a:hover,
body.page-kural-ekle a:hover,
body.page-optik-alan-ekle a:hover {
    color: #bfdbfe;
}

/* Sınav ekranı - Geri sayım + soru */
.exam-screen { margin-top: 1rem; }
.exam-toolbar {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    color: var(--gray-800);
}
.countdown-wrap { display: flex; align-items: center; gap: 0.5rem; }
.countdown-label { font-size: 0.9rem; color: var(--gray-600); }
.countdown {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    min-width: 6rem;
}
.countdown.warning { color: var(--warning); }
.countdown.time-up { color: var(--danger); }
.soru-navigasyon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.soru-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: var(--gray-200);
    color: var(--gray-800);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background .2s, color .2s;
}
.soru-dot:hover { background: var(--gray-600); color: var(--white); }
.soru-dot.current { background: var(--primary); color: var(--white); }
.soru-dot.answered { background: #86efac; color: #166534; }

.soru-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    color: var(--gray-800);
}
.soru-baslik { margin-top: 0; font-size: 1rem; color: var(--gray-600); }
.soru-metin { font-size: 1.1rem; margin-bottom: 1.25rem; }
.cevap-form { display: flex; flex-direction: column; gap: 0.75rem; }
.secenek {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.secenek:hover { border-color: var(--primary); background: #eff6ff; }
.secenek input:checked + .secenek-harf { background: var(--primary); color: var(--white); }
.secenek input:checked ~ .secenek-metin { font-weight: 500; }
.secenek input { margin-top: 0.2rem; }
.secenek-harf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    background: var(--gray-200);
    font-weight: 700;
    flex-shrink: 0;
}
.secenek-metin { flex: 1; }

.soru-nav-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* Soru düzeltme ekranı */
.correction-screen {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1rem;
    color: var(--gray-800);
}
.correction-screen h1 { margin-top: 0; color: var(--gray-900); }
.correction-screen .lead { color: var(--gray-600); }
.correction-legend { margin: 1rem 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.leg { padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.9rem; }
.leg.correct { background: #dcfce7; color: #166534; }
.leg.wrong { background: #fee2e2; color: #991b1b; }
.leg.empty { background: var(--gray-200); color: var(--gray-600); }
.correction-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.correction-table th,
.correction-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.correction-table th { background: var(--gray-100); font-weight: 600; }
.correction-table tr.correct { background: #f0fdf4; }
.correction-table tr.wrong { background: #fef2f2; }
.correction-table tr.empty { background: var(--gray-100); }
.correction-summary { margin: 1rem 0; padding: 0.75rem; background: var(--gray-100); border-radius: var(--radius); }

/* ========== Ana sayfa: tek ekranda, kaydırmadan tüm reklamlar ========== */
.page-home {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
}
.page-home .site-header { flex-shrink: 0; padding: 0.35rem 0; }
.page-home .header-inner { min-height: 44px; }
.page-home .main-full { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.page-home .site-footer { flex-shrink: 0; padding: 0.55rem 0; }

.home-splash {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: 50px 1fr 50px;
    grid-template-columns: 90px 1fr 90px;
    gap: 6px;
    padding: 6px 8px;
    box-sizing: border-box;
}
.home-reklam-msg {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.35rem 0.55rem;
    font-size: 0.78rem;
}

body.page-home .home-splash {
    position: relative;
    background: #0a0a0a;
    border: 12px solid #5c4033;
    border-radius: 4px;
    box-shadow:
        inset 0 0 0 2px rgba(92, 64, 51, 0.4),
        0 0 0 2px #6b5344,
        0 10px 40px rgba(0, 0, 0, 0.55),
        inset 0 0 100px rgba(0, 0, 0, 0.28);
    margin: 8px auto;
    width: calc(100% - 16px);
    max-width: 1400px;
}
/* Logo modu: header–footer arası alanı mümkün olduğunca doldurur; logo ekranı kaplar (cover) */
body.page-home .home-splash.home-full-logo {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    padding: 0;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    box-shadow: none;
}
body.page-home .home-splash.home-full-logo .home-center.home-kerasus-hero {
    justify-content: stretch;
    align-items: stretch;
}
body.page-home .home-splash.home-full-logo .home-mid-row,
body.page-home .home-splash.home-full-logo .home-center,
body.page-home .home-splash.home-full-logo .home-center.home-kerasus-hero {
    height: 100%;
    min-height: 0;
    align-self: stretch;
}
body.page-home .home-splash.home-full-logo .home-center {
    width: 100%;
}
body.page-home .home-splash.home-full-logo .home-kerasus-logo {
    object-fit: cover;
    object-position: center;
    max-width: none;
    max-height: none;
}

/* Tam logo: tahta iç gölgesi görüntüyü küçük göstermesin */
body.page-home .home-splash.home-full-logo::before {
    display: none;
}

body.page-home .home-splash::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 2px;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
    z-index: 0;
}
body.page-home .home-splash > * {
    position: relative;
    z-index: 1;
}

body.page-home .ad-banner,
body.page-home .ad-side {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(220, 220, 220, 0.2);
    color: rgba(232, 232, 232, 0.4);
}
body.page-home .ad-label {
    color: rgba(232, 232, 232, 0.35);
}
body.page-home .home-splash .carousel-wrap {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(92, 64, 51, 0.5);
}

.home-splash .ad-top {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0;
}
.home-splash .ad-top .ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 100%;
    min-height: 44px;
    max-height: 50px;
    margin: 0 auto;
}

.home-mid-row {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    display: grid;
    grid-template-columns: 90px 1fr 150px;
    gap: 6px;
    align-items: stretch;
}
.home-splash.home-no-ads {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
}
.home-splash.home-no-ads .home-mid-row {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
}
.home-splash.home-no-ads .home-center .carousel-wrap {
    max-width: none;
    width: 100%;
}
.home-mid-row .ad-side { margin: 0; min-width: 0; }
.home-mid-row .ad-right { min-width: 150px; }
.home-mid-row .ad-vertical {
    width: 100%;
    height: 100%;
    min-height: 120px;
}
.home-center {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.home-center .carousel-wrap { flex: 1; min-height: 0; width: 100%; max-width: 900px; margin: 0; }
.home-center .home-cta { margin: 0; flex-shrink: 0; }
.home-kerasus-hero {
    flex: 1;
    min-height: 0;
    align-self: stretch;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0.35rem 0.5rem;
}

.home-reklam-video-bar {
    flex-shrink: 0;
    width: 100%;
    max-width: min(640px, 92vw);
    margin-top: 0.75rem;
    padding: 0.65rem 0.5rem 0.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.home-reklam-video-baslik {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.92);
}
.home-reklam-video {
    display: block;
    width: 100%;
    max-height: min(40vh, 360px);
    height: auto;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.home-reklam-video-indir-wrap {
    margin: 0.65rem 0 0;
}
.home-reklam-video-indir {
    font-size: 0.9rem;
}

.home-hero-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.1rem, 2.6vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f8fafc;
    text-align: center;
}
.home-hero-subtitle {
    margin: 0 0 0.6rem;
    max-width: 52rem;
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.85);
    text-align: center;
}
.home-splash.home-full-logo .home-kerasus-hero {
    padding: 0.35rem 0;
}
body.page-home .home-splash.home-full-logo .home-kerasus-hero {
    padding: 0;
}
.home-splash.home-full-logo .home-mid-row {
    min-height: 0;
    height: 100%;
}
.home-kerasus-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 0;
    max-width: none;
}
.home-splash.home-full-logo .home-kerasus-logo-wrap {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}
.home-kerasus-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.5));
}
.admin-home-preview {
    margin-top: 1rem;
    margin-bottom: 1rem;
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-home-preview .home-mid-row {
    min-height: 240px;
}
.admin-logo-wrap-with-action {
    position: relative;
}
.admin-logo-change-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}
.admin-logo-change-btn:hover {
    background: rgba(30, 41, 59, 0.92);
}
.home-three-split {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}
.home-three-split .carousel-wrap {
    min-height: 260px;
}
.split-carousel {
    position: relative;
}
.split-ekle-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
}
.split-ekle-link.btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
}
.carousel-doc-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.35);
    color: #f3f4f6;
    text-align: center;
    padding: 0.8rem;
}
.admin-kayan-ekle-form {
    max-width: 460px;
}
.admin-kayan-onizleme {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.admin-kayan-onizleme-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.admin-kayan-onizleme-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
}
.admin-doc-badge {
    display: inline-block;
    padding: 0.22rem 0.45rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 999px;
    font-size: 0.75rem;
    color: #e2e8f0;
}

.home-splash .ad-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
}
.home-splash .ad-bottom .ad-placeholder {
    width: 100%;
    max-width: 970px;
    height: 100%;
    min-height: 40px;
    max-height: 50px;
    margin: 0 auto;
}

/* Reklam alanları - ortak */
.ad-banner, .ad-side {
    position: relative;
    background: var(--gray-200);
    border: 1px dashed var(--gray-600);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    overflow: hidden;
}
.ad-media {
    width: min(100%, var(--ad-w, 220px));
    height: min(100%, var(--ad-h, 160px));
    min-width: 80px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reklam-slot-edit .ad-media {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    padding: 0.12rem;
}
.reklam-admin-form {
    margin-top: 0.3rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
}
.reklam-admin-form input[type="file"] {
    width: 150px;
    font-size: 0.68rem;
}
.reklam-admin-form .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.68rem;
}
.ad-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.ad-placeholder { font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.ad-side-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0.25rem;
}

/* Carousel - kayan resimler (ana sayfa içinde küçültülmüş) */
.home-splash .carousel-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
@media (max-width: 1100px) {
    .home-three-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
    .home-three-split { grid-template-columns: 1fr; }
}
.home-splash .carousel {
    width: 100%;
    height: 100%;
    min-height: 140px;
    background:
        radial-gradient(ellipse at top left, rgba(92, 64, 51, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse at bottom right, rgba(22, 74, 48, 0.12) 0%, transparent 48%),
        linear-gradient(172deg, #171311 0%, #101713 46%, #090d0a 100%);
    border: 3px solid rgba(92, 64, 51, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 80px rgba(0, 0, 0, 0.3);
}
.carousel-inner { position: relative; width: 100%; height: 100%; }
.carousel-item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.carousel-item.active { opacity: 1; pointer-events: auto; }
.carousel-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: none; border-radius: 50%;
    background: rgba(0,0,0,.5); color: var(--white); font-size: 1.25rem; line-height: 1;
    cursor: pointer; transition: background .2s; z-index: 2;
}
.carousel-btn:hover { background: rgba(0,0,0,.8); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots {
    display: flex; justify-content: center; gap: 6px; padding: 6px;
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.4)); z-index: 2;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s, transform .2s;
}
.carousel-dot:hover, .carousel-dot.active { background: var(--white); }
.carousel-dot.active { transform: scale(1.2); }

/* Ana sayfa CTA alanı (PIN header'da) */
.home-cta-hint { margin: 0; font-size: 0.9rem; color: var(--gray-600); }
.home-cta-hint strong { color: var(--gray-800); }

/* PIN formu (header dışında kullanılırsa) */
.pin-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pin-form label { font-size: 0.9rem; font-weight: 500; }
.pin-form input[name="pin_kodu"] {
    width: 120px;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.15em;
}
.pin-form input:focus { outline: none; border-color: var(--primary); }

/* Ana CTA butonu */
.home-cta { text-align: center; }
.btn-cta {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
    transition: transform .2s, box-shadow .2s;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37, 99, 235, .5); }

/* ========== Deneme Sayacı sayfası – kara tahta + tebeşir (referans görsel) ========== */
html { height: 100%; }
body.deneme-sayaci .container { max-width: none; }

/* Geri sayım sayfasında üst bar ve footer gizle */
body.sayac-sayfa .site-header,
body.sayac-sayfa .sinav-navbar,
body.sayac-sayfa .site-footer { display: none !important; }
body.sayac-sayfa .main-full {
    min-height: 100vh;
    padding: 0;
}
body.deneme-sayaci .main-full {
    min-height: calc(100vh - 120px);
    padding: 0.35rem 0.35rem 0.5rem;
    display: flex;
    flex-direction: column;
}
body.deneme-sayaci .main-full .deneme-sayaci {
    flex: 1;
    min-height: 0;
}
/* Tam ekran sayaç: yan boşluk minimum — dış tahta çerçevesi genişlesin */
body.deneme-sayaci.sayac-sayfa .main-full {
    min-height: 100vh;
    padding: 0 0 0.25rem;
}

/* Deneme / sayaç: genel tahta zemini; tam ekran sayaçta düz siyah */
body.deneme-sayaci {
    min-height: 100vh;
    color: #e8e8e8;
    font-family: 'Caveat', 'Chalkboard', 'Comic Sans MS', cursive;
}
body.deneme-sayaci.sayac-sayfa {
    background: #12100e !important;
    background-image: none !important;
    overflow-y: hidden;
}
/* Tam ekran sayaç: scrollbar yokken altta tahta şerit görünsün */
body.deneme-sayaci.sayac-sayfa::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: #5c4033;
    pointer-events: none;
    z-index: 3;
}

/* /sinav/{id}/sayac: ahşap tahta çerçevesi yok; alan sayfa zeminiyle birleşir */
body.sayac-sayfa .deneme-sayaci {
    max-width: none;
    width: 100%;
    background: transparent;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box;
}
body.sayac-sayfa .deneme-sayaci::before {
    content: none !important;
    display: none !important;
}

/* /deneme-sayaci – anasayfa ile aynı geniş duvar + geniş tahta çerçevesi */
/* Anasayfa ile aynı: tam sütun yüksekliği + tahta kutusu header–footer arasını doldurur */
body.deneme-sayaci:not(.sayac-sayfa) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.deneme-sayaci:not(.sayac-sayfa) .site-header,
body.deneme-sayaci:not(.sayac-sayfa) .site-footer {
    flex-shrink: 0;
}
body.deneme-sayaci:not(.sayac-sayfa) .main-full {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 2px;
    box-sizing: border-box;
}
body.deneme-sayaci:not(.sayac-sayfa) .main-full .deneme-sayaci {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci.deneme-sayaci-iki-parca {
    padding: 0.75rem 1rem 1rem;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci .deneme-sayaci-header {
    flex-shrink: 0;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci .deneme-sayaci-grid {
    flex: 1;
    min-height: 0;
    align-content: start;
    overflow-y: auto;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci.deneme-sayaci-iki-parca .deneme-sayaci-grid {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci .deneme-alt-sure-bar,
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci .deneme-soru-duzeltme-alt {
    flex-shrink: 0;
}

/* /deneme-sayaci: görünen tüm metinler Arial 11px (tahta içeriği, robot balonu, butonlar) */
body.deneme-sayaci:not(.sayac-sayfa) .main-full,
body.deneme-sayaci:not(.sayac-sayfa) .main-full * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
}
body.deneme-sayaci:not(.sayac-sayfa) .main-full {
    line-height: 1.4;
}
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa),
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
}
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) {
    line-height: 1.4;
}

/* Üst şerit: sınav adı | başlama-bitiş saati — Arial 13px; geri sayım ayrı (26px) */
body.deneme-sayaci:not(.sayac-sayfa) .main-full .deneme-sayaci-header .sayac-ust-sol .deneme-adi,
body.deneme-sayaci:not(.sayac-sayfa) .main-full .deneme-sayaci-header .deneme-ust-saat-etiket,
body.deneme-sayaci:not(.sayac-sayfa) .main-full .deneme-sayaci-header .deneme-ust-saat-deger {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
}
body.deneme-sayaci:not(.sayac-sayfa) .main-full .deneme-sayaci-header .sayac-ust-orta .deneme-geri-sayim,
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-orta .deneme-geri-sayim {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
}
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-sol .deneme-adi,
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) .deneme-sayaci-header .deneme-ust-saat-etiket,
body.deneme-sayaci.deneme-sayaci-embed:not(.sayac-sayfa) .deneme-sayaci-header .deneme-ust-saat-deger {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
}

/* Tebeşir yazı gölgesi – pürüzlü / tozlu his */
body.deneme-sayaci .deneme-sayaci,
body.deneme-sayaci .deneme-sayaci h1,
body.deneme-sayaci .deneme-sayaci h2,
body.deneme-sayaci .deneme-sayaci h3,
body.deneme-sayaci .deneme-sayaci p,
body.deneme-sayaci .deneme-sayaci li,
body.deneme-sayaci .deneme-sayaci span,
body.deneme-sayaci .deneme-sayaci label,
body.deneme-sayaci .deneme-sayaci .deneme-kurallar-icerik {
    text-shadow:
        0 0 1px rgba(255,255,255,.9),
        0 0 2px rgba(255,255,255,.6),
        0 1px 2px rgba(0,0,0,.4),
        1px 1px 0 rgba(255,255,255,.15);
}

/* Tahta çerçevesi: kahverengi ahşap çerçeve, içi siyah tahta */
.deneme-sayaci {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
    background: #0a0a0a;
    border: 14px solid #5c4033;
    border-radius: 4px;
    box-shadow:
        inset 0 0 0 2px rgba(92,64,51,.4),
        0 0 0 2px #6b5344,
        0 8px 24px rgba(0,0,0,.6);
    position: relative;
    min-height: calc(100vh - 200px);
    box-sizing: border-box;
}
.deneme-sayaci::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 80px rgba(0,0,0,.25);
}

/*
 * /deneme-sayaci tam sayfa: ahşap tahta çerçevesi + iç gölge (::before) kapatılır.
 * .deneme-sayaci bloğu bu satırlardan sonra geldiği için önceden border geri geliyordu.
 */
body.deneme-sayaci:not(.sayac-sayfa):not(.deneme-sayaci-embed) .deneme-sayaci {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
body.deneme-sayaci:not(.sayac-sayfa):not(.deneme-sayaci-embed) .deneme-sayaci::before {
    content: none !important;
    display: none !important;
}

/* Sınav başlamasına 5 dk öncesine kadar: ekran iki parça (optik | kurallar) tam kaplasın */
.deneme-sayaci-iki-parca {
    display: flex;
    flex-direction: column;
    max-width: none;
    padding: 0 1rem 1rem;
    min-height: calc(100vh - 120px);
}
.deneme-sayaci-iki-parca .deneme-sayaci-header { flex-shrink: 0; margin-bottom: 0.5rem; }
.deneme-sayaci-iki-parca .deneme-sayaci-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 0;
    min-height: 0;
}
.deneme-sayaci-iki-parca .deneme-saat-orta { display: none; }
.deneme-sayaci-iki-parca .deneme-soru-duzeltme-alt { display: none; }
.deneme-sayaci-iki-parca .deneme-optik-block,
.deneme-sayaci-iki-parca .deneme-kurallar-block {
    overflow: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.deneme-sayaci-iki-parca .deneme-kurallar-icerik { flex: 1; min-height: 0; overflow: auto; }

.deneme-sayaci-header {
    padding: 1.1rem 0 0.9rem;
    border-bottom: 2px solid rgba(255,255,255,.2);
    margin-bottom: 1rem;
}
.deneme-sayaci-header.deneme-ust-uc-kutu {
    align-items: flex-start;
    gap: 0.75rem 1rem;
}
.deneme-ust-geri-baslik {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
}
.deneme-sayaci-header .sayac-ust-orta {
    flex: 1 1 auto;
    min-width: 180px;
}
.deneme-sayaci-header .sayac-ust-orta .deneme-geri-sayim {
    font-size: 2.5rem;
    line-height: 1.1;
}
.deneme-geri-sayim-bos {
    opacity: 0.45;
}
.deneme-onizleme-notu {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(232, 232, 232, 0.7);
}
.deneme-sayaci-header .sayac-ust-orta .deneme-basla-wrap {
    margin: 0.5rem 0 0;
}
.deneme-sayaci-grid.deneme-sayaci-grid-iki-kol {
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr);
}
@media (max-width: 900px) {
    .deneme-sayaci-header.deneme-ust-uc-kutu.sayac-ust-satir {
        flex-direction: column;
        align-items: stretch;
    }
    .deneme-sayaci-header .sayac-ust-sol { text-align: center; }
    .deneme-sayaci-header .sayac-ust-orta { text-align: center; }
    .deneme-sayaci-header .sayac-ust-sag.deneme-ust-saat-blok {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* Deneme üst satır — saatler: okunaklı, süre yok */
.deneme-ust-saat-blok {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    text-align: right;
}
.deneme-ust-saat-satir {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
}
.deneme-ust-saat-etiket {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(232, 232, 232, 0.88);
    white-space: nowrap;
}
.deneme-ust-saat-deger {
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #fafafa;
    line-height: 1.2;
    animation: none;
}

/* /deneme-sayaci: üst şerit (ad | süre | saatler) daha dar / kompakt */
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci-header.deneme-ust-uc-kutu {
    padding: 0.5rem 0 0.45rem;
    margin-bottom: 0.55rem;
    gap: 0.35rem 0.55rem;
}
body.deneme-sayaci:not(.sayac-sayfa) .sayac-ust-satir {
    gap: 0.45rem;
    align-items: center;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-orta {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 11rem;
    padding: 0 0.35rem;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-orta .deneme-geri-sayim {
    font-size: 1.65rem;
    line-height: 1.05;
    letter-spacing: 0.03em;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-orta .deneme-basla-wrap {
    margin: 0.35rem 0 0;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-sayaci-header .sayac-ust-orta .deneme-basla-wrap .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.88rem;
}
body.deneme-sayaci:not(.sayac-sayfa) .sayac-ust-sol .deneme-adi {
    font-size: 1.05rem;
    line-height: 1.2;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-ust-saat-blok {
    gap: 0.25rem;
    flex-shrink: 0;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-ust-saat-satir {
    gap: 0.2rem 0.35rem;
    line-height: 1.15;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-ust-saat-etiket {
    font-size: 0.78rem;
    font-weight: 600;
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-ust-saat-deger {
    font-size: 0.88rem;
    font-weight: 700;
}

.deneme-header-center { text-align: center; }

/* Okul adı: üst kahverengi çıta ile hemen altındaki kahverengi çizgi arasındaki boşlukta */
.deneme-okul-adi-cita {
    padding: 0.5rem 0 0.6rem;
    border-bottom: 3px solid #5c4033;
    margin: 0 0 1rem 0;
    text-align: center;
    overflow: hidden; /* marquee taşmasını gizle */
}
.deneme-okul-adi-metin {
    font-size: 1.22rem;
    font-weight: 600;
    color: rgba(253, 230, 138, 0.95);
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-block;
    animation: okulAdiMarquee 12s linear infinite;
}

@keyframes okulAdiMarquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .deneme-okul-adi-metin {
        animation: none;
        transform: none;
    }
}

/* Geri sayım sayfası: sol = deneme adı, orta = Sayaç, sağ = saat bilgileri (alt alta) */
.sayac-ust-satir {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sayac-ust-sol {
    text-align: left;
    flex: 0 0 auto;
}
.sayac-ust-sol .deneme-adi {
    font-size: 1.35rem;
    font-weight: 700;
}
.sayac-ust-orta {
    flex: 0 0 auto;
    text-align: center;
    margin: 0;
    padding: 0 1rem;
}
.sayac-ust-orta .sayac-geri-sayim {
    margin: 0;
}
.sayac-ust-sag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-end;
}
.sayac-ust-sag.sayac-saat-alt-alta {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}
.sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-label,
.sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-value { font-size: 0.9rem; }
/* Sayac sayfası: üst satırı daralt, soru görselleri daha geniş yer kaplasın */
.sayac-sayfa-wrap .deneme-sayaci-header.sayac-ust-satir {
    padding: 0.4rem 0 0.45rem;
    margin-bottom: 0.5rem;
    border-bottom-width: 1px;
}
.sayac-sayfa-wrap .sayac-ust-satir { gap: 0.5rem; }
.sayac-sayfa-wrap .sayac-ust-sol .deneme-adi { font-size: 1.1rem; }
.sayac-sayfa-wrap .sayac-ust-orta { padding: 0 0.75rem; }
.sayac-sayfa-wrap .sayac-ust-orta .sayac-geri-sayim { font-size: 2rem; }
/* Tam ekran sayaç: başlama/bitiş saati net okunur */
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta {
    gap: 0.45rem;
}
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-sure-item {
    align-items: baseline;
    gap: 0.45rem 0.6rem;
    line-height: 1.35;
}
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-label,
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-value {
    font-size: unset;
}
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-label {
    font-family: var(--font);
    font-size: 1.08rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.96);
    letter-spacing: 0.02em;
    max-width: 11.5rem;
    line-height: 1.35;
}
.sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-value {
    font-family: ui-monospace, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.42rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    animation: none;
}

/* Sayaç tam ekran: üst satır ad + saatler Arial 13px; geri sayım 26px */
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .sayac-ust-sol .deneme-adi,
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-label,
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .sayac-ust-sag.sayac-saat-alt-alta .deneme-alt-value {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    font-variant-numeric: tabular-nums;
}
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .sayac-ust-orta .sayac-geri-sayim {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    font-variant-numeric: tabular-nums;
}

.deneme-okul-tebesir {
    margin: 0 0 0.25rem 0;
    font-family: 'Caveat', 'Chalkboard', 'Comic Sans MS', cursive;
    font-size: 1.75rem;
    font-weight: 600;
    font-style: italic;
    color: #f5f5f5;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 2px rgba(255,255,255,.95),
        0 0 4px rgba(255,255,255,.5),
        0 1px 3px rgba(0,0,0,.5),
        1px 1px 0 rgba(255,255,255,.2);
}
.deneme-adi {
    display: inline-block;
    padding: 0.2rem 1.2rem;
    font-weight: 700;
    font-size: 1.85rem;
    color: #f5f5f5;
    font-style: italic;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.deneme-sayaci-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.2fr) minmax(220px, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}
@media (max-width: 900px) {
    .deneme-sayaci-grid { grid-template-columns: 1fr; }
}

.deneme-block-baslik {
    margin: 0 0 0.75rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #f0f0f0;
    border-bottom: 1px solid rgba(255,255,255,.25);
    padding-bottom: 0.35rem;
}

.deneme-optik-block {
    background: transparent;
    padding: 1.1rem 1.2rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.12);
}
.deneme-optik-listesi {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}
.deneme-optik-listesi li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0f0f0;
    font-size: 1.2rem;
    font-weight: 500;
}
.deneme-optik-listesi li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f0f0f0;
    box-shadow: 0 0 4px rgba(255,255,255,.5);
}
.deneme-optik-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.deneme-optik-tablo th,
.deneme-optik-tablo td {
    padding: 0.45rem 0.5rem;
    border: 1px solid var(--gray-200);
    text-align: left;
}
.deneme-optik-tablo thead th { background: var(--gray-800); color: var(--white); font-weight: 600; }
.deneme-optik-alt-baslik th { background: var(--gray-200); color: var(--gray-800); font-size: 0.8rem; }
.deneme-optik-alt-baslik th span { display: inline-block; width: 2rem; text-align: center; }
.deneme-optik-tablo tbody td:nth-child(3) { display: flex; gap: 0.25rem; }
.deneme-optik-tablo tbody td:nth-child(3) span { flex: 1; text-align: center; min-width: 2rem; border: 1px solid var(--gray-200); border-radius: 4px; padding: 0.2rem; }

.deneme-saat-block {
    background: transparent;
    padding: 1.25rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.12);
}
.deneme-saat-alanlar { margin-bottom: 1rem; }
.deneme-saat-satir {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.deneme-saat-etiket { font-weight: 500; color: #f0f0f0; min-width: 10rem; font-size: 1.15rem; }
.deneme-saat-deger { font-variant-numeric: tabular-nums; font-weight: 600; color: #f5f5f5; font-size: 1.15rem; }
.deneme-geri-sayim-wrap { text-align: center; padding: 1rem 0; }
.deneme-geri-sayim-baslik {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #f0f0f0;
}
.deneme-geri-sayim {
    font-size: 2.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f5f5f5;
    letter-spacing: 0.05em;
    margin: 0.5rem 0;
}
.deneme-geri-sayim.warning { color: #fbbf24; }
.deneme-geri-sayim.time-up { color: #f87171; }
.deneme-basla-wrap { margin: 1rem 0 0; }
.deneme-sayaci-bos { color: #d1d5db; margin: 1rem 0; font-size: 1.1rem; }

.deneme-kurallar-block {
    background: transparent;
    padding: 1.1rem 1.2rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.12);
    min-height: 120px;
}
.deneme-kurallar-icerik {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #f0f0f0;
}
.deneme-kurallar-listesi {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.deneme-kurallar-listesi li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.deneme-kurallar-listesi li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f0f0f0;
    box-shadow: 0 0 4px rgba(255,255,255,.5);
    flex-shrink: 0;
    margin-top: 0.55em;
}
.deneme-kurallar-listesi .kural-rich {
    flex: 1;
    min-width: 0;
    color: inherit;
}
.deneme-kurallar-yok { color: #9ca3af; font-style: italic; margin: 0; }

.deneme-soru-duzeltme-block {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2px;
}

.deneme-alt-sure-bar {
    margin-top: 1.25rem;
    padding: 0.9rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}
.deneme-alt-sure-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-variant-numeric: tabular-nums;
    font-size: 1.1rem;
}
.deneme-alt-label {
    font-weight: 600;
    color: #e5e7eb;
    font-size: 1.15rem;
}
.deneme-alt-value {
    font-weight: 700;
    color: #f5f5f5;
    font-size: 1.2rem;
    animation: deneme-sure-pulse 1s ease-in-out infinite alternate;
}

@keyframes deneme-sure-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* Deneme Sayacı: sağ alt köşe yüzen buton (tahta dışında, her zaman görünür) */
body.deneme-sayaci:not(.sayac-sayfa):not(.deneme-sayaci-embed) .deneme-sayac-baslat-btn,
body.deneme-sayaci:not(.sayac-sayfa):not(.deneme-sayaci-embed) a.deneme-sayac-baslat-btn {
    position: fixed !important;
    right: 1rem !important;
    bottom: 1.25rem !important;
    left: auto !important;
    top: auto !important;
    z-index: 800 !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(37, 99, 235, 0.4) !important;
    text-decoration: none !important;
    line-height: 1.2;
}

@media (max-width: 768px) {
    body.deneme-sayaci:not(.sayac-sayfa):not(.deneme-sayaci-embed) .deneme-sayac-baslat-btn {
        right: 0.5rem !important;
        bottom: 1rem !important;
        padding: 0.6rem 1.15rem !important;
        font-size: 0.95rem !important;
    }
}

/* Sayaç sayfası (/sinav/{id}/sayac) */
.sayac-sayfa-wrap {
    padding: 1rem 1.5rem 2rem;
    position: relative;
}
body.sayac-sayfa .sayac-sayfa-wrap {
    padding: 0;
}
.sayac-kapat-btn {
    position: fixed;
    top: 0.75rem;
    right: 1.25rem;
    z-index: 100;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #374151;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: background 0.2s, color 0.2s;
}
.sayac-kapat-btn:hover {
    background: #4b5563;
    color: #fff;
}
body.sayac-sayfa .sayac-kapat-btn {
    background: rgba(92, 64, 51, 0.9);
    color: #e8e8e8;
    border: 1px solid rgba(255,255,255,.2);
}
body.sayac-sayfa .sayac-kapat-btn:hover {
    background: #5c4033;
    color: #fff;
}
.sayac-geri-sayim-section {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a0a0a;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}
.sayac-ust-satir .sayac-geri-sayim-section {
    margin-bottom: 0;
    padding: 0;
    position: static;
}
.sayac-sayfa-wrap .deneme-sayaci-header.sayac-ust-satir {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a0a0a;
}
.sayac-geri-sayim {
    font-size: 3.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f5f5f5;
    letter-spacing: 0.08em;
    margin: 0.5rem 0;
}
.sayac-geri-sayim.warning { color: #fbbf24; }
.sayac-geri-sayim.time-up { color: #f87171; }
.sayac-saat-section {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2px;
}
.sayac-saat-section .sayac-saat-alanlar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}
.sayac-ust-sag.sayac-saat-alanlar {
    justify-content: flex-end;
}
.sayac-sayfa-wrap .sayac-duzeltme {
    margin-top: 0.5rem;
    min-height: calc(100vh - 17rem);
}
.sayac-sayfa-wrap.sayac-no-duzeltme {
    min-height: calc(100vh - 8rem);
}
.sayac-sayfa-wrap.sayac-no-duzeltme .deneme-sayaci-header.sayac-ust-satir {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-height: 68vh;
    padding: 1rem 0.5rem 1.5rem;
}
.sayac-sayfa-wrap.sayac-no-duzeltme .sayac-ust-sol,
.sayac-sayfa-wrap.sayac-no-duzeltme .sayac-ust-sag {
    text-align: center;
}
.sayac-sayfa-wrap.sayac-no-duzeltme .sayac-ust-orta {
    margin-top: auto;
    margin-bottom: 2vh;
}
.sayac-sayfa-wrap.sayac-no-duzeltme .sayac-ust-orta .sayac-geri-sayim {
    font-size: clamp(4rem, 13vw, 8rem);
    line-height: 1;
    letter-spacing: 0.06em;
}
.sinav-maskot {
    position: fixed;
    right: 0.5rem;
    bottom: 0.3rem;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    pointer-events: none;
}
.sinav-maskot-toolbar {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    max-width: min(380px, calc(100vw - 2.5rem));
}
.robot-konusma-btn {
    font-size: 1rem;
    line-height: 1;
    padding: 0.28rem 0.5rem;
    margin-right: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.robot-konusma-btn:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.35);
}
.robot-konusma-btn:active {
    transform: scale(0.96);
}
.robot-konusma-btn.robot-konusma-btn-aktif {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}
.sinav-maskot.sinav-maskot-sayac-ustunde {
    right: 0.5rem;
    bottom: 0.3rem;
}
/* /deneme-sayaci: balon üstte, robot altta (varsayılan sıra); sağ alt köşe */
body.deneme-sayaci:not(.sayac-sayfa) .sinav-maskot.sinav-maskot-sayac-ustunde {
    left: auto;
    top: auto;
    right: max(0.2rem, env(safe-area-inset-right, 0px));
    bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
}
body.deneme-sayaci:not(.sayac-sayfa) .sinav-maskot-sayac-ustunde .sinav-maskot-balon {
    margin-right: 0;
}
.sinav-maskot-sayac-ustunde .sinav-maskot-balon {
    max-width: 300px;
    min-width: 200px;
}
body.deneme-sayaci.sayac-sayfa .sinav-maskot-balon {
    max-width: min(380px, calc(100vw - 2.5rem));
    min-width: 200px;
}
.sinav-maskot-balon b,
.sinav-maskot-balon strong,
.sinav-maskot-balon i,
.sinav-maskot-balon em,
.sinav-maskot-balon u,
.sinav-maskot-balon span,
.sinav-maskot-balon p,
.sinav-maskot-balon div {
    color: inherit;
}
.sinav-maskot-balon {
    position: relative;
    max-width: 260px;
    min-width: 180px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    border-radius: 16px 16px 16px 4px;
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    animation: maskotBubblePulse 2.5s ease-in-out infinite;
    margin-right: 0.5rem;
}
.sinav-maskot-balon::after {
    content: '';
    position: absolute;
    right: 22px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 11px solid #ffffff;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.08));
}
.sinav-maskot-fig {
    position: relative;
    width: 94px;
    height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    transform-origin: 50% 92%;
    animation: maskotBob 2s ease-in-out infinite, maskotWave 3s ease-in-out infinite;
    overflow: visible;
}
.robot-kafa {
    width: 74px;
    height: 54px;
    margin-top: 0;
    border-radius: 12px 12px 10px 10px;
    background: linear-gradient(165deg, #94a3b8 0%, #64748b 35%, #475569 70%, #334155 100%);
    border: 2px solid #64748b;
    box-shadow: inset 2px 2px 6px rgba(255,255,255,0.15), inset -2px -2px 6px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.25);
    position: relative;
}
.robot-kafa.robot-celik {
    border-radius: 14px 14px 12px 12px;
}
.robot-kafa.robot-celik::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, #64748b, #475569);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}
.robot-yuz {
    position: absolute;
    inset: 5px 6px 14px 6px;
    border-radius: 6px;
    overflow: hidden;
    background: #0f172a;
    border: 2px solid #334155;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.robot-goz {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f0f9ff 0%, #38bdf8 45%, #0f172a 100%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.75);
}
.robot-agiz {
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 16px;
    height: 4px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    animation: maskotTalk 0.4s ease-in-out infinite;
}
.robot-govde {
    width: 64px;
    height: 44px;
    margin-top: 4px;
    border-radius: 14px 14px 12px 12px;
    background: linear-gradient(165deg, #64748b 0%, #475569 40%, #334155 85%, #1e293b 100%);
    border: 2px solid #475569;
    box-shadow: inset 2px 2px 6px rgba(255,255,255,0.1), inset -2px -2px 6px rgba(0,0,0,0.35), 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
}
.robot-govde::before,
.robot-govde::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 10px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(165deg, #64748b 0%, #475569 50%, #334155 100%);
    border: 1px solid #475569;
    box-shadow: inset 1px 1px 3px rgba(255,255,255,0.08), -1px 0 4px rgba(0,0,0,0.25);
}
.robot-govde::before {
    left: -8px;
    transform-origin: 100% 0;
    animation: robotKolSol 1.1s ease-in-out infinite;
}
.robot-govde::after {
    right: -8px;
    transform-origin: 0% 0;
    box-shadow: inset 1px 1px 3px rgba(255,255,255,0.08), 1px 0 4px rgba(0,0,0,0.25);
    animation: robotKolSag 1.1s ease-in-out infinite;
}
.robot-alt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    margin-top: 2px;
    width: 100%;
    max-width: 72px;
}
.robot-bacak-kolon {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.robot-bacak {
    width: 9px;
    height: 24px;
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(180deg, #64748b 0%, #475569 55%, #334155 100%);
    border: 1px solid #475569;
    box-shadow: inset 1px 0 2px rgba(255,255,255,0.1);
    transform-origin: top center;
}
.robot-bacak-sol .robot-bacak {
    animation: robotBacakSol 0.7s ease-in-out infinite;
}
.robot-bacak-sag .robot-bacak {
    animation: robotBacakSag 0.7s ease-in-out infinite;
}
.robot-ayak {
    width: 16px;
    height: 7px;
    margin-top: -1px;
    border-radius: 4px 4px 6px 6px;
    background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
    border: 1px solid #334155;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
    transform-origin: top center;
}
.robot-bacak-sol .robot-ayak {
    animation: robotAyakSol 0.7s ease-in-out infinite;
}
.robot-bacak-sag .robot-ayak {
    animation: robotAyakSag 0.7s ease-in-out infinite;
}
@keyframes robotKolSol {
    0%, 100% { transform: rotate(10deg); }
    50% { transform: rotate(28deg); }
}
@keyframes robotKolSag {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(-28deg); }
}
@keyframes robotBacakSol {
    0%, 100% { transform: rotate(6deg); }
    50% { transform: rotate(-5deg); }
}
@keyframes robotBacakSag {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(5deg); }
}
@keyframes robotAyakSol {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(1px); }
}
@keyframes robotAyakSag {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(1px); }
}
.sinav-maskot-konusuyor .robot-agiz {
    animation: maskotTalk 0.4s ease-in-out infinite;
}
.sinav-maskot-konusuyor::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 20px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    animation: maskotGlow 1.5s ease-in-out infinite;
}
@keyframes maskotBob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
}
@keyframes maskotWave {
    0%, 100% { rotate: 0deg; }
    25% { rotate: -4deg; }
    75% { rotate: 4deg; }
}
@keyframes maskotBubblePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes maskotTalk {
    0%, 100% { transform: translateX(-50%) scaleY(0.75); opacity: 0.8; }
    50% { transform: translateX(-50%) scaleY(1.25); opacity: 1; }
}
@keyframes maskotGlow {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* Görsel zoom overlay: tam ekran, görsel ortada */
.sayac-gorsel-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.sayac-gorsel-zoom-overlay.acik {
    opacity: 1;
    visibility: visible;
}
.sayac-gorsel-zoom-kapat {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sayac-gorsel-zoom-kapat:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.sayac-gorsel-zoom-kontroller {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,.7);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
}
.sayac-zoom-azalt,
.sayac-zoom-artir {
    padding: 0.4rem 0.75rem;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.sayac-zoom-azalt:hover:not(:disabled),
.sayac-zoom-artir:hover:not(:disabled) {
    background: rgba(255,255,255,.3);
    color: #fff;
}
.sayac-zoom-azalt:disabled,
.sayac-zoom-artir:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sayac-zoom-yuzde {
    min-width: 3.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #f5f5f5;
}
.sayac-gorsel-zoom-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.15s ease;
}
.sayac-sorulara-link {
    text-align: center;
    margin-top: 1.5rem;
}

.deneme-soru-duzeltme-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

/* /sinav/{id}/sayac: Soru düzeltme alanını büyüt (genişlet + görseli büyüt) */
.sayac-sayfa-wrap .deneme-soru-duzeltme-block.sayac-duzeltme {
    padding: 1.75rem 1.5rem;
}
.sayac-sayfa-wrap .deneme-soru-duzeltme-liste {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    min-height: calc(100vh - 20.5rem);
    align-content: start;
}
.sayac-sayfa-wrap .deneme-soru-resim-alan {
    min-height: 165px;
}
.deneme-soru-karti {
    background: rgba(0,0,0,.35);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
}
.deneme-soru-ders {
    display: block;
    padding: 0.4rem 0.6rem;
    background: rgba(0,0,0,.6);
    color: #f5f5f5;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border-radius: 2px 2px 0 0;
}
.deneme-soru-resim-alan {
    aspect-ratio: 4/3;
    background: rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}
.deneme-soru-zoom-btn {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    background: rgba(0,0,0,.8);
    color: #f5f5f5;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.deneme-soru-zoom-btn:hover {
    background: rgba(0,0,0,.95);
    color: #fff;
}
.deneme-soru-resim { width: 100%; height: 100%; object-fit: contain; display: block; }
.deneme-soru-resim-yok {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deneme-soru-kitapcik {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.25);
    font-weight: 600;
    font-size: 1rem;
    color: #f0f0f0;
}
.deneme-kitapcik-a, .deneme-kitapcik-b { padding: 0.35rem 0.6rem; font-variant-numeric: tabular-nums; }

/* /sinav/{id}/sayac: soru düzeltme kartı metinleri Arial 12px */
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .deneme-soru-ders,
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .deneme-soru-kitapcik,
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .deneme-kitapcik-a,
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .deneme-kitapcik-b {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
}
body.deneme-sayaci.sayac-sayfa .sayac-sayfa-wrap .deneme-soru-ders {
    text-transform: uppercase;
}

/* Deneme sayacı – butonlar tebeşir çerçeveli */
body.deneme-sayaci .deneme-sayaci .btn-primary {
    background: transparent;
    color: #f5f5f5;
    border: 2px solid rgba(255,255,255,.7);
    box-shadow: 0 0 8px rgba(255,255,255,.2);
}
body.deneme-sayaci .deneme-sayaci .btn-primary:hover {
    background: rgba(255,255,255,.12);
    border-color: #f5f5f5;
}
body.deneme-sayaci .deneme-sayaci .btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 2px solid rgba(255,255,255,.4);
}
body.deneme-sayaci .deneme-sayaci .btn-secondary:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.6);
}

@keyframes denemeBaslikYanipSonme {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.28; }
}
body.deneme-sayaci:not(.sayac-sayfa) .deneme-block-baslik {
    animation: denemeBaslikYanipSonme 1.15s ease-in-out infinite;
}

.deneme-ekranlari-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0;
}
.deneme-ekranlari-icerik {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}
.deneme-ekranlari-sidebar {
    position: sticky;
    top: 0.75rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.65rem;
}
.deneme-ekranlari-sidebar h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: #f4f4f5;
}
.deneme-ekran-ust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.deneme-ekran-ust-bar h1 {
    margin: 0;
}
.deneme-ekran-filtre-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
}
.deneme-ekran-filtre-form input,
.deneme-ekran-filtre-form select {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f4f4f5;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    min-height: 34px;
}
.deneme-ekranlari-aksiyonlar {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
}
@media (max-width: 1500px) {
    .deneme-ekranlari-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1150px) {
    .deneme-ekranlari-icerik { grid-template-columns: 1fr; }
    .deneme-ekranlari-sidebar { position: static; }
}
@media (max-width: 760px) {
    .deneme-ekranlari-grid { grid-template-columns: 1fr; }
}
.deneme-ekran-kart {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem;
}
.deneme-ekran-kart-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.deneme-ekran-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.35rem;
    font-size: 0.78rem;
    color: rgba(232, 232, 232, 0.72);
}
.deneme-ekran-kart-ust strong { color: #f4f4f5; }
.deneme-ekran-pin {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(232, 232, 232, 0.72);
    margin-left: auto;
    white-space: nowrap;
}
.deneme-ekran-butonlar {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}
.deneme-ekran-iframe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.deneme-ekran-iframe-grid iframe {
    width: 100%;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #0b0b0b;
}

/* Deneme Ekranlari sayfasi: tum genisligi kullan */
body.page-hesap.deneme-ekranlari-sayfa .main-full {
    justify-content: stretch;
    padding: 0.75rem;
}
body.page-hesap.deneme-ekranlari-sayfa .hesap-layout {
    max-width: none;
    margin: 0;
    width: 100%;
}
body.page-hesap.deneme-ekranlari-sayfa .hesap-sahne {
    max-width: none;
    width: 100%;
    margin: 0;
}
body.page-hesap.deneme-ekranlari-sayfa .kayitli-sinav-layout {
    display: block;
}
body.page-hesap.deneme-ekranlari-sayfa .kayitli-sinav-liste-kol {
    width: 100%;
    max-width: none;
}

.admin-ozet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0.7rem;
}
.admin-ozet-kart {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.8rem;
}
.admin-ozet-kart h2 {
    margin: 0;
    font-size: 1rem;
    color: rgba(232, 232, 232, 0.82);
}
.admin-ozet-kart p {
    margin: 0.35rem 0 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8fafc;
}
.admin-hizli-linkler {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.admin-hizli-kart {
    flex: 1 1 200px;
    max-width: 340px;
    display: block;
    padding: 0.9rem 1.05rem;
    background: rgba(15, 25, 20, 0.75);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.admin-hizli-kart:hover {
    border-color: rgba(147, 197, 253, 0.45);
    background: rgba(15, 35, 28, 0.88);
}
.admin-hizli-baslik {
    display: block;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.admin-hizli-aciklama {
    display: block;
    font-size: 0.82rem;
    color: rgba(200, 210, 205, 0.88);
    line-height: 1.4;
}

.admin-muhasebe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-top: 0.85rem;
}
.admin-muhasebe-kart-ok .admin-muhasebe-sayi {
    color: #86efac;
}
.admin-muhasebe-kart-bekleme .admin-muhasebe-sayi {
    color: #fcd34d;
}
.admin-muhasebe-kart-gelir .admin-muhasebe-sayi {
    color: #93c5fd;
}
.admin-muhasebe-sayi {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0.35rem 0 0;
}
.admin-muhasebe-paket-ad {
    margin: 0.4rem 0 0.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}
.admin-muhasebe-alt {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(200, 210, 205, 0.9);
}
.admin-muhasebe-not {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: rgba(180, 190, 185, 0.85);
    line-height: 1.45;
}
.admin-muhasebe-linkler {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-paket-form-panel {
    margin-top: 0.75rem;
}
.admin-paket-form .admin-paket-form-grid {
    display: grid;
    grid-template-columns: 1fr minmax(120px, 160px);
    gap: 0.75rem;
    align-items: end;
}
@media (max-width: 560px) {
    .admin-paket-form .admin-paket-form-grid {
        grid-template-columns: 1fr;
    }
}
.admin-paket-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 200px;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: #f4f4f5;
    font-size: 0.92rem;
    line-height: 1.45;
    resize: vertical;
}
.admin-paket-form-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-paket-navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-paket-nav-link {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(232, 232, 232, 0.88);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.admin-paket-nav-link:hover {
    color: #f8fafc;
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(147, 197, 253, 0.35);
}
.admin-paket-nav-link.active {
    color: #fef3c7;
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.45);
}

.admin-paketler-liste {
    margin-top: 0.5rem;
}
.admin-paketler-bos {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(200, 210, 205, 0.9);
    margin: 0;
}
.admin-paketler-bos a {
    color: #93c5fd;
    text-decoration: underline;
}
.admin-paketler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.admin-paket-kart {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}
.admin-paket-kart-baslik {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    color: #fef3c7;
}
.admin-paket-kart-fiyat {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #93c5fd;
}
.admin-paket-kart-aciklama {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    color: rgba(200, 210, 205, 0.9);
    line-height: 1.4;
}
.admin-paket-kart-ozellikler {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: rgba(232, 232, 232, 0.85);
    line-height: 1.5;
}
.admin-paket-kart-btn {
    display: inline-block;
}

.admin-kullanici-tablo-wrap {
    margin-top: 0.85rem;
    overflow-x: auto;
}
.admin-kullanici-tablo {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.admin-kullanici-tablo th,
.admin-kullanici-tablo td {
    padding: 0.56rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
    white-space: nowrap;
}
.admin-kullanici-tablo th {
    color: #f8fafc;
    font-size: 0.82rem;
}
.admin-kullanici-tablo td {
    color: rgba(232, 232, 232, 0.9);
    font-size: 0.88rem;
}
.admin-odeme-durum {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.admin-odeme-aktif {
    background: rgba(22, 163, 74, 0.25);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.admin-odeme-pasif {
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.35);
}
.admin-durum-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.admin-durum-aktif {
    background: rgba(22, 163, 74, 0.25);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.admin-durum-pasif {
    background: rgba(100, 116, 139, 0.3);
    color: rgba(203, 213, 225, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.admin-odeme-form {
    margin: 0;
}
.admin-odeme-durum-aksiyon {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}
.admin-odeme-form .hesap-btn {
    margin: 0;
    padding: 0.36rem 0.58rem;
    font-size: 0.77rem;
}
.admin-odeme-form .btn-outline {
    background: transparent;
    border: 1px solid rgba(240, 240, 240, 0.32);
    color: rgba(232, 232, 232, 0.95);
}
.admin-odeme-form .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
    .admin-ozet-grid { grid-template-columns: 1fr; }
}

/* Admin giris: kompakt panel */
.admin-login-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.admin-login-sahne {
    max-width: 520px;
    margin: 0 auto;
}
.admin-login-tahta .hesap-tahta-ic {
    padding: 1.1rem 1rem 1.15rem;
}
.admin-login-tahta .hesap-ust {
    margin-bottom: 0.75rem;
}
.admin-login-tahta .hesap-baslik {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}
.admin-login-tahta .hesap-lead {
    font-size: 0.9rem;
    margin: 0;
}
.admin-login-tahta .hesap-form label {
    font-size: 0.72rem;
}
.admin-login-tahta .hesap-form input {
    padding: 0.52rem 0.72rem;
    font-size: 0.92rem;
}
.admin-login-tahta .hesap-btn {
    margin-top: 0.75rem;
    padding: 0.52rem 0.9rem;
    font-size: 0.88rem;
}
