@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&display=swap');

.quiz-container {
    background: #1F2124;
    padding: 30px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    color: white;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    margin: 0 auto;
}
.quiz-question {
    margin-bottom: 30px;
    background-color: #2a2d32;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.quiz-question > p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.quiz-form label {
    display: flex;
    align-items: center;
    margin-bottom: -25px;
    gap: 0px;
    line-height: 1;
    padding: 0px 0px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 300;
}
.quiz-form input[type=radio] {
    appearance: none;
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin-top: 12px;
    margin-right: 10px;
    position: relative;
    top: 1px;
    cursor: pointer;
}
.quiz-form input[type=radio]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #422dff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 1px;
}
.quiz-form button {
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
.quiz-form button:active {
    transform: scale(0.98);
    background-color: #45a049; /* tom mais escuro momentâneo */
}

.quiz-form button:disabled {
    background: #ccc;
    color: #333;
    cursor: not-allowed;
    opacity: 0.9;
}

.quiz-feedback {
    margin-top: 25px;
    font-weight: bold;
    font-size: 16px;
}

.quiz-correct {
    background-color: #2e7d32 !important;
    color: #fff !important;
}
.quiz-incorrect {
    background-color: #c62828 !important;
    color: #fff !important;
}
.quiz-neutral {
    background-color: #666 !important;
    color: #ccc !important;
}

.quiz-progress-bar {
    width: 100%;
    height: 12px;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.quiz-progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #1F2124, #3b6cff); /* preto → amarelo */
    transition: width 0.4s ease-in-out;
    border-radius: 6px;
}


.quiz-navigation {
    margin: 20px 0;
    text-align: center;
    gap: 10px;
}
.quiz-navigation button {
    padding: 8px 16px;
    font-size: 14px;
    background-color: #3b6cff;
}