@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #eef1f7;
    --card: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff6ff;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --amber: #d97706;
    --amber-soft: #fef3c7;
    --red: #ef4444;
    --red-soft: #fee2e2;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.06);
    --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
}

* { -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(1200px 600px at 80% -10%, #dbe7ff 0%, transparent 60%),
                radial-gradient(1000px 500px at -10% 0%, #e0f2fe 0%, transparent 55%),
                var(--bg);
    color: #334155;
    margin: 0;
    padding: 18px 10px 40px;
}

.container {
    width: 100%; max-width: 1420px; margin: 0 auto;
    background: var(--card); padding: 20px 18px 24px;
    border-radius: 18px; box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,240,.8);
    box-sizing: border-box;
}

/* ---------- Giriş Ekranı ---------- */
.auth-container {
    max-width: 420px; margin: 90px auto; text-align: center;
    padding: 44px 36px; background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-radius: 20px; box-shadow: var(--shadow-lg);
    border-top: none; border: 1px solid rgba(226,232,240,.9);
    position: relative; overflow: hidden;
}
.auth-container::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #22d3ee);
}
.secure-badge {
    background: #ecfdf5; color: #047857; padding: 7px 14px; border-radius: 999px;
    font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px; border: 1px solid #a7f3d0; gap: 6px; letter-spacing: .2px;
}
.auth-container h2 { margin-top: 0; color: var(--ink); margin-bottom: 26px; font-size: 23px; font-weight: 800; letter-spacing: -.3px; }
.auth-input {
    width: 100%; padding: 14px 16px; font-size: 14px; border: 1.5px solid var(--line-strong);
    border-radius: 10px; box-sizing: border-box; margin-bottom: 15px; text-align: center;
    background-color: #f8fafc; transition: all .2s ease; font-family: inherit;
}
.auth-input:focus { border-color: var(--brand); outline: none; background-color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.auth-select {
    width: 100%; padding: 14px 16px; font-size: 14px; border: 1.5px solid var(--line-strong);
    border-radius: 10px; box-sizing: border-box; margin-bottom: 15px; text-align: left;
    background-color: #f8fafc; font-family: inherit; transition: all .2s ease;
}
.auth-select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.auth-btn {
    width: 100%; padding: 14px; font-size: 15px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: 700;
    transition: all .2s ease; margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(37,99,235,.28); font-family: inherit; letter-spacing: .2px;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,.34); filter: brightness(1.04); }
.auth-btn:active { transform: translateY(0); }
.auth-btn-alt { background: #f1f5f9; color: #334155; border: 1.5px solid var(--line-strong); box-shadow: none; }
.auth-btn-alt:hover { background: #e2e8f0; transform: translateY(-1px); }
.system-info-text { font-size: 11px; color: var(--muted); margin-top: 16px; line-height: 1.5; }

/* ---------- Modal ---------- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,.55); align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(6px); }
.modal-box { background: white; padding: 32px; border-radius: 18px; width: 90%; max-width: 400px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: modalPop .18s ease; }
@keyframes modalPop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h3 { margin-top: 0; color: var(--ink); margin-bottom: 22px; text-align: center; font-size: 19px; font-weight: 800; }
.modal-close { float: right; cursor: pointer; font-weight: bold; color: #94a3b8; font-size: 15px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; transition: all .15s ease; }
.modal-close:hover { color: var(--red); background: var(--red-soft); }

.curr-input { width: 100%; padding: 7px 8px; font-size: 11px; border: 1.5px solid var(--line-strong); border-radius: 6px; box-sizing: border-box; outline: none; font-family: inherit; transition: all .15s ease; }
.curr-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* ---------- Toast ---------- */
.toast-notification {
    position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-24px);
    background: linear-gradient(135deg, #059669, #10b981); color: white; padding: 13px 26px;
    border-radius: 999px; font-weight: 700; font-size: 14px;
    box-shadow: 0 12px 28px rgba(5,150,105,.35); z-index: 10000;
    opacity: 0; visibility: hidden; transition: all .35s cubic-bezier(.2,.9,.3,1.2);
}
.toast-notification.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- Üst Başlık ---------- */
.header-section {
    display: flex; flex-direction: column;
    margin-bottom: 16px; padding: 12px 14px 14px;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
    z-index: 50; border-radius: 14px 14px 0 0;
}

.app-title {
    margin: 0; font-size: 18px; color: var(--ink);
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-weight: 800; letter-spacing: -.2px;
}

#saveStatus { font-size: 11px; color: #059669; background: #d1fae5; padding: 4px 11px; border-radius: 999px; font-weight: 700; letter-spacing: .2px; }

/* ---------- Üst Satır ---------- */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}
.quote-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 0;
    flex-shrink: 0;
}
.tr-flag { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fca5a5; box-shadow: 0 0 0 4px rgba(239,68,68,.12), 0 4px 10px rgba(239,68,68,.25); }
.quote-text { display: flex; flex-direction: column; align-items: flex-start; }
.quote-main { font-size: 12px; font-style: italic; font-weight: 600; color: #1e40af; line-height: 1.2; letter-spacing: .2px; }
.quote-author { font-size: 11px; font-weight: 700; color: var(--red); align-self: flex-end; margin-top: 3px; }

/* ---------- Tab Bar ---------- */
.tab-bar {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; padding-top: 4px;
    border-top: 1px solid var(--line);
}
.tab-bar-left {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tab-bar-center {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-left: auto;
}
.tab-btn {
    padding: 7px 14px; font-size: 12px; font-weight: 700;
    border: 1.5px solid var(--line-strong); background: #f1f5f9;
    color: #475569; border-radius: 9px; cursor: pointer;
    font-family: inherit; transition: all .18s ease; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 5px;
}
.tab-btn:hover { background: #e2e8f0; color: #1e293b; transform: translateY(-1px); }
.tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
}
.student-controls { display: flex; gap: 6px; align-items: center; background: #f8fafc; border: 1px solid var(--line); padding: 4px 6px; border-radius: 10px; flex-wrap: wrap; }

.gender-male { color: #2563eb !important; font-weight: bold; }
.gender-female { color: #dc2626 !important; font-weight: bold; }

/* ---------- Butonlar ---------- */
.btn {
    padding: 7px 13px; border: none; border-radius: 9px; font-size: 12px; font-weight: 700;
    cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
    font-family: inherit; transition: all .18s ease; letter-spacing: .1px; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; box-shadow: 0 4px 10px rgba(37,99,235,.25); }
.btn-success { background: linear-gradient(135deg, #16a34a, #15803d); color: white; box-shadow: 0 4px 10px rgba(22,163,74,.25); }
.btn-warning { background: linear-gradient(135deg, #d97706, #b45309); color: white; box-shadow: 0 4px 10px rgba(217,119,6,.25); }
.btn-logout { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; box-shadow: 0 4px 10px rgba(239,68,68,.22); margin-left: auto; }
.btn-subtle { background: #f1f5f9; color: #475569; border: 1px solid var(--line-strong); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-subtle:hover { background: #e2e8f0; color: #1e293b; }

.icon-btn { background: #f1f5f9; border: 1px solid var(--line-strong); font-size: 13px; cursor: pointer; padding: 4px 7px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; transition: all .15s ease; }
.icon-btn:hover:not(:disabled) { background: #e2e8f0; transform: translateY(-1px); }
.icon-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ============================================= */
/* ⏳ LGS INLINE TIMER & YAKIT DEPOSU            */
/* ============================================= */
.lgs-inline-timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.28);
    transition: background 0.8s ease, box-shadow 0.8s ease;
    font-family: inherit;
    user-select: none;
    position: relative;
    overflow: hidden;
}
.lgs-timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 3px 5px;
    background: rgba(255,255,255,0.18);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
    z-index: 2;
}
.lgs-val {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.lgs-lbl {
    font-size: 7px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
    font-weight: 700;
}
.lgs-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.lgs-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    transition: width 1s linear, background 0.5s ease;
    border-radius: 0 4px 4px 0;
}

.lgs-settings-area {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    padding-left: 6px;
    border-left: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    z-index: 2;
}
.lgs-date-input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-family: inherit;
    width: 115px;
}
.lgs-date-input:disabled { opacity: 0.85; }
.lgs-settings-area .icon-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 2px 5px;
    font-size: 10px;
}
.lgs-settings-area .icon-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

@keyframes lgsPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(220,38,38,0.5); }
    50%      { box-shadow: 0 6px 24px rgba(220,38,38,0.9), 0 0 0 3px rgba(220,38,38,0.2); }
}
.lgs-inline-timer.lgs-urgent {
    animation: lgsPulse 1.5s ease-in-out infinite;
}

/* ---------- Tab İçerikleri ---------- */
.tab-content { display: block; }

/* ============================================= */
/* ✨ YAVAŞ YAVAŞ YANIP SÖNEN ÖĞRENCİ ADI (CİNSİYETE GÖRE) */
/* ============================================= */
@keyframes blinkSlowMale {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37,99,235,0.4); color: #1e40af; background: #dbeafe; border-color: #93c5fd; }
    50%      { opacity: 0.35; box-shadow: 0 0 0 6px rgba(37,99,235,0); color: #1e40af; background: #dbeafe; border-color: #93c5fd; }
}
@keyframes blinkSlowFemale {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,0.4); color: #991b1b; background: #fee2e2; border-color: #fca5a5; }
    50%      { opacity: 0.35; box-shadow: 0 0 0 6px rgba(220,38,38,0); color: #991b1b; background: #fee2e2; border-color: #fca5a5; }
}
.blinking-name-male {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: .3px;
    animation: blinkSlowMale 2.2s ease-in-out infinite;
    margin-right: 8px;
    border: 1.5px solid;
}
.blinking-name-female {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: .3px;
    animation: blinkSlowFemale 2.2s ease-in-out infinite;
    margin-right: 8px;
    border: 1.5px solid;
}

/* ============================================= */
/* 🔵 YANIP SÖNEN KİTAP ADI                     */
/* ============================================= */
@keyframes bookBlink {
    0%, 100% { color: #1e293b; background-color: transparent; }
    50% { color: #2563eb; background-color: #dbeafe; box-shadow: 0 0 8px rgba(37,99,235,0.4); }
}
.book-blinking {
    animation: bookBlink 0.8s infinite;
    display: inline-block;
    border-radius: 4px;
    padding: 0 4px;
}

/* ---------- Tablo Üst Araç Çubuğu ---------- */
.table-action-bar {
    margin-left: 210px; margin-bottom: 10px;
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    min-height: 40px;
}
#studentSessionDisplay {
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    margin-left: 8px;
    background: #eff6ff;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

/* ============================================= */
/* 📅 BUGÜNÜN OTURUMLARI (Ana Sayfa)            */
/* ============================================= */
.daily-schedule-section {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px 20px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.daily-schedule-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    letter-spacing: -.1px;
}
.daily-schedule-hint {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    font-style: italic;
}
.daily-schedule-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
    padding: 4px 0 2px;
    align-items: stretch;
}
.daily-student-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 14px 22px;
    border-radius: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all .18s ease;
    min-width: 140px;
    box-shadow: 0 2px 5px rgba(15,23,42,.06);
    touch-action: manipulation;
}
.daily-student-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15,23,42,.14);
    filter: brightness(1.02);
}
.daily-student-card.selected {
    background: #dbeafe !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.2), 0 6px 16px rgba(37,99,235,.25);
}
.daily-student-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.2px;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}
.daily-student-time {
    font-size: 12px;
    font-weight: 700;
    opacity: .9;
    white-space: nowrap;
}
.daily-schedule-empty {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
    padding: 22px;
    text-align: center;
    width: 100%;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

/* ============================================= */
/* 📅 HAFTALIK OTURUM PROGRAMI (Sekme)          */
/* ============================================= */
.weekly-schedule-section {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px 18px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.weekly-schedule-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    letter-spacing: -.1px;
}
.weekly-schedule-hint {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    font-style: italic;
}
.weekly-schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.weekly-day-column {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.weekly-day-header {
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    padding: 8px 4px;
    border-radius: 7px;
    color: #fff;
    letter-spacing: .3px;
    text-shadow: 0 1px 2px rgba(0,0,0,.15);
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}
.weekly-student-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-left: 4px solid;
    transition: all .15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
    min-height: 42px;
    touch-action: manipulation;
}
.weekly-student-item:hover {
    transform: translateX(2px);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
    filter: brightness(1.02);
}
.weekly-student-item.selected {
    background: #dbeafe;
    box-shadow: 0 0 0 2px #2563eb, 0 3px 8px rgba(37,99,235,.25);
}
.weekly-student-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    font-size: 12px;
}
.weekly-student-time {
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    white-space: nowrap;
}
.weekly-empty {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    padding: 14px 4px;
    font-style: italic;
}

/* ---------- ÜYELİK BİLGİLERİ SEKMESİ ---------- */
.membership-header {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-left: 4px solid #2563eb;
}
.membership-header h3 {
    margin: 0 0 4px 0;
    color: #1e40af;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.2px;
}
.membership-hint {
    font-size: 12px;
    color: #475569;
    font-style: italic;
}

@media (max-width: 1000px) {
    .weekly-schedule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .weekly-schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .weekly-student-item {
        padding: 14px 12px;
        font-size: 13px;
        min-height: 52px;
        gap: 10px;
    }
    .weekly-student-name { font-size: 13px; }
    .weekly-student-time { font-size: 12px; }
    .weekly-schedule-grid { gap: 10px; }
    .weekly-day-column { gap: 10px; padding: 10px; }
    .daily-student-card {
        padding: 16px 22px;
        min-width: 150px;
    }
    .daily-student-name { font-size: 17px; }
    .daily-student-time { font-size: 13px; }
    .daily-schedule-list { gap: 16px 12px; }
}

/* ---------- Tablolar ---------- */
.table-responsive { overflow-x: auto; width: 100%; margin-top: 10px; padding-bottom: 10px; border-radius: 10px; }
.table-responsive::-webkit-scrollbar { height: 10px; width: 10px; }
.table-responsive::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 6px; }
.table-responsive::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
.table-responsive::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.table-disabled { opacity: .38; pointer-events: none; filter: grayscale(90%); transition: opacity .3s ease; }

table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; min-width: 650px; }
th, td { border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 6px; text-align: left; vertical-align: middle; min-width: 95px; background-color: #ffffff; }
tr:first-child th { border-top: 1px solid #e2e8f0; }
th:first-child, td:first-child { border-left: 1px solid #e2e8f0; }
thead tr:first-child th:first-child { border-top-left-radius: 10px; }
thead tr:first-child th:last-child { border-top-right-radius: 10px; }
th {
    background: linear-gradient(180deg, #f1f5f9, #e8edf3);
    color: #334155; font-weight: 700; text-align: center; letter-spacing: .1px;
}
tbody tr { transition: background .12s ease; }
tbody tr:hover td:not(.sticky-sn):not(.sticky-book):not(.filled-cell):not(.pending-cell) { background-color: #f8fafc; }
tbody tr:nth-child(even) td:not(.sticky-sn):not(.sticky-book):not(.filled-cell):not(.pending-cell) { background-color: #fafbfd; }

.sticky-sn { position: sticky; left: 0; z-index: 10; width: 65px !important; min-width: 65px !important; max-width: 65px !important; text-align: center; background-color: #f8fafc; padding: 4px 2px; }
th.sticky-sn { z-index: 11; background: linear-gradient(180deg, #f1f5f9, #e8edf3); }
.sticky-book { position: sticky; left: 65px; z-index: 10; width: 150px !important; min-width: 150px !important; max-width: 150px !important; background-color: #f8fafc; box-shadow: 5px 0 8px -4px rgba(15,23,42,.1); }
th.sticky-book { z-index: 11; background: linear-gradient(180deg, #f1f5f9, #e8edf3); }

.book-header-content { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.resource-col-content { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-weight: 700; color: #1e40af; }
.book-info-area { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.book-title { white-space: pre-wrap; line-height: 1.25; font-size: 11px; }
.book-title-editable { transition: color .2s; }
.book-title-editable:hover { color: var(--brand); text-decoration: underline; }
.book-actions { display: flex; gap: 2px; justify-content: flex-end; }
.book-action-btn { background: #e2e8f0; border: none; cursor: pointer; font-size: 8px; padding: 3px 5px; border-radius: 5px; transition: background .15s ease; }
.book-action-btn:hover { background: #cbd5e1; }

.matrix-sn-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: bold; }
.progress-bar-container { width: 55px; background-color: #e2e8f0; border-radius: 999px; height: 6px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #22c55e, #16a34a); border-radius: 999px; transition: width .35s ease; }
.progress-text { font-size: 9px; color: #475569; font-weight: 700; }
.matrix-table th { font-size: 9px; padding: 5px 4px; white-space: nowrap; }
.unit-badge {
    display: inline-flex; align-items: center; gap: 3px;
    background: linear-gradient(135deg, #dcfce7, #d1fae5); color: #15803d;
    border: 1px solid #86efac; padding: 3px 7px; border-radius: 999px;
    font-size: 10px; font-weight: 800; white-space: nowrap; flex-shrink: 0;
}
.matrix-section { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 18px; }
.matrix-title { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: -.2px; }
.matrix-table td { text-align: center; font-size: 11px; font-weight: bold; }
.topic-completed { background-color: var(--green-soft) !important; color: #166534 !important; }

.date-header-content { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.session-badge-container { display: flex; align-items: center; gap: 4px; justify-content: center; margin-bottom: 2px; }
.session-badge { font-size: 10px; font-weight: 700; color: #1d4ed8; background: #dbeafe; padding: 2px 7px; border-radius: 6px; }
.session-warning { background-color: var(--red) !important; color: #ffffff !important; }
.password-conflict { font-weight: bold; border-color: #dc2626 !important; background-color: var(--red-soft) !important; }

@keyframes customBlink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.date-input-row { display: flex; align-items: center; gap: 3px; width: 100%; justify-content: center; }
.date-input { border: 1px solid #9ca3af; border-radius: 5px; padding: 2px; font-size: 10px; outline: none; cursor: pointer; width: 85px; font-family: inherit; }
.col-actions { display: flex; gap: 3px; }
.col-action-btn { background: #dbe2ea; border: none; cursor: pointer; font-size: 8px; padding: 3px 5px; border-radius: 5px; transition: background .15s ease; }
.col-action-btn:hover { background: #cbd5e1; }

.task-cell { display: flex; align-items: flex-start; gap: 5px; position: relative; width: 100%; }
.task-checkbox { width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; margin-top: 3px; accent-color: var(--green); }

textarea.task-input {
    flex-grow: 1; border: none; background: transparent; font-size: 11px; padding: 2px 3px;
    outline: none; color: #475569; min-width: 30px; text-transform: uppercase; font-family: inherit;
    resize: none; overflow: hidden; min-height: 20px; line-height: 1.4; box-sizing: border-box;
    border-radius: 4px; transition: box-shadow .15s ease;
    white-space: pre-wrap;
    word-break: break-word;
}

textarea.task-input:focus { box-shadow: inset 0 -2px 0 #22c55e; background: rgba(34,197,94,.04); }
textarea.task-input:disabled { color: #1e293b; font-weight: 600; box-shadow: none; }

.topic-dropdown-btn { background: #e2e8f0; border: none; border-radius: 5px; cursor: pointer; font-size: 10px; padding: 2px 5px; flex-shrink: 0; margin-top: 1px; transition: background .15s ease; }
.topic-dropdown-btn:hover { background: #cbd5e1; }
.topic-popup { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 12px 30px rgba(15,23,42,.18); z-index: 100; width: 230px; padding: 10px; box-sizing: border-box; }
.topic-popup.show { display: block; animation: modalPop .15s ease; }
.topic-popup-header { font-size: 10px; font-weight: 800; color: #1e40af; margin-bottom: 6px; border-bottom: 1px solid var(--line); padding-bottom: 5px; display: flex; justify-content: space-between; align-items: center; }
.topic-list-container { max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.topic-item-label { font-size: 10px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: #334155; padding: 3px 4px; border-radius: 5px; transition: background .12s ease; }
.topic-item-label:hover { background: #f1f5f9; }
.topic-popup-footer { margin-top: 8px; display: flex; justify-content: flex-end; gap: 4px; }
.topic-apply-btn { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; border: none; padding: 4px 12px; border-radius: 6px; font-size: 10px; cursor: pointer; font-weight: 700; }

.filled-cell { background-color: var(--green-soft) !important; }
.pending-cell { background-color: #fef9c3 !important; }
th.col-checked { background: linear-gradient(180deg, #fdf2f8, #fce7f3) !important; }
.report-row td { background-color: #fdfbf7; }
.report-label { position: sticky; left: 0; z-index: 10; text-align: right; font-weight: 800; font-size: 11px; color: #0369a1; box-shadow: 5px 0 8px -4px rgba(15,23,42,.1); }

/* ---------- Yönetim Paneli ---------- */
#adminPasswordList { margin-top: 8px; display: block; }
.admin-table-section { margin-bottom: 25px; overflow-x: auto; background: #f8fafc; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.admin-table-section h4 { margin: 0 0 12px 0; color: var(--ink); display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.pwd-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 600px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.pwd-table th, .pwd-table td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.pwd-table th { background: linear-gradient(180deg, #f1f5f9, #e8edf3); font-size: 11px; font-weight: 700; }
.pwd-table tr:last-child td { border-bottom: none; }
.pwd-table input, .pwd-table select { background-color: #ffffff; border: 1.5px solid var(--line-strong); border-radius: 6px; font-size: 11px; padding: 4px 6px; box-sizing: border-box; font-family: inherit; transition: all .15s ease; }
.pwd-table input:focus, .pwd-table select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

.name-input { border: 1.5px solid transparent; background: transparent; font-family: inherit; font-size: inherit; outline: none; width: 100%; cursor: default; border-radius: 6px; }
.name-input:disabled { color: inherit; -webkit-text-fill-color: inherit; opacity: 1; }
.name-input:not(:disabled) { border: 1.5px solid var(--line-strong); background: #ffffff; cursor: text; padding: 4px 6px; }

@media print {
    @page { size: landscape; margin: 10mm; }
    body { background-color: white; padding: 0; margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .container, .modal-overlay { display: none !important; }
    #printContainer { display: block !important; width: 100%; overflow: hidden; }
    .print-page { page-break-after: always; margin-bottom: 0; padding: 5px; width: 100%; box-sizing: border-box; }
    .print-title { text-align: center; font-family: sans-serif; color: #1f2937; margin-bottom: 10px; font-size: 13px; font-weight: bold; }
    .print-table { width: 100%; border-collapse: collapse; font-family: sans-serif; font-size: 8px; table-layout: fixed; }
    .print-table th, .print-table td { border: 1px solid #4b5563; padding: 2px 3px; text-align: left; vertical-align: top; word-break: break-word; overflow: hidden; }
    .print-table th { background-color: #e5e7eb !important; text-align: center; font-weight: bold; }
    .p-checked { background-color: #fce7f3 !important; }
    .p-filled { background-color: #dcfce7 !important; }
}

@media (max-width: 768px) {
    body { padding: 8px 4px 24px; }
    .container { padding: 12px 10px 16px; border-radius: 12px; }
    .header-section { position: static; }
    .quote-section { padding: 6px 0; }
    .tab-bar { flex-direction: column; align-items: stretch; }
    .tab-bar-left, .tab-bar-center { width: 100%; justify-content: flex-start; }
    .tab-bar-center { margin-left: 0; }
    .btn-logout { margin-left: 0; }
    .table-action-bar { margin-left: 0; }
    .admin-table-section { padding: 5px; background: transparent; border: none; }
    .pwd-table { min-width: 100% !important; border: none; }
    .pwd-table thead { display: none; }
    .pwd-table, .pwd-table tbody, .pwd-table tr, .pwd-table td { display: block; width: 100%; box-sizing: border-box; }
    .pwd-table tr { margin-bottom: 12px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,.05); }
    .pwd-table td { text-align: right !important; padding: 8px 0; border: none !important; border-bottom: 1px solid #f1f5f9 !important; display: flex; justify-content: flex-end; align-items: center; position: relative; min-height: 30px; }
    .pwd-table td:last-child { border-bottom: none !important; justify-content: center; padding-top: 12px; }
    .pwd-table td::before { content: attr(data-label); font-weight: bold; color: #475569; font-size: 11px; position: absolute; left: 0; width: 45%; text-align: left; }
    .pwd-table td input, .pwd-table td select { width: 55% !important; max-width: 200px; font-size: 11px; padding: 6px; }
}

/* ============================================= */
/* MODERN GÖRÜNÜM İYİLEŞTİRMELERİ               */
/* ============================================= */

th, td {
    padding: 10px 8px;
    font-size: 12px;
}

.sticky-book {
    box-shadow: 4px 0 8px -4px rgba(0,0,0,0.15);
    background-color: #ffffff;
}

.filled-cell {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #22c55e;
    color: #166534 !important;
    font-weight: 600;
}

.pending-cell {
    background-color: #fffbeb !important;
    border-left: 3px solid #f59e0b;
    color: #92400e !important;
}

.book-title {
    color: #1e293b;
    font-weight: 600;
    font-size: 12px;
}

tbody tr:nth-child(even) td:not(.sticky-sn):not(.sticky-book):not(.filled-cell):not(.pending-cell) {
    background-color: #fafbfd;
}

th .session-badge {
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 700;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

thead th {
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1) !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
}

.sticky-book {
    border-right: 2px solid #cbd5e1 !important;
}

.timer-val {
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.unit-badge {
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.15);
    transition: transform 0.15s ease;
}

.unit-badge:hover {
    transform: scale(1.05);
}

.report-row td {
    background-color: #fefce8 !important;
    border-top: 2px solid #fbbf24 !important;
}

.report-label {
    color: #92400e !important;
    font-weight: 800 !important;
}

textarea.task-input:focus {
    box-shadow: inset 0 -2px 0 #22c55e, 0 0 0 3px rgba(34, 197, 94, 0.1);
    background: rgba(34, 197, 94, 0.06);
}

.header-checkbox {
    transition: transform 0.15s ease;
}

.header-checkbox:hover {
    transform: scale(1.2);
}

.card-dl-btn {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    box-shadow: 0 2px 4px rgba(8, 145, 178, 0.25);
}
.card-dl-btn:hover {
    transform: translateY(-1px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(8, 145, 178, 0.35);
}

/* ============================================= */
/* 🟢 ANİMASYONLU CHECKBOX (GLOW EFEKTİ)        */
/* ============================================= */
@keyframes greenGlow {
    0% { box-shadow: inset 0 0 0 0 rgba(34, 197, 94, 0); background-color: transparent; }
    50% { box-shadow: inset 0 0 30px 10px rgba(34, 197, 94, 0.5); background-color: rgba(34, 197, 94, 0.2); }
    100% { box-shadow: inset 0 0 0 0 rgba(34, 197, 94, 0); background-color: transparent; }
}
.glow-effect {
    animation: greenGlow 0.8s ease-out;
}

/* ============================================= */
/* 📱 MOBİL UYUMLU MATRİS (AKORDİYON)           */
/* ============================================= */
.mobile-matrix-accordion {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-header {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    padding: 14px 16px;
    font-weight: 800;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    transition: background 0.2s;
    border-left: 4px solid var(--brand);
}

.accordion-header:active {
    background: #e2e8f0;
}

.accordion-header .accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 12px;
    background: #ffffff;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-topic-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
}

.accordion-topic-row:last-child {
    border-bottom: none;
}

.accordion-topic-name {
    font-weight: 600;
    color: #334155;
    flex: 1;
    padding-right: 10px;
}

.accordion-book-status {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.book-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    cursor: help;
}

/* Mobilde tabloyu gizle, akordiyonu göster */
@media (max-width: 768px) {
    .matrix-desktop-view {
        display: none !important;
    }
    .mobile-matrix-accordion {
        display: flex;
    }
}

/* ============================================= */
/* 🟡 MATRİSTE ÖDEV YAZISI İÇİN ÖZEL STİL        */
/* ============================================= */
#matrixTableBody .pending-cell {
    color: #b45309 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

/* ============================================= */
/* 📊 DENEME NETLERİ BÖLÜMÜ                     */
/* ============================================= */
.deneme-section {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    margin-top: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-top: 3px solid #2563eb;
    transition: opacity .3s ease;
}

.deneme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.deneme-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -.2px;
}

.deneme-empty {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    line-height: 1.6;
}

/* ✅ YENİ: Tablo genişliğini sola yasla ve sütunları sıkıştır */
#denemeTableWrapper {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 12px;
}
#denemeTableWrapper::-webkit-scrollbar { height: 8px; }
#denemeTableWrapper::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
#denemeTableWrapper::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
#denemeTableWrapper::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

#denemeTable {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
    margin-right: auto; /* Verileri sola yaslar */
}

#denemeTable th,
#denemeTable td {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 4px;
    text-align: center;
    min-width: 55px; /* Sütunları daralt */
    max-width: 65px;
    background: #ffffff;
}

#denemeTable th {
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
    color: #1e293b;
    font-weight: 800;
    font-size: 12px;
    padding: 0; /* Padding'i iç kısımdan vereceğiz */
}

#denemeTable .sticky-book {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #f8fafc !important;
    text-align: left;
    padding-left: 12px;
    box-shadow: 4px 0 8px -4px rgba(0,0,0,0.1);
    font-size: 12px;
    min-width: 100px;
    max-width: 100px;
    vertical-align: middle;
}

#denemeTable th.sticky-book {
    z-index: 6;
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1) !important;
    padding: 10px 4px;
    padding-left: 12px;
}

#denemeTable tr:last-child td {
    border-bottom: none;
}

/* ✅ YENİ: Çapraz başlık düzenlemeleri */
.deneme-col-header {
    height: 130px;
    vertical-align: bottom;
    position: relative;
}

.deneme-header-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.deneme-name-diagonal {
    position: absolute;
    bottom: 30px;
    left: 5px;
    transform: rotate(-60deg);
    transform-origin: bottom left;
    white-space: nowrap;
    font-size: 11px;
    font-weight: bold;
    color: #1e293b;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
    pointer-events: none; /* Tıklamayı engellemesin */
}

.deneme-header-date {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9px;
    color: #64748b;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

.deneme-preview {
    text-align: center;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    border: 1px solid #bae6fd;
    color: #0c4a6e;
}

.deneme-analysis-section {
    margin-top: 28px;
}

.deneme-chart-wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 22px 18px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 6px rgba(15,23,42,.04);
}

.deneme-chart-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: -.1px;
}

.deneme-ai-analysis {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    padding: 22px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.ai-icon {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(37,99,235,.3));
}

.ai-title {
    font-size: 16px;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -.2px;
}

.ai-subtitle {
    font-size: 11px;
    color: #475569;
    margin-top: 3px;
    font-style: italic;
}

.ai-analysis-content {
    display: grid;
    gap: 14px;
}

.ai-section {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 3px solid #60a5fa;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
}

.ai-section-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 10px;
    letter-spacing: -.1px;
}

.ai-section p {
    margin: 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.65;
}

.ai-section ul {
    margin: 0;
    padding-left: 20px;
}

.ai-section li {
    font-size: 13px;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 8px;
}

.ai-section li:last-child {
    margin-bottom: 0;
}

.ai-section strong {
    color: #1e40af;
    font-weight: 700;
}

.ai-motivation {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left-color: #f59e0b;
}

.ai-motivation .ai-section-title {
    color: #92400e;
}

.ai-motivation p {
    color: #78350f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.ai-motivation strong {
    color: #92400e;
}

@media (max-width: 768px) {
    .deneme-header {
        flex-direction: column;
        align-items: stretch;
    }
    .deneme-header .btn {
        justify-content: center;
    }
    .deneme-chart-wrapper {
        padding: 14px 10px;
    }
    .deneme-ai-analysis {
        padding: 16px;
    }
    .ai-analysis-header {
        gap: 10px;
    }
    .ai-icon {
        font-size: 28px;
    }
    .ai-title {
        font-size: 14px;
    }
    .ai-section {
        padding: 12px 14px;
    }
    .ai-section p,
    .ai-section li {
        font-size: 12px;
    }
}