#audio-transcriber-form {
    margin-bottom: 50px !important;
}

.audio-transcriber-container {
    position: relative;
}

.audio-transcriber-container button:disabled {
    background-color: lightgray !important;
    cursor: not-allowed !important;
}

.upload-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 0px;
}

.uploaded-audio-wrapper {
    display: none;
    position: relative;
    width: 100%;
    line-height: 1;
}

.uploaded-audio-player {
    width: 100%;
    border: 1px solid black;
    border-radius: 0px;
}

.remove-uploaded-audio-button,
.remove-uploaded-audio-button:focus {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    line-height: 1;
    background-color: white;
    color: red;
    border: 1px solid red;
    font-weight: bold;
    border-radius: 0px;
    padding: 0;
}

.remove-uploaded-audio-button:hover {
    background-color: red;
    color: white;
}

.audio-upload-control {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.audio-upload-methods {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 45px 20px 55px 20px;
    border: 2px dashed #ccc;
    border-radius: 0px;
    transition: all 0.3s ease;
    background-color: white;
}

.audio-upload-methods.drag-over {
    border-color: black;
    background-color: rgba(0, 0, 0, 0.05);
}

.audio-upload-description {
    font-size: 14px;
    font-style: italic;
    line-height: 1;
    position: absolute;
    bottom: 5px;
}

.audio-file-info {
    display: none;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1;
    font-style: italic;
}

.audio-upload-button {
    font-size: 22px;
    font-weight: bold;
    border-radius: 0px;
    padding: 15px 20px;
    box-shadow: 3px 3px;
}

.audio-processing-progress-container {
    display: none;
    width: 100%;
    margin-bottom: 5px;
}

.audio-processing-progress-bar {
    width: 0%;
    height: 10px;
    background-color: black;
    border-radius: 0px;
    transition: width 0.3s ease;
}

.audio-processing-progress-label {
    font-size: 14px;
    margin-top: 5px;
    line-height: 1.5;
    text-align: center;
    color: #333;
}

.language-selector-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.language-selector {
    width: 100%;
    padding: 5px;
    border: 2px solid black;
    font-size: 14px;
    color: black;
    background-color: white;
    text-align: center;
    font-weight: 600;
    box-shadow: 1px 1px;
}

.process-audio-button {
    box-shadow: 3px 3px;
}

.transcript-section {
    display: none;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 0px;
    padding: 20px;
    margin-top: 20px;
}

.transcript-section h2 {
    font-size: 18px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.action-section {
    display: none;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.action-section > button {
    display: flex;
    gap: 5px;
    font-size: 15px;
    border-radius: 0px;
    padding: 7px 8px;
    box-shadow: 1px 1px;
}

.popup-container {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.popup-wrapper {
    position: relative;
}

.popup-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: white;
    min-width: 30vw;
    max-width: 90vw;
    max-height: 80vh;
    padding: 20px;
    position: relative;
    border: 1px solid black;
    border-radius: 0px;
    overflow-y: auto;
}

.popup-close-button {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: white;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 1px solid black;
    border-radius: 0px;
    font-size: 16px;
    color: black;
    font-weight: bold;
}

.popup-close-button:hover {
    color: white;
    background-color: black;
}

.export-timestamp-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
}

.export-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.export-options button {
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
    border: 2px solid black;
    border-radius: 0px;
    color: black;
    box-shadow: 1px 1px;
}

.transcript-process-info {
    display: none;
    width: fit-content;
    font-size: 16px;
    font-style: italic;
    line-height: 1;
    border: 1px solid lightgray;
    border-radius: 0px;
    padding: 5px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.control-section {
    display: none;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.control-section-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 0px;
    font-size: 16px;
    line-height: 1;
}

.audio-transcript {
    display: none;
}

.transcript-caption {
    cursor: pointer;
    display: block;
}

.transcript-caption-template {
    display: none;
}

.transcript-caption:hover {
    background-color: #f0f0f0;
}

.caption-timecode {
    font-size: 13px;
    color: rgb(70, 70, 70);
}
