.mcq-container {
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.mcq-container h2 {
    font-size: 24px;
    color: #003049;
    text-align: center;
    margin-bottom: 20px;
}

.mcq-question {
    font-size: 20px;
    color: #333333;
    margin-bottom: 20px;
    padding: 10px;
    border-left: 4px solid #003049;
    background-color: #f9f9f9;
}

.mcq-options {
    display: flex;
    flex-direction: column;
}

.mcq-option {
    margin-bottom: 10px;
}

.mcq-option input[type="radio"] {
    display: none;
}

.mcq-option label {
    font-size: 18px;
    padding: 10px;
    background-color: #e1e5ea;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mcq-option input[type="radio"]:checked + label {
    background-color: #003049;
    color: #ffffff;
}

.mcq-option label:hover {
    background-color: #005177;
    color: #ffffff;
}

.submit-button {
    display: block;
    width: 100%; /* Ensure the button takes the full width of its container */
    max-width: 100%; /* Prevent it from exceeding the container width */
    padding: 12px;
    background-color: #003049;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.submit-button:hover {
    background-color: #005177;
}

#mcq-result p {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.translation-text {
    font-family: "Oswald", sans-serif;
    font-size: 1.1em;
    color: #333;
    margin-top: 0.5em;
    text-align: center;
    line-height: 1.5em;
    background-color: #f9f9f9;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#play-question-sound {
    max-width: 100%;
    background-color: #28a745; /* Green background */
    color: white; /* White text */
    border: none; /* Remove default border */
    padding: 10px 20px; /* Add padding */
    font-size: 16px; /* Increase font size */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Hover effect */
#play-question-sound:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Active effect */
#play-question-sound:active {
    background-color: #1e7e34; /* Even darker green when clicked */
    transform: translateY(2px); /* Slight movement on click */
}

/* Optional: Focus outline */
#play-question-sound:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); /* Focus outline with a green color */
}
