/* C:\xampp\htdocs\school\assets\css\custom.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

* {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* High Contrast ERP Cards & Shadows */
.erp-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.erp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* High-Contrast Multi-Color Badges */
.badge-green {
    background-color: #dcfce7 !important;
    color: #14532d !important;
    border: 1px solid #86efac !important;
    font-weight: 900 !important;
}

.badge-amber {
    background-color: #fef3c7 !important;
    color: #78350f !important;
    border: 1px solid #fde68a !important;
    font-weight: 900 !important;
}

.badge-red {
    background-color: #ffe4e6 !important;
    color: #881337 !important;
    border: 1px solid #fecdd3 !important;
    font-weight: 900 !important;
}

.badge-blue {
    background-color: #dbeafe !important;
    color: #1e3a8a !important;
    border: 1px solid #93c5fd !important;
    font-weight: 900 !important;
}

.badge-purple {
    background-color: #f3e8ff !important;
    color: #581c87 !important;
    border: 1px solid #d8b4fe !important;
    font-weight: 900 !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.8);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 4px;
}

/* -------------------------------------------------------------
   PIXEL-PERFECT A4 PRINT ENGINE (@media print)
   ------------------------------------------------------------- */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-family: Arial, sans-serif !important;
    }

    .no-print, nav, aside, header, .btn, button, .alert, #sidebar, .sidebar-container {
        display: none !important;
    }

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

    .container, main, .main-content {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }

    /* 3-COPY BANK CHALLAN PRINT FORMAT (A4 Landscape) */
    .challan-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        padding: 10mm 5mm !important;
    }

    .challan-copy {
        width: 32% !important;
        border: 1.5px dashed #000000 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* BATCH 8 STUDENT ID CARDS PER A4 PAGE */
    .id-cards-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 10mm !important;
    }

    .id-card-item {
        width: 86mm !important;
        height: 54mm !important;
        border: 2px solid #1e3a8a !important;
        border-radius: 8px !important;
        padding: 8px !important;
        page-break-inside: avoid !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
}
