body {
    margin-top: 50px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* form {
    margin-top: 30px;
} */

pre {
    background-color: #f8f8f8;
    padding: 15px;
    border: 1px solid #e1e1e1;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 1em;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: #888;
}

/* Existing styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    /* Center the container */
    padding: 0 20px;
    /* Add horizontal padding */
}

.button {
    margin-top: 5px;
    display: block;
    text-align: center;
}

.alert {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert.error {
    color: #B94A48;
    background-color: #F2DEDE;
    border-color: #EED3D7;
}

.bg-error {
    background-color: #B94A48 !important;
}

/* Progress bar styles */
#progress-container {
    margin-top: 20px;
}

.progress {
    position: relative;
    height: 20px;
    background-color: #f3f3f3;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    display: block;
    height: 100%;
    background-color: #1EAEDB;
    width: 0%;
    transition: width 0.2s ease;
}

.progress-percentage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 20px;
    color: #000;
    /* Start with black text */
    font-weight: bold;
}

.transcript-percentage {
    font-size: 1em;
    color: #950606;
    text-align: center;
}

.hidden {
    display: none;
}

/* Status message styling */
#status-message {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 10px;
}

/* Disable pointer events when form is disabled */
.disabled {
    pointer-events: none;
    opacity: 0.6;
}



/* Adjust container width on smaller screens */
@media (max-width: 600px) {
    .container {
        max-width: none;
        width: auto;
        padding: 10px;
    }

    /* Adjust input and select elements */
    input[type="file"],
    select {
        font-size: 16px;
        padding: 12px;
    }

    input[type="submit"].button-primary {
        font-size: 16px;
        height: auto;
        line-height: normal;
        padding: 12px;
        box-sizing: border-box;
        margin-top: 20px;
        /* Add margin if needed */
    }

    body {
        font-size: 18px;
    }

    #status-message {
        font-size: 1em;
    }

    .progress {
        height: 15px;
    }

    .progress-percentage {
        line-height: 15px;
        font-size: 0.9em;
    }

}