/* style.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #f4f4f4;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}
        #overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            font-size: 20vw; /* Adjust font size to scale the emoji */
        }
        #overlayButton {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: inherit; /* Inherits size from parent */
        }

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    display:none;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.button {
    background: #5cb85c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    display: block; /* Full-width buttons */
    width: 100%;
}

.button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.audio-player {
    width: 100%;
    margin: 20px 0;
}

.transcription-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 2px 0;
    min-height: 100px;
    white-space: pre-wrap; /* Ensures the formatting of the transcription is preserved */
}

.loader-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1px;
    margin: 2px 0;
    min-height: 20px;
    position: relative;
    overflow: hidden;
    display: none; /* Hide by default */
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #4caf50;
    animation: loadingAnimation 2s linear infinite;
}

@keyframes loadingAnimation {
    0% { width: 0%; }
    50% { width: 50%; }
    100% { width: 100%; }
}

.buttons-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap; /* Ensure buttons stay in a single row */
}

.emoji-button {
    font-size: 32px; /* Adjust size as needed */
    padding: 10px 20px;
    margin: 5px;
    flex: 1; /* Allows buttons to grow and share space equally */
    text-align: center;
}

.button, .emoji-button {
    background: #5cb85c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 32px; /* Adjusted for emoji size consistency */
    display: inline-block; /* Changed from block to inline-block for horizontal alignment */
    width: auto; /* Changed from 100% to auto for inline display */
    text-align: center;
}

/* Specific adjustments for the upload button container */
#imageUploadContainer {
    display: inline-flex; /* This will help keep the label and input aligned */
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center items horizontally */
}


/* Adaptations for smaller screens */
@media (max-width: 768px) {
    .emoji-button {
        font-size: 28px; /* Adjust for smaller screens */
        padding: 10px 10px; /* Reduce padding on smaller screens */
    }
}

