/* style.css v44 - Master Sürüm */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');
body { background-color: #f8fafc; font-family: 'Inter', sans-serif; -webkit-print-color-adjust: exact; }

.dark-header {
    background-color: #0f172a !important;
    background-image: radial-gradient(circle at top left, rgba(220, 38, 38, 0.15) 0%, rgba(15, 23, 42, 0) 50%) !important;
    border: 1px solid #1e293b !important;
}

#sinifSekmeleri { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px; -webkit-overflow-scrolling: touch; }
#sinifSekmeleri::-webkit-scrollbar { display: none; }

.grade-input { width: 3.5rem !important; text-align: center; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-weight: 700; font-size: 0.875rem; padding: 0.25rem 0; outline: none; transition: all 0.2s; }
.grade-input:focus { border-color: #6366f1; background-color: #ffffff; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }

.delete-student-btn { color: #fca5a5; padding: 4px; border-radius: 8px; transition: all 0.2s; cursor: pointer; }
.delete-student-btn:hover { color: #ef4444; background: #fee2e2; }

.rubric-text { display: block; font-size: 7px; color: #94a3b8; line-height: 1.1; margin-top: 2px; text-transform: none; font-weight: normal; }

/* v44 KESİN BASKI AYARLARI */
@media print {
    .no-print, #main-header, #sinifSekmeleri, .lg\:col-span-4, footer, #stats-area, .delete-student-btn, canvas, [onclick^="sayfayiYazdir"], [onclick^="tumunuKaydet"] { 
        display: none !important; 
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
    }

    .max-w-\[1400px\], .grid, .lg\:col-span-8 {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
    }

    html, body { overflow: visible !important; background: white !important; height: auto !important; }
    table { width: 100% !important; border-collapse: collapse !important; border: 2px solid #000 !important; table-layout: auto !important; }
    tr { page-break-inside: avoid; page-break-after: auto; }
    th, td { border: 1px solid #000 !important; padding: 6px 2px !important; color: black !important; text-align: center !important; font-size: 9pt !important; }
    th:first-child, td:first-child { text-align: left !important; padding-left: 8px !important; }
    input { border: none !important; background: transparent !important; color: black !important; width: 100% !important; font-size: 9pt !important; }
    
    #print-header-area { display: block !important; visibility: visible !important; margin-bottom: 20px !important; color: black !important; }
    .signature-space { display: flex !important; justify-content: flex-end !important; margin-top: 50px !important; page-break-inside: avoid; }
}
.print-header, .signature-space { display: none; }