/* CSS UNTUK SISTEM PENGUMUMAN KELULUSAN 
   SMKN 1 DAWUAN
*/

:root {
    --primary-color: #0d6efd;
    --secondary-color: #003d99;
    --accent-color: #ffc107;
    --success-color: #198754;
    --danger-color: #dc3545;
    --bg-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.9);
}

body {
    background-color: var(--bg-light);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* --- FRONT END STYLES --- */

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0 100px 0;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px rgba(0, 61, 153, 0.2);
}

.hero-section img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    margin-bottom: 20px;
}

.hero-section h1 {
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hitung Mundur */
#countdown {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(1.5rem, 5vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

#warning {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(1.5rem, 5vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background: rgba(218, 21, 21, 0.2);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}
/* Card & Form */
.card-custom {
    border: none;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: var(--primary-color);
}

.btn-primary {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--secondary-color);
    border: none;
}

/* Status Kelulusan */
.status-box {
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.status-lulus {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
    border: 2px solid var(--success-color);
    font-size: 2rem;
    font-weight: 900;
    animation: pulse 2s infinite;
}

.status-tidak {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
    font-size: 1.8rem;
    font-weight: 800;
}

/* --- ADMIN PANEL STYLES --- */

.sidebar {
    min-height: 100vh;
    background: #212529;
    color: white;
}

.admin-card-stat {
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
}

/* Animasi */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Print Style */
@media print {
    .hero-section, .btn, form, #countdown-container {
        display: none !important;
    }
    body { background: white; }
    .card-custom { box-shadow: none; border: 1px solid #000; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 80px 0;
    }
}

.status-bersyarat {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 2px solid #ffc107;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Tambahkan warna border untuk dashboard admin */
.border-bersyarat {
    border-left: 5px solid #ffc107 !important;
}
 footer {
            background-color: #137a24;
            border-top: 1px solid #e2e8f0;
            padding: 40px 0 20px 0;
            margin-top: 50px;
        }
        .footer-text {
            color: #e2e8f0;
            font-size: 0.9rem;
            text-align: center;
        }