/* ============================================
   BÖ Panel - Global Styles (SON.html teması)
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { display: flex; background-color: #f0f2f5; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
    width: 250px; height: 100vh; background-color: #1a252f; color: white;
    position: fixed; overflow-y: auto; box-shadow: 2px 0 5px rgba(0,0,0,0.2); z-index: 100;
    display: flex; flex-direction: column;
}
.sidebar h2 { text-align: center; padding: 25px 0; color: #3498db; font-size: 20px; border-bottom: 1px solid #2c3e50; }
.sidebar .menu-item {
    padding: 15px 20px; color: #bdc3c7; display: block; cursor: pointer;
    text-decoration: none; border-bottom: 1px solid #2c3e50; transition: 0.3s; font-size: 14px;
}
.sidebar .menu-item:hover, .sidebar .menu-item.active { background: #3498db; color: white; }
.dropdown-btn {
    width: 100%; text-align: left; background: #2c3e50; border: none; outline: none;
    padding: 15px 20px; color: white; cursor: pointer; font-size: 14px; transition: 0.3s;
    border-bottom: 1px solid #1a252f;
}
.dropdown-btn:hover { background: #3498db; }
.dropdown-container { display: none; background-color: #0d1217; }
.dropdown-container a {
    padding: 12px 30px; text-decoration: none; font-size: 13px; color: #95a5a6;
    display: block; border-bottom: 1px solid #1a252f; cursor: pointer;
}
.dropdown-container a:hover { color: #3498db; background: #1a252f; }
.active-dropdown { display: block; }

/* ── CONTENT ── */
.content { margin-left: 250px; width: calc(100% - 250px); display: flex; flex-direction: column; }
.hidden { display: none; }

/* ── HEADER ── */
.header-blue { background-color: #5b9bd5; color: white; text-align: center; padding: 20px; font-size: 22px; font-weight: bold; }

/* ── FORM AREA ── */
.form-area { background: #fff; margin: 20px; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; font-weight: bold; color: #2c3e50; margin-bottom: 5px; }
.form-group input, .form-group select {
    width: 100%; padding: 10px; border: 1px solid #dee2e6; border-radius: 4px;
    font-size: 14px; font-family: inherit; outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: #3498db; }

/* ── TABLE ── */
.table-wrapper { background: white; margin: 0 20px 20px 20px; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); overflow-x: auto; }
.excel-table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.excel-table th { background: #ebf1f9; border: 1px solid #8eb4e3; padding: 10px; font-size: 12px; }
.excel-table td { border: 1px solid #8eb4e3; padding: 8px; font-size: 13px; text-align: center; }
.avg-row { background-color: #fcf8e3 !important; font-weight: bold; color: #c09853; }

/* ── TYT INPUT GRID ── */
.tyt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 10px; margin-top: 10px; }
.input-card { background: #f8f9fa; padding: 10px; border-radius: 5px; border: 1px solid #dee2e6; text-align: center; }
.input-card label { font-size: 11px; font-weight: bold; display: block; margin-bottom: 5px; color: #2c3e50; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.dy-box { display: flex; gap: 5px; justify-content: center; margin-top: 5px; }
.input-mini { width: 42px; text-align: center; padding: 4px; border: 1px solid #ccc; font-size: 12px; border-radius: 3px; }

/* ── BUTTONS ── */
.btn-edit   { background: #3498db; color: white; border: none; padding: 5px 12px; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: bold; }
.btn-delete { background: #e74c3c; color: white; border: none; padding: 5px 12px; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: bold; }
.btn-print  { background: #27ae60; color: white; border: none; padding: 8px 15px; margin-bottom: 15px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }

/* ── SETTINGS ── */
.setting-label { display:block; font-weight:bold; font-size:13px; margin-bottom:6px; color:#2c3e50; }

/* ── STATUS COLORS ── */
.yapti    { background-color: #d4edda !important; color: #155724; }
.yapmadi  { background-color: #f8d7da !important; color: #721c24; }

/* ── DERS SECTION ── */
.ders-container { display: flex; gap: 20px; padding: 20px; align-items: flex-start; }
.chart-wrapper {
    flex: 1.5; background: white; padding: 20px; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; position: sticky;
    top: 20px; display: flex; flex-direction: column; gap: 25px; max-height: 90vh; overflow-y: auto;
}
.net-chart-container { min-height: 280px; width: 100%; border-top: 1px solid #eee; padding-top: 15px; }

/* ── FILTER PANEL ── */
.filter-panel { display: flex; gap: 15px; background: #f8f9fa; padding: 12px; border-radius: 6px; margin-bottom: 15px; border: 1px solid #e2e8f0; align-items: center; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 12px; font-weight: bold; color: #4a5568; }
.filter-group select, .filter-group input { padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 13px; outline: none; }

/* ── WEEKLY TASKS ── */
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; padding: 20px; overflow-x: auto; }
.day-column { background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; flex-direction: column; min-width: 160px; border: 1px solid #e2e8f0; }
.day-header { padding: 12px; font-weight: bold; text-align: center; border-top-left-radius: 7px; border-top-right-radius: 7px; color: white; font-size: 14px; }
.day-pzt { background-color: #34495e; } .day-sal { background-color: #2980b9; } .day-car { background-color: #27ae60; }
.day-per { background-color: #8e44ad; } .day-cum { background-color: #d35400; } .day-cmt { background-color: #16a085; } .day-paz { background-color: #c0392b; }
.day-body { padding: 10px; flex: 1; display: flex; flex-direction: column; gap: 10px; background-color: #fafafa; }
.task-card { background: white; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px; position: relative; font-size: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.task-card.completed { background-color: #d4edda !important; border-color: #c3e6cb !important; color: #155724; }
.task-title { font-weight: bold; word-break: break-word; padding-right: 15px; }
.task-meta { font-size: 11px; color: #7f8c8d; }
.task-card.completed .task-meta { color: #155724; opacity: 0.8; }
.task-delete { position: absolute; top: 4px; right: 4px; background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 11px; font-weight: bold; }
.task-check { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11px; cursor: pointer; font-weight: 500; }
.task-card.serbest-zaman-card { background: #f0fdf8; border: 1.5px dashed #27ae60; }
.task-card.serbest-zaman-card .task-title { color: #16a085; font-size: 12px; }
.task-card.serbest-zaman-card .task-meta { color: #555; }
.serbest-row-header { background: #16a085; color: #fff; font-weight: bold; font-size: 13px; padding: 8px 14px; border-radius: 6px 6px 0 0; }

/* ── DELIVERY DATE ── */
.delivery-date-container { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; font-size: 13px; font-weight: bold; color: #2c3e50; }
.delivery-date-container input { padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 13px; outline: none; font-family: inherit; cursor: pointer; }
.print-box { display: none; }

/* ── LOGIN PAGE ── */
body.login-body { display: flex; justify-content: center; align-items: center; background: #1a252f; min-height: 100vh; }
.login-box { background: white; border-radius: 12px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.login-logo { text-align: center; font-size: 26px; font-weight: bold; color: #3498db; margin-bottom: 10px; letter-spacing: 2px; }
.login-box h2 { text-align: center; color: #2c3e50; margin-bottom: 25px; font-size: 18px; }
.btn-login { width: 100%; padding: 12px; background: #3498db; color: white; border: none; border-radius: 6px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-login:hover { background: #2980b9; }
.login-links { text-align: center; margin-top: 15px; font-size: 13px; }
.login-links a { color: #3498db; text-decoration: none; }
.login-links a:hover { text-decoration: underline; }

/* ── ALERTS ── */
.alert { padding: 10px 15px; border-radius: 6px; margin-bottom: 15px; font-size: 13px; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ── ADMIN STAT CARDS ── */
.stat-card { background: white; border-radius: 10px; padding: 25px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.stat-number { font-size: 42px; font-weight: bold; color: #2c3e50; }
.stat-label  { font-size: 14px; color: #7f8c8d; margin-top: 5px; }

/* ── TEACHER - STUDENT CARD ── */
/* ── PANEL SIDEBAR PROFILE ── */
.panel-profile        { padding: 16px 12px; border-bottom: 1px solid #2c3e50; text-align: center; }
.panel-avatar-img     { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #3498db; display: block; margin: 0 auto 8px; }
.panel-avatar-letter  { width: 80px; height: 80px; border-radius: 50%; background: #3498db; color: white; font-size: 34px; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.panel-student-name   { font-size: 15px; font-weight: bold; color: #ecf0f1; line-height: 1.3; }
.panel-student-gender { font-size: 12px; color: #95a5a6; margin-top: 4px; }
.student-info-card    { margin: 10px 10px 4px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid #2c3e50; overflow: hidden; }
.student-info-row     { display: flex; align-items: baseline; padding: 5px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.student-info-row:last-child { border-bottom: none; }
.sic-label            { font-size: 10px; color: #7f8c8d; text-transform: uppercase; letter-spacing: 0.5px; min-width: 52px; flex-shrink: 0; }
.sic-val              { font-size: 12px; color: #bdc3c7; }

.student-card { background: white; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); display: flex; gap: 15px; align-items: center; transition: 0.2s; border: 2px solid transparent; }
.student-card:hover { border-color: #3498db; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.student-avatar { width: 80px; height: 80px; border-radius: 50%; background: #3498db; color: white; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; flex-shrink: 0; overflow: hidden; box-shadow: 0 2px 8px rgba(52,152,219,0.4); }
.student-info { flex: 1; }
.student-name  { font-size: 16px; font-weight: bold; color: #2c3e50; }
.student-email { font-size: 12px; color: #7f8c8d; margin-top: 2px; }
.progress-bar-wrap { background: #e9ecef; border-radius: 10px; height: 8px; margin-top: 8px; overflow: hidden; }
.progress-bar      { height: 100%; background: #27ae60; border-radius: 10px; transition: width 0.3s; }
.progress-label    { font-size: 11px; color: #7f8c8d; margin-top: 4px; }
.mob-only          { display: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobil & Tablet  (max-width: 768px)
   ══════════════════════════════════════════════════════════ */

/* ── Collapsible Form Area (mobil accordion) ── */
.mob-form-heading {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    -webkit-user-select: none;
}
.mob-form-arrow {
    font-size: 11px;
    color: #95a5a6;
    margin-left: 8px;
    flex-shrink: 0;
    transition: color .2s;
}
.mob-form-body {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height .35s ease, opacity .25s ease;
    opacity: 1;
}
.mob-form-body.collapsed {
    max-height: 0;
    opacity: 0;
}

/* ── Bottom Navigation Bar ── */
.mob-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: #1a252f;
    z-index: 400;
    border-top: 2px solid #2c3e50;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
    align-items: stretch;
}
.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    text-decoration: none;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 2px 6px;
    transition: color .2s, background .2s;
    position: relative;
}
.mob-nav-item .nav-icon  { font-size: 20px; line-height: 1; display: block; }
.mob-nav-item .nav-label { font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
.mob-nav-item.active     { color: #3498db; }
.mob-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 3px;
    background: #3498db;
    border-radius: 0 0 3px 3px;
}
.mob-nav-item:active { background: rgba(255,255,255,.06); }

/* ── Hamburger Butonu ── */
.mob-menu-btn {
    display: none;
    position: fixed;
    top: 11px;
    left: 11px;
    z-index: 500;
    background: #1a252f;
    border: none;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    transition: background .2s;
}
.mob-menu-btn:hover { background: #2c3e50; }
.mob-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ecf0f1;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
    transform-origin: center;
}
.mob-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mob-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll ipucu — varsayılan gizli, sadece mobilde göster */
.mob-scroll-hint {
    display: none;
    font-size: 11px;
    color: #95a5a6;
    text-align: right;
    margin-bottom: 6px;
}

/* ── Mobil Overlay ── */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 149;
    backdrop-filter: blur(1px);
}
.mob-overlay.active { display: block; }

@media (max-width: 768px) {
    body { overflow-x: hidden; }

    /* Hamburger gizli — bottom nav açıyor */
    .mob-menu-btn { display: none !important; }

    /* Bottom nav göster */
    .mob-bottom-nav { display: flex; }

    /* Content alt boşluk (bottom nav arkasında kalmasın) */
    .content { padding-bottom: 68px; }

    /* Header — sol boşluk gerekmiyor */
    /* (hamburger yok, header-blue override aşağıda) */

    /* Sidebar drawer */
    .sidebar {
        transform: translateX(-100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        z-index: 150;
    }
    .sidebar.mob-open { transform: translateX(0); }

    /* Content tam genişlik */
    .content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Header */
    .header-blue {
        font-size: 15px;
        padding: 13px 14px;
        text-align: center;
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Form alanları */
    .form-area {
        margin: 12px;
        padding: 14px;
    }
    .field-row {
        flex-direction: column;
        gap: 8px;
    }
    .field-row input,
    .field-row select {
        min-width: unset !important;
        width: 100%;
        flex: unset !important;
    }

    /* Tablo sarmalayıcı */
    .table-wrapper {
        margin: 0 12px 14px;
        padding: 12px 10px;
        border-radius: 8px;
    }
    /* Sağda kaydır ipucu */
    .table-wrapper::after {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 36px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,.85));
        pointer-events: none;
        border-radius: 0 8px 8px 0;
    }
    .table-wrapper { position: relative; }

    /* Tablo kaydır ipucu metin */
    .mob-scroll-hint { display: block; }

    /* Mobilde gizlenecek / sadece mobilde görünen */
    .hide-mobile { display: none !important; }
    .mob-only    { display: block; }

    /* Tablo → kart satır görünümü */
    .mob-card-table { min-width: 0 !important; width: 100% !important; }
    .mob-card-table thead { display: none; }
    .mob-card-table,
    .mob-card-table tbody { display: block; }
    .mob-card-table tr {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border-bottom: 1px solid #e9ecef;
        min-width: unset !important;
    }
    .mob-card-table tr:last-child { border-bottom: none; }
    .mob-card-table tr:active { background: #f8f9fa; }
    .mob-card-table td {
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
        font-size: 13px;
    }
    .mob-card-table td:first-child { flex: 1; font-weight: 700; color: #2c3e50; min-width: 0; }
    .mob-card-table td:nth-child(3) { flex-shrink: 0; }
    .mob-card-table td:last-child   { flex-shrink: 0; }

    /* 2 satır kart: isim üstte, butonlar altta */
    .mob-card-table.mob-2row tr          { flex-wrap: wrap; gap: 6px; }
    .mob-card-table.mob-2row td:first-child { flex: 1 1 100%; }
    .mob-card-table.mob-2row td:last-child  {
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding-left: 42px !important;
    }
    .mob-card-table.mob-2row td:last-child a,
    .mob-card-table.mob-2row td:last-child button {
        font-size: 11px !important;
        padding: 6px 4px !important;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        width: 100% !important;
        display: block !important;
        box-sizing: border-box;
    }

    /* Butonlar dokunuş dostu */
    .btn-edit, .btn-delete {
        padding: 7px 13px;
        font-size: 12px;
    }

    /* Stat kartları 2'li ızgara */
    .stat-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    .stat-number { font-size: 28px !important; }
    .stat-card   { padding: 18px 10px !important; }

    /* Ders container dikey */
    .ders-container {
        flex-direction: column !important;
        padding: 12px !important;
        gap: 12px !important;
    }
    .chart-wrapper {
        position: static !important;
        max-height: none !important;
    }

    /* Haftalık grid yatay scroll */
    .week-grid {
        grid-template-columns: repeat(7, minmax(155px, 1fr)) !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    /* Serbest zaman satırı */
    #serbest-row {
        margin: 0 12px 14px !important;
        overflow-x: auto;
    }

    /* Modallar — neredeyse tam ekran */
    /* inline style'ları override etmek için !important */
    .mob-modal-inner {
        width: 95vw !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
        margin: auto;
        border-radius: 10px;
    }

    /* Login kutusu */
    .login-box {
        padding: 28px 20px;
        margin: 16px;
    }

    /* Filtre paneli */
    .filter-panel {
        flex-direction: column;
        gap: 8px !important;
        align-items: stretch;
    }
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .filter-group select,
    .filter-group input { width: 100%; }

    /* delivery date */
    .delivery-date-container { flex-wrap: wrap; }
}

/* Tablet (769px – 1024px): sidebar küçük */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar { width: 200px; }
    .content { margin-left: 200px; width: calc(100% - 200px); }
    .ders-container { gap: 14px; }
}

/* ── PRINT ── */
/* Ekranda gizle, baskıda göster */
.print-only { display: none !important; }

@media print {
    @page { size: A4 landscape; margin: 10mm; }
    body { background: white; }

    /* Gizlenecekler */
    .sidebar, .form-area, .btn-print, .filter-panel, .week-form,
    .task-delete, .task-check, .btn-edit, .btn-delete,
    .delivery-date-container, .header-blue,
    .mob-bottom-nav, .mob-menu-btn, .mob-overlay,
    .no-print, select.no-print,
    td:last-child, th:last-child { display: none !important; }

    /* Print-only elemanlar göster */
    .print-only { display: inline !important; }
    .print-logo-header { display: flex !important; }
    .print-logo-header img { max-height: 60px; width: auto; }

    .content { margin-left: 0 !important; width: 100% !important; }
    .table-wrapper { box-shadow: none !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }

    /* Sayfa taşmasını önle */
    html, body { overflow: hidden !important; max-width: 100% !important; }
    .table-wrapper { overflow: hidden !important; max-width: 100% !important; }

    /* Ödev tablosu */
    .excel-table { min-width: 0 !important; width: 100% !important; max-width: 100% !important; table-layout: auto; border-collapse: collapse !important; }
    .excel-table th { background: #f4f6f8 !important; color: #2c3e50 !important; font-size: 8px !important; padding: 3px 2px !important; border: 1px solid #dde1e5 !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .excel-table td { font-size: 8px !important; padding: 3px 2px !important; border: 1px solid #ccc !important; }

    /* Linkleri düz metin gibi göster */
    a { color: inherit !important; text-decoration: none !important; }

    /* Haftalık plan grid */
    .week-grid { grid-template-columns: repeat(7, 1fr) !important; gap: 4px !important; padding: 0 !important; margin-top: 8px !important; page-break-inside: avoid; break-inside: avoid; }
    .day-column { min-width: 0 !important; box-shadow: none !important; border: 1px solid #000 !important; page-break-inside: avoid; break-inside: avoid; }
    .day-body { min-height: 0 !important; }
    #serbest-row { margin: 4px 0 0 !important; page-break-inside: avoid; break-inside: avoid; }
    .task-card { page-break-inside: avoid; break-inside: avoid; }
    .day-header { border-bottom: 1px solid #000 !important; font-size: 10px !important; padding: 4px !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .task-card { border: 1px solid #999 !important; box-shadow: none !important; padding: 4px !important; margin-bottom: 3px !important; font-size: 10px !important; }
    .task-meta { font-size: 9px !important; }
    .task-title { font-size: 10px !important; font-weight: bold !important; }

    /* Tarih inputu temiz göster */
    .delivery-date-container input { border: none !important; padding: 0 !important; background: transparent !important; font-weight: bold; appearance: none; -webkit-appearance: none; }
    .delivery-date-container input::-webkit-calendar-picker-indicator { display: none !important; }

    /* Bugünden itibaren 7 gün yazdırma modu */
    body.print-today-mode > *:not(#print-today-overlay) { display: none !important; }
    #print-today-overlay.print-active { display: block !important; position: fixed; inset: 0; background: #fff; padding: 10px; }
    #print-today-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
    .print-day-col { border: 1px solid #ccc; page-break-inside: avoid; break-inside: avoid; }
    .print-day-head { font-size: 9px; font-weight: 900; letter-spacing: 1px; padding: 4px; text-align: center; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .print-day-body { padding: 3px; min-height: 60px; }
    .print-task { border: 1px solid #ddd; border-radius: 2px; padding: 3px 4px; margin-bottom: 3px; font-size: 9px; page-break-inside: avoid; break-inside: avoid; }
    .print-task-title { font-weight: bold; font-size: 9px; }
    .print-task-meta { font-size: 8px; color: #444; }
}
