@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    background-image: url('../images/pattern-bg.svg');
    background-repeat: repeat;
    background-size: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 16px;
}

.card-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    margin: auto;
    transition: all 0.3s;
}

@media (max-width: 480px) {
    .card-custom {
        padding: 1.5rem;
        border-radius: 24px;
        max-width: 100%;
    }
}

/* PERBAIKAN LOGO */
.logo-img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6b3d;
    text-align: center;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

.form-control, .form-select {
    border-radius: 14px;
    border: 1px solid #c8e6c9;
    padding: 12px 16px;
    background: #f9f9f9;
    transition: 0.3s;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #f9a825, #ffb300);
    border: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 600;
    color: #1e1e1e;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffb300, #f57c00);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 168, 37, 0.5);
}

.result-status {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .result-status {
        font-size: 1.5rem;
    }
}

.lulus {
    color: #1b5e20;
}

.tidak {
    color: #c62828;
}

.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #81c784, transparent);
    margin: 1.5rem 0;
}

.btn-outline-secondary {
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.text-muted.small {
    font-size: 0.8rem;
}

.alert {
    border-radius: 14px;
    font-size: 0.9rem;
}
/* Countdown Timer */
.countdown-container {
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9, #fff);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #c8e6c9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.countdown-text {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-timer > div {
    background: #fff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    min-width: 65px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.countdown-timer > div span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5e20;
    line-height: 1.2;
}

.countdown-timer > div small {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .countdown-timer > div {
        min-width: 55px;
        padding: 0.5rem;
    }
    .countdown-timer > div span {
        font-size: 1.4rem;
    }
}