/* ==========================================================================
   E-JURNAL MENGAJAR GURU - CUSTOM STYLES & PRINT SPECIFICATIONS
   ========================================================================== */

/* Background & Body Font */
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.035) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.035) 0%, transparent 40%),
                #f8fafc;
}

/* Custom Scrollbar Modern */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Micro-animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.animate-shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-fadeIn {
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Navigation Header */
.glass-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ==========================================================================
   ATURAN KHUSUS CETAK (PRINT) LAPORAN RESMI
   ========================================================================== */
@media print {
    body {
        background-color: #ffffff !important;
        background-image: none !important;
        color: #000000 !important;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .print-container {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    table.print-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 11px !important;
    }
    table.print-table th, 
    table.print-table td {
        border: 1px solid #000000 !important;
        padding: 6px 8px !important;
        color: #000000 !important;
    }
    table.print-table th {
        background-color: #f1f5f9 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.print-only {
    display: none;
}
