/* Quiz Styles - Dark Theme Colourful UI */

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.question_container {
    background-color: #222; /* dark container */
    color: #fff; /* white text */
    border-radius: 12px;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    max-width: 700px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.question_container p {
    font-size: 28px;
}

#options label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    background-color: #333;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.2s ease-in-out;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border: 2px solid transparent;
}

/* Hover effect for options */
#options label:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.7);
    border-color: #21bf73;
}

.options {
    border-radius: 20px;
    background-color: grey;
    color: black;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    line-height: 1.2;
}

.options .icon {
    width: 30px;
    height: 30px;
    border: 2px solid black;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
    visibility: visible; /* Always visible */
    flex-shrink: 0;
    color: transparent;  /* Hide initial symbol */
}

.btn-primary {
    background-color: #555;
    color: #ddd;
    border: 1px solid #ddd;
}

.btn-primary:hover {
    background-color: #21bf73;
    border: 1px solid #21bf73;
}

.btn-success {
    padding: 8px 25px;
    background-color: #21bf73;
    border: none;
    border-radius: 6px;
}

.tags {
    font-size: 16px;
    color: white;
    padding: 1px 2px;
    border-radius: 10px;
}

.tags .badge {
    background-color: #21bf73;
    color: white;
    margin: .5px;
    padding: 4px 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.tags .badge:hover {
    background-color: white;
    color: black;
}

/* Explanation Box */
#showexplanation {
    margin-top: 10px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    line-height: 0.8;
}

.nextbtn a.btn {
    padding: 8px 16px;
    font-size: 16px;
}

/* Smooth transitions for interactive elements */
#options label,
button, .nextbtn a {
    transition: all 0.2s ease-in-out;
}

@media(max-width: 576px) {
    #options label {
        font-size: 14px;
        padding: 2px 4px;
        margin: 4px;
    }

    .ques-heading {
        font-size: 30px;
    }

    .nextbtn a.btn {
        padding: 6px 10px;
        font-size: 13px;
        line-height: 1.2;
    }
}
