/**
 * Energi Smart School Custom Styles
 * Green Energy + Education Theme
 */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #1e293b;
    --light-bg: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: #334155;
    -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism & Modern Cards */
.card-modern {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

/* Mobile Quick Patrol Floating Action Button */
.fab-patrol {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5);
}

/* Print Styles for Official School Reports */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt;
    }

    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    .page-break {
        page-break-after: always;
        break-after: page;
    }

    .official-document {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    table {
        page-break-inside: avoid;
        width: 100% !important;
    }

    tr, td, th {
        page-break-inside: avoid;
    }

    @page {
        size: A4 portrait;
        margin: 20mm 15mm 20mm 15mm;
    }
}
