* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header / Card */
.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Judul Utama */
.judul-utama {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 25px;
}

.judul-utama h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Sambutan Kepala Sekolah */
.sambutan {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
}

.sambutan p {
    margin-bottom: 15px;
}

.tanda-tangan {
    text-align: right;
    margin-top: 30px;
    font-style: italic;
}

/* Timer */
.timer-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 25px;
}

.timer-box h3 {
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    min-width: 100px;
}

.time-number {
    font-size: 36px;
    font-weight: bold;
}

.time-label {
    font-size: 14px;
    margin-top: 5px;
}

/* Button */
.btn-cek {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.btn-cek:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1e3c72;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2a5298;
}

/* Hasil Pengecekan */
.hasil-card {
    background: #f8f9fa;
    border-left: 5px solid #2a5298;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.hasil-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.info-item {
    margin-bottom: 10px;
    padding: 8px;
    background: white;
    border-radius: 5px;
}

.info-label {
    font-weight: bold;
    color: #2a5298;
}

.status-lulus {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.status-tidak-lulus {
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
}

/* Tabel */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #1e3c72;
    color: white;
}

tr:hover {
    background: #f5f5f5;
}

/* Notifikasi */
.notification {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.notification-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.notification-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.notification-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Loading */
.loading {
    text-align: center;
    padding: 20px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .judul-utama h1 {
        font-size: 20px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-number {
        font-size: 24px;
    }
}