body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
}

#view {
    max-width: 800px;
    margin: 15px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

textarea {
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
}

.hidden {
    display: none; /* Hide elements with this class */
}

.play-btn {
    background-color: #4CAF50; /* Green */
    color: white;
    width: 100%;
    font-size: 18px;
    padding: 18px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.download-btn {
    background-color: #333333; /* Grey */
    color: white;
    width: 100%;
    font-size: 18px;
    padding: 18px 20px;
    border-radius: 4px;
    cursor: not-allowed; /* Indicates the button is disabled */
}

.download-btn:disabled {
    background-color: #ccc; /* Lighter grey when disabled */
    cursor: not-allowed;
}

.play-btn:hover {
    background-color: #45A049; /* Darker green on hover */
}

.download-btn:hover {
    background-color: #444444; /* Darker grey on hover */
}

.controls {
    display: flex; /* Flex container for even distribution */
    justify-content: space-between; /* Space between columns */
}

.column {
    flex: 1; /* Each column takes equal space */
    text-align: center; /* Center content within the column */
}

.column + .column {
    margin-left: 10px; /* Add space between columns */
}

.center {
    text-align: center; /* Centers all child elements horizontally */
}

.center span {
    padding: 0 5px; /* Consistent spacing between spans */
}

#audioRow {
    display: none; /* Initially hidden */
    width: 100%; /* Full width */
    justify-content: center;
}

#audioRow.visible {
    display: flex; /* Use flexbox for alignment */
    width: 100%; /* Full width when visible */
    justify-content: center; /* Center the content */
}

#audio {
    width: 100%; /* The audio player takes the entire width */
}
