#mehru-reading-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 20px auto;
}

.status-bar {
    text-align: right;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

#mehru-slide-area {
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
}

.mehru-phrase {
    background: #0073aa;
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 1.6em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mehru-phrase:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* ** NEW EFFECT: When the microphone is listening ** */
.mehru-phrase.listening {
    background-color: #ffb900;
    color: #333;
    border-color: #f58900;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 185, 0, 0.8);
}

/* ** NEW EFFECT: For a correct answer ** */
.mehru-phrase.correct {
    animation: correct-animation 1s forwards;
}

@keyframes correct-animation {
    0% {
        background-color: #28a745; /* Green flash */
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

/* ** NEW EFFECT: For an incorrect answer ** */
.mehru-phrase.incorrect {
    animation: shake-animation 0.5s ease;
    background-color: #dc3545; /* Red flash */
}

@keyframes shake-animation {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

#mehru-navigation button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #e9e9e9;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    font-size: 1em;
    transition: background-color 0.2s;
}

#mehru-navigation button:hover {
    background: #dcdcdc;
}

#mehru-results-area {
    text-align: left;
    background: #eaf6ff;
    padding: 20px;
    border: 1px solid #bce8f1;
    border-radius: 5px;
}

#mehru-results-area h2 {
    margin-top: 0;
    color: #31708f;
}

#mehru-results-area ul {
    list-style-type: none;
    padding: 0;
}

#mehru-results-area li {
    background: #fff;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 4px;
    border-left: 5px solid #31708f;
}