/* This is the main container, using your requested styles */
.floating-audio-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column; /* Stacks buttons vertically */
    align-items: flex-end;  /* Aligns them to the right */
}

/* This styles your main microphone button */
.floating-mic-btn {
    /* Your styles */
    border-radius: 20px;
    letter-spacing: 1px;
    
    /* My styles to make it a nice circular button */
    width: 55px;
    height: 55px;
    padding: 0;
    font-size: 1.2rem; /* Controls icon size */
    color: white;
    background-color: #dc3545; /* btn-danger color */
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* This is the container for the pop-up buttons */
.language-options {
    display: none; /* Hidden by default */
    flex-direction: column;
    margin-bottom: 10px; /* Space between pop-ups and mic */
}

/* This class is toggled by JavaScript to show the buttons */
.floating-audio-container.open .language-options {
    display: flex;
}

/* This styles the "small" pop-up buttons as you requested */
.language-options button {
    font-size: 15px;  /* Small font */
    padding: 6px 12px; /* Small padding */
    margin-top: 8px;
    border-radius: 20px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #333;
    cursor: pointer;
    
    /* NEW: Add a smooth transition for the color change */
    transition: background-color 0.2s, color 0.2s;
}

.language-options button:hover {
    background-color: #f4f4f4;
}

/* NEW: This is the "active" or "speaking" state.
  JavaScript will add this class to the button that is playing.
*/
.language-options button.speaking {
    background-color: #007bff; /* A nice blue color */
    color: white;
}

