body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #10b981; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #059669; }

.fade-in { animation: fadeIn 0.25s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast-enter { animation: toastIn 0.25s ease-out forwards; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Subtle pattern on timetable break row */
.break-pattern {
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(251, 191, 36, 0.08),
        rgba(251, 191, 36, 0.08) 10px,
        rgba(254, 243, 199, 0.25) 10px,
        rgba(254, 243, 199, 0.25) 20px
    );
}

/* Print styles for Timetable */
@media print {
    header, aside, .no-print { display: none !important; }
    main, #dashboard-container, #app-container {
        overflow: visible !important;
        height: auto !important;
        padding: 0 !important;
        background: white !important;
    }
    .print-table-wrap { box-shadow: none !important; border: 1px solid #cbd5e1 !important; }
}
