/* ===============================
   WRAPPER
================================ */
#gk-quiz-box {
    max-width: 720px;
    margin: 120px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

/* ===============================
   QUESTION
================================ */
#gk-quiz-box #question {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #1f2937;
}

#gk-quiz-box #question-count {
    font-weight: 600;
    color: #555;
}

/* ===============================
   OPTIONS
================================ */
#gk-quiz-box #options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

#gk-quiz-box #options button {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #6878D6;
    cursor: pointer;
    transition: all 0.2s ease;
}

#gk-quiz-box #options button:hover {
    border-color: #242A56;
}

/* CORRECT / WRONG STATES */
#gk-quiz-box #options button.correct {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
}

#gk-quiz-box #options button.wrong {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

#gk-quiz-box #options button:disabled {
    cursor: not-allowed;
    opacity: 0.95;
}

/* ===============================
   NEXT BUTTON
================================ */
#gk-quiz-box #next-btn {
    margin-top: 24px;
    padding: 14px;
    width: 100%;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background: #4f46e5;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

#gk-quiz-box #next-btn:hover:not(:disabled) {
    background: #4338ca;
}

#gk-quiz-box #next-btn:disabled {
    background: #a5b4fc;
    cursor: not-allowed;
}

/* ===============================
   SCORE / RESULT
================================ */
#gk-quiz-box #score {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    color: #374151;
    font-weight: 600;
}

/* ===============================
   PROGRESS BAR
================================ */
#gk-quiz-box .quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

#gk-quiz-box .quiz-progress-fill {
    height: 100%;
    background: #4f46e5;
    width: 0%;
    transition: width 0.3s ease;
}

/* ===============================
   TIMER
================================ */
#gk-quiz-box #timer {
    font-weight: 600;
    color: white;
}

#gk-quiz-box #gk-quiz-controls button {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #4f46e5;
    color: #fff;
    transition: background 0.2s ease;
}

#gk-quiz-box #gk-quiz-controls button:hover {
    background: #4338ca;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 600px) {
    #gk-quiz-box {
        margin: 30px 12px;
        padding: 18px;
    }

    #gk-quiz-box #question {
        font-size: 18px;
    }

    #gk-quiz-box #options button {
        font-size: 15px;
        padding: 12px;
    }
}