body {
    font-family: Arial, sans-serif;
    margin: 40px;
    background-color: #f9f9f9;
    color: #333;
}

h1 {
    color: #444;
    margin-bottom: 10px;
}

button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-right: 10px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #005ea8;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

label {
    font-size: 14px;
    margin-top: 12px;
    display: inline-block;
}

#file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#file-list li {
    margin: 8px;
}

#file-list button {
    background-color: #eee;
    color: #333;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: left;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.2s ease;
}

#file-list button:hover {
    background-color: #ddd;
}

#outputs-display {
    margin-top: 0px;
    padding-top: 0px;
    white-space: pre-wrap;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
}

.transcription-entry {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: #fefefe;
}

.transcription-entry p {
    margin: 0;
    margin-bottom: 10px
}

.wav-list-entry {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px;
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

.wav-list-entry.selected {
    background-color: #cce5ff
}

.files {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
}

.files input {
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    height: 36px;
    box-sizing: border-box;
}

.outputs {
    width: 70%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.scroll-box {
    overflow-y: auto;
    margin-top: 0;
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px;
    background-color: #fff;
}

#outputs-buttons {
    margin-bottom: 10px;
    height: 36px;
    box-sizing: border-box;
}

.recorded-audio-files {
    display: flex;
    height: 100vh;
    align-items: flex-start;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.model-selector {
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-selector label {
    font-weight: bold;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    height: 36px;
    margin: 0;
}

.model-selector select {
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    display: flex;
    align-items: center;
}
