/* HITUNG MUNDUR */
/* Countdown Section */
.countdown-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.countdown-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.countdown-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.countdown-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

#countdownText {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 15px;
    min-width: 80px;
    border: 1px solid rgba(255,255,255,0.3);
}

.time-box span:first-child {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-box span:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-date {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
    margin-top: 10px;
}

/* Animasi untuk countdown */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-timer .time-box {
    animation: pulse 2s infinite;
}

#seconds { animation-delay: 0s; }
#minutes { animation-delay: 0.5s; }
#hours { animation-delay: 1s; }
#days { animation-delay: 1.5s; }

/* Responsive */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .time-box {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .time-box span:first-child {
        font-size: 2rem;
    }
}
/* HITUNG MUNDUR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00b4d8 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 3rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header h2 {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Login Section */
.login-section {
    animation: fadeInUp 1s ease;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.login-card h3 {
    margin-bottom: 30px;
    color: #1e3c72;
    font-size: 1.4rem;
    font-weight: 600;
}

.login-card h3 i {
    color: #00b4d8;
    margin-right: 10px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

#nisnInput {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

#nisnInput:focus {
    outline: none;
    border-color: #00b4d8;
    box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
    background: white;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,180,216,0.4);
}

/* Result Section */
.result-section {
    animation: fadeInUp 1s ease;
    width: 100%;
    max-width: 500px;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-back {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.result-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #00b4d8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-item h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-item .info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.result-item .info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-item .label {
    font-weight: 500;
    color: #495057;
}

.result-item .value {
    font-weight: 600;
    color: #1e3c72;
}

.status-lulus {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
}

.status-tidak {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1rem;
}

.print-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

.btn-print {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40,167,69,0.4);
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid #00b4d8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #printContent, #printContent * {
        visibility: visible;
    }
    #printContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    .btn-back, .btn-print, .print-section {
        display: none !important;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .login-card, .result-card {
        padding: 30px 25px;
        margin: 0 10px;
    }
}