/* =========================================
   RESIK - DESIGN SYSTEM & STYLES (Vanilla CSS)
   Theme: Green & Gold (Glassmorphism / Modern)
========================================= */

:root {
    /* Color Palette */
    --color-green-dark: #053a1a;
    --color-green-main: #188636;
    --color-green-light: #6ec443;
    --color-gold: #c99a2e;
    --color-gold-light: #f5d569;
    
    --color-bg: #021207;
    --color-surface: rgba(11, 56, 29, 0.45);
    --color-surface-hover: rgba(19, 87, 46, 0.65);
    --color-border: rgba(110, 196, 67, 0.25);
    
    --text-main: #ffffff;
    --text-muted: #b0d4bd;
    
    /* Layout */
    --sidebar-width: 280px;
    --topbar-height: 70px;
    
    /* Effects */
    --glass-blur: blur(16px);
    --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Border Radius */
    --br-sm: 8px;
    --br-md: 16px;
    --br-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--color-bg);
    background-image: linear-gradient(rgba(2, 18, 7, 0.8), rgba(2, 18, 7, 0.95)), url('../bg-sekolah.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- ANIMATED BACKGROUND --- */
.bg-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}
.shape-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--color-green-main) 0%, transparent 70%);
}
.shape-2 {
    bottom: -20%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--color-green-dark) 0%, transparent 70%);
    animation-delay: -5s;
}
.shape-3 {
    top: 30%; left: 50%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(201, 154, 46, 0.15) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.2); }
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.gold-text { color: var(--color-gold-light); font-weight: 700; }
.brand-font { font-family: 'Fredoka', 'Outfit', sans-serif !important; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.logo-img-custom { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.w-100 { width: 100%; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.ml-1 { margin-left: 1rem; }
.py-2 { padding: 2rem 0; }
.pb-1 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 3rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-align-center { display: flex; align-items: center; }
.gap-1 { gap: 1rem; }
.border-bottom { border-bottom: 1px solid var(--color-border); }
.max-w-md { max-width: 600px; margin: 0 auto; }
.w-20 { width: 30px; text-align: center; display: inline-block;}

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-card, .glass-panel {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    border-radius: var(--br-md);
    box-shadow: var(--shadow-main);
    padding: 1.5rem;
}

.glass-panel { padding: 0; } /* For layout containers */

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; }
.display-1 { font-size: 4rem; font-weight: 800; }
p { line-height: 1.5; }

/* --- BUTTONS --- */
button {
    cursor: pointer;
    font-weight: 600;
    border-radius: var(--br-sm);
    transition: var(--transition);
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green-main));
    color: white;
    box-shadow: 0 4px 15px rgba(110, 196, 67, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 196, 67, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: linear-gradient(135deg, var(--color-gold), #b5952f);
    color: #000;
}
.btn-secondary:disabled {
    background: #555; color: #888; cursor: not-allowed; box-shadow: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-green-light);
    color: var(--color-green-light);
}
.btn-outline:hover { background: rgba(110, 196, 67, 0.1); }

.btn-small { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; border-radius: var(--br-md); }

.btn-icon {
    background: rgba(255,255,255,0.1);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    padding: 0;
}
.btn-icon:hover { background: rgba(255,255,255,0.2); }

/* --- FORMS & INPUTS --- */
.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}
.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
input, select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: var(--br-sm);
    font-size: 1rem;
    transition: var(--transition);
}
input:focus, select:focus {
    border-color: var(--color-green-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 196, 67, 0.2);
}
.input-large {
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: var(--br-md);
}

/* --- APP LAYOUT --- */
.screen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    transition: opacity 0.5s ease;
}

/* --- LOGIN SCREEN --- */
#login-screen {
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    text-align: center;
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.login-header h1 {
    color: var(--color-gold-light);
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}
.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.login-header h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--color-border);
}
.logo-circle {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--color-green-main), var(--color-green-dark));
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2.5rem; color: var(--color-gold);
    margin: 0 auto 1rem auto;
    box-shadow: 0 0 20px rgba(110, 196, 67, 0.3);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DASHBOARD LAYOUT --- */
#app-container {
    display: flex;
    width: 100vw;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border-top: none; border-bottom: none; border-left: none;
    z-index: 10;
}
.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.logo-box {
    width: 45px; height: 45px;
    background: var(--color-green-main);
    border-radius: 10px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: var(--color-gold);
}
.brand-text h2 { color: var(--color-gold-light); font-size: 1.4rem; letter-spacing: 1px;}
.brand-text span { font-size: 0.8rem; color: var(--text-muted); }

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--br-sm);
    margin-bottom: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}
.nav-item:hover, .nav-item.active {
    background: rgba(110, 196, 67, 0.15);
    color: white;
}
.nav-item.active {
    border-left: 4px solid var(--color-green-light);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-info { display: flex; align-items: center; gap: 0.8rem; }
.user-avatar {
    width: 40px; height: 40px;
    background: var(--color-gold);
    color: #000;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
}
.user-details span { display: block; font-weight: 600; font-size: 0.95rem; }
.user-details small { color: var(--text-muted); font-size: 0.8rem; }

.main-content {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.topbar {
    height: var(--topbar-height);
    border-radius: 0; border-top: none; border-left: none; border-right: none;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-btn { display: none; background: transparent; color: white; padding: 0.5rem; }
.topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.clock-display { font-family: monospace; font-size: 1.1rem; color: var(--color-gold-light); }
.notification-bell { position: relative; font-size: 1.3rem; cursor: pointer; }
.badge {
    position: absolute; top: -5px; right: -5px;
    background: #e74c3c; color: white;
    font-size: 0.7rem; font-weight: bold;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}
.notification-dropdown {
    position: absolute; top: 45px; right: -10px; width: 320px;
    padding: 1rem; z-index: 1000; max-height: 400px; overflow-y: auto;
    transform-origin: top right;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(11, 56, 29, 0.95);
    backdrop-filter: blur(10px);
    cursor: default;
}
.notification-dropdown.hidden { display: none; }
.notification-item { display: flex; gap: 1rem; padding: 0.8rem; border-radius: var(--br-sm); margin-bottom: 0.5rem; transition: var(--transition); cursor: pointer; }
.notification-item:hover { background: rgba(255, 255, 255, 0.05); }
.notification-item.unread { background: rgba(110, 196, 67, 0.1); border-left: 3px solid var(--color-green-light); }
.notif-icon { width: 35px; height: 35px; min-width: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1rem; }
.notif-content p { font-size: 0.85rem; margin-bottom: 0.2rem; line-height: 1.3; }
.notif-content small { font-size: 0.75rem; }

.content-area {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.view {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- GRID LAYOUTS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .waste-grid { grid-template-columns: 1fr; }
    .sidebar { position: fixed; transform: translateX(-100%); transition: var(--transition); z-index: 1000; background: rgba(3, 18, 11, 0.95); backdrop-filter: var(--glass-blur); }
    .sidebar.open { transform: translateX(0); box-shadow: 20px 0 50px rgba(0,0,0,0.5); }
    .mobile-menu-btn { display: block; }
    
    .content-area { padding: 1rem; }
    .glass-card, .glass-panel { padding: 1rem; }
    .topbar { padding: 0 1rem; height: 60px; }
    .login-container { padding: 1.5rem; margin: 1rem; }
    
    .scan-input-wrap { flex-direction: column; }
    
    .card-header.flex-between { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .card-header.flex-between > div { width: 100%; display: flex; flex-direction: column; gap: 0.5rem; }
    .card-header.flex-between > div > button, 
    .card-header.flex-between > div > select, 
    .card-header.flex-between > div > a { width: 100%; margin-left: 0; }
    
    .status-banner { flex-direction: column; text-align: center; }
    
    /* Make modal content fit screen */
    .modal-content { max-width: 90%; max-height: 90vh; overflow-y: auto; padding: 1.5rem; }
    
    /* Display 1 for rank text */
    .display-1 { font-size: 3rem; }
}

/* --- SPECIFIC COMPONENTS --- */
.stat-card {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem;
}
.stat-icon {
    width: 60px; height: 60px;
    border-radius: 15px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem;
}
.green-glow { background: rgba(110, 196, 67, 0.2); color: var(--color-green-light); box-shadow: 0 0 15px rgba(110, 196, 67,0.3); }
.gold-glow { background: rgba(201, 154, 46, 0.2); color: var(--color-gold-light); box-shadow: 0 0 15px rgba(212,175,55,0.3); }
.blue-glow { background: rgba(52, 152, 219, 0.2); color: #3498db; box-shadow: 0 0 15px rgba(52,152,219,0.3); }

.stat-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.3rem;}
.stat-info h3 { font-size: 1.8rem; }

.chart-wrapper { display: flex; flex-direction: column; }
.chart-container { flex: 1; position: relative; width: 100%; height: 300px; margin-top: 1rem; }
.filter-select { width: auto; padding: 0.4rem 1rem; }

.activity-list { margin-top: 1rem; }
.activity-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.activity-item:last-child { border-bottom: none; }
.activity-icon { width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; }

/* DATA TABLES */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.data-table th, .data-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.data-table th { color: var(--color-green-light); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;}
.data-table tbody tr:hover { background: rgba(255,255,255,0.05); }

/* SCANNER / KANTIN */
.scanner-icon-wrap { position: relative; display: inline-block; }
.barcode-anim { font-size: 5rem; color: var(--text-muted); }
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--color-green-light); box-shadow: 0 0 10px var(--color-green-light);
    animation: scan 2s infinite linear;
}
@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.scan-input-wrap { display: flex; justify-content: center; gap: 1rem; max-width: 500px; margin: 0 auto; }

.waste-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.waste-card {
    text-align: center; cursor: pointer; transition: transform 0.2s;
    position: relative; overflow: hidden;
}
.waste-card:hover { transform: scale(1.05); border-color: var(--color-gold); }
.waste-card:active { transform: scale(0.95); }
.waste-icon { font-size: 3.5rem; color: var(--color-gold-light); margin-bottom: 1rem; }
.counter-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--color-green-main); color: white;
    font-size: 1.2rem; font-weight: bold; padding: 0.2rem 0.8rem; border-radius: 20px;
}
.click-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; opacity: 0.7; }

/* VERIFIKASI / PETUGAS */
.kelas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.kelas-card {
    padding: 1.5rem; border-radius: var(--br-md); border: 1px solid var(--color-border);
    background: var(--color-surface); text-align: center;
}
.kelas-card.verified { border-color: var(--color-green-light); opacity: 0.7; }
.kelas-card.verified .btn-primary { display: none; }

/* SISWA */
.status-banner {
    padding: 1.5rem; border-radius: var(--br-md); display: flex; align-items: center; gap: 1.5rem;
}
.status-banner.pending { background: rgba(243, 156, 18, 0.2); border: 1px solid #f39c12; }
.status-banner.pending i { color: #f39c12; font-size: 2.5rem; }
.status-banner.valid { background: rgba(110, 196, 67, 0.2); border: 1px solid var(--color-green-light); }
.status-banner.valid i { color: var(--color-green-light); font-size: 2.5rem; }

.highlight-card {
    background: linear-gradient(135deg, rgba(201, 154, 46, 0.1), rgba(201, 154, 46, 0.05));
    border-color: rgba(201, 154, 46, 0.3);
}

/* MODAL TIKET */
.modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1000; display: flex; justify-content: center; align-items: center;
}
.modal.hidden { display: none !important; }
.modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.modal-content {
    position: relative; z-index: 1001; width: 100%; max-width: 450px;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal {
    position: absolute; top: 15px; right: 15px;
    background: transparent; color: white; border: none; font-size: 1.5rem; cursor: pointer;
}

/* TICKET PRINT STYLES */
.ticket-layout { background: white; color: #333; border-radius: 0; }
.ticket-print-area { padding: 2rem; border: 2px dashed #ccc; background: #fff; color: #000; }
.ticket-top { text-align: center; border-bottom: 2px solid #000; padding-bottom: 1rem; margin-bottom: 1rem; }
.ticket-top h2 { font-size: 2rem; font-weight: 800; letter-spacing: 2px; margin: 0.5rem 0 0.2rem; }
.ticket-logo { font-size: 2.5rem; color: #000; }
.ticket-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 1.1rem; }
.status-badge.valid { background: #000; color: #fff; padding: 0.3rem 1rem; font-weight: bold; text-transform: uppercase; }
.ticket-bot { margin-top: 2rem; text-align: center; border-top: 2px dashed #000; padding-top: 1rem; }
.barcode-fake { font-family: monospace; font-size: 2.5rem; letter-spacing: -2px; margin-top: 1rem; }

@media print {
    @page {
        size: A4;
        margin: 1cm;
    }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide all non-printable UI elements */
    .sidebar, .header {
        display: none !important;
    }
    
    /* Hide inactive views */
    .view.hidden {
        display: none !important;
    }

    /* In OSIS view, hide the header controls */
    #view-admin-osis .card-header {
        display: none !important;
    }

    .main-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: none !important;
    }

    .glass-card {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    #osis-card-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-content: flex-start !important;
        gap: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .printable-osis {
        position: relative !important;
        border: 1px dashed #666 !important; /* Dotted border as cutting guide */
        box-shadow: none !important;
        margin: 0 !important;
        page-break-inside: avoid !important;
        background-color: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* OSIS CARD DESIGN */
.osis-card-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 2rem; }
.osis-card {
    width: 340px; height: 215px; /* KTP proportion */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    color: #333;
    display: flex;
    flex-direction: column;
}
.osis-header { 
    background: var(--color-green-main); color: #fff;
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1rem; border-bottom: none;
}
.osis-header i { font-size: 1.5rem; }
.osis-header h4 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.osis-header p { font-size: 0.75rem; margin: 0; font-weight: 600; }
.osis-body { 
    padding: 1rem; flex: 1; 
    display: flex;
    align-items: center;
    gap: 1rem;
}
.osis-qr { 
    background: transparent; padding: 0; border-radius: 4px; 
    display: flex; align-items: center; justify-content: center;
}
.osis-qr img { display: block; width: 90px; height: 90px; }
.osis-details { flex: 1; }
.osis-details p { margin-bottom: 0.4rem; font-size: 0.8rem; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 0.2rem;}
.osis-details p:last-child { border-bottom: none; }
.osis-footer {
    background: rgba(0,0,0,0.05); padding: 0.5rem; text-align: center;
    margin-top: auto;
    font-size: 0.7rem;
    color: #555;
}
.text-left { text-align: left; }

/* TEXTAREA */
.input-textarea {
    width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--color-border);
    color: white; padding: 0.8rem 1rem; border-radius: var(--br-sm); font-size: 1rem;
    transition: var(--transition); resize: vertical;
}
.input-textarea:focus { border-color: var(--color-green-light); outline: none; box-shadow: 0 0 0 3px rgba(110, 196, 67, 0.2); }

/* --- OSIS CARD CUSTOM STYLES --- */
.card-bg-white {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    color: #333 !important;
}
.card-bg-white::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background-image: var(--school-logo-url, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
}
.osis-card .osis-header, 
.osis-card .osis-body, 
.osis-card .osis-footer {
    position: relative;
    z-index: 1;
}
.card-bg-white * {
    color: inherit;
}
.card-bg-white .osis-header, .card-bg-white .osis-header * {
    color: #fff !important;
}
