* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; justify-content: center; align-items: center; 
    min-height: 100vh; padding: 20px;
}
.container {
    background: #fff; padding: 30px; border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); width: 100%; max-width: 500px; text-align: center;
}

/* ========== HEADER & LOGO STYLING ========== */
.header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.logo-container {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #667eea;
    flex-shrink: 0;
}

.school-logo {
    width: 60%;
    height: 90%;
    object-fit: cover;
}

h1 { 
    margin: 0;
    color: #2c3e50; 
    font-size: 1.6rem;
    text-align: left;
    flex: 1;
    min-width: 200px;
}

#question-text { 
    font-size: 1.2rem; margin-bottom: 20px; color: #444; 
    padding: 15px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #667eea;
}

#answer-input {
    width: 100%; padding: 15px; font-size: 1rem;
    border: 2px solid #ddd; border-radius: 8px;
    margin-bottom: 15px; text-align: center;
    transition: border-color 0.3s;
}
#answer-input:focus {
    outline: none; border-color: #667eea;
}

#submit-btn {
    width: 100%; padding: 12px; background: #667eea; color: #fff;
    border: none; border-radius: 8px; cursor: pointer; 
    font-size: 1rem; font-weight: bold; transition: 0.3s;
}
#submit-btn:hover { background: #5568d3; }
#submit-btn:disabled { background: #ccc; cursor: not-allowed; }

.hidden { display: none; }

#feedback { 
    margin-top: 20px; padding: 20px; border-radius: 10px; 
    animation: fadeIn 0.5s;
}
#feedback.benar { background: #d4edda; border: 2px solid #28a745; }
#feedback.salah { background: #f8d7da; border: 2px solid #dc3545; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#feedback-msg { font-size: 1.1rem; font-weight: bold; margin-bottom: 10px; }
#feedback.benar #feedback-msg { color: #155724; }
#feedback.salah #feedback-msg { color: #721c24; }

#feedback-img {
    width: 100%; max-width: 300px; margin: 15px auto; display: block;
    border-radius: 10px; border: 3px solid #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#next-btn {
    margin-top: 15px; padding: 12px 25px; background: #28a745; color: #fff;
    border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: bold;
}
#next-btn:hover { background: #218838; }

