/* Background for the whole app */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism Sidebar */
.glass-sidebar {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glassmorphism Header / Cards */
.glass-header, .glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Glass Buttons/Links */
.glass-btn {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #475569;
    transition: all 0.3s ease;
    background: transparent;
}

.glass-btn:hover, .glass-btn.active {
    background: rgba(255, 255, 255, 0.8);
    color: #1e40af;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Make DataTables look modern */
table.dataTable.table-striped > tbody > tr.odd > * {
    box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.3);
}

/* Sidebar section labels */
.nav-section-title {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
}

/* KPI card hover effect */
.kpi-card {
    transition: all 0.25s ease;
    cursor: pointer;
}
.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.85);
}

/* Table row hover */
.table-hover tbody tr:hover {
    background: rgba(255,255,255,0.7);
}

/* Form control focus ring */
.form-control:focus, .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

/* Rounded badge */
.badge { font-weight: 600; }

/* Bottom user card in sidebar */
.glass-sidebar .mt-auto {
    border-top: 1px solid rgba(148,163,184,0.2);
}

/* Card padding util */
.p-6 { padding: 1.5rem !important; }
.p-5 { padding: 1.25rem !important; }

/* Print Media Query */
@media print {
    .d-print-none, .glass-sidebar, header.glass-header { display: none !important; }
    body { background: white !important; font-size: 12px; }
    main { margin-left: 0 !important; padding: 0 !important; min-height: auto !important; }
    .glass-card, .print-container { 
        box-shadow: none !important; border: none !important; background: transparent !important; filter: none !important; padding: 0 !important; 
    }
    .table { width: 100% !important; border-collapse: collapse !important; margin-bottom: 20px; }
    .table th, .table td { border: 1px solid #dee2e6 !important; padding: 8px !important; }
    .badge { border: 1px solid #ccc !important; background: transparent !important; color: #000 !important; }
    @page { size: landscape; margin: 15mm; }
}

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body { font-family: 'Inter', sans-serif !important; }

