#audio-recorder {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align all elements */
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.arp-controls {
    display: flex;
    gap: 20px; /* Increased gap for better spacing */
    margin-bottom: 20px; /* Added spacing below controls */
}

#recordButton {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Makes the button round */
    background-color: #ff4b5c; /* Bright color for visibility */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#recordButton:hover:not(:disabled) {
    background-color: #e04350;
}

#recordButton:disabled {
    background-color: #ffb3b8;
    cursor: not-allowed;
}

#stopButton {
    width: 80px;
    height: 80px;
    background-color: #000; /* Black color */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#stopButton:hover:not(:disabled) {
    background-color: #333;
}

#stopButton:disabled {
    background-color: #555;
    cursor: not-allowed;
}

#pauseButton {
    width: 80px;
    height: 80px;
    background-color: #0073aa;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pauseButton:hover:not(:disabled) {
    background-color: #005177;
}

#pauseButton:disabled {
    background-color: #80c1dd;
    cursor: not-allowed;
}
#chronometer {
    font-size: 48px; /* Large font size for visibility */
    font-weight: bold;
    color: #333; /* Dark color for the text */
    margin-top: 20px; /* Add space above the timer */
    text-align: center; /* Center the text */
}

.arp-timer {
    margin-top: 10px;
    font-size: 32px; /* Increased font size for larger numbers */
    font-weight: bold;
    color: #333;
}

.arp-audio {
    margin-top: 15px;
    width: 100%;
}

.arp-transcription {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #ddd;
    width: 100%;
}

.arp-transcription h3 {
    margin-bottom: 10px;
    color: #0073aa;
}

.arp-transcription p {
    white-space: pre-wrap;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 600px) {
    #recordButton, #stopButton, #pauseButton {
        width: 60px;
        height: 60px;
    }

    .arp-timer {
        font-size: 24px;
    }
}
