/* Base styles for Fast Scribe */

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f2f2f2;
    color: #1b1b1b;
    display: flex;
    justify-content: center;
    font-weight: 700;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    box-sizing: border-box;
}

/* Container styles */
.container {
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    text-align: center;
}

#upload-container {
    max-width: 500px;
    margin: 0 auto;
}

#results-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Typography */
h1 {
    margin-top: 0;
    color: #ffffff;
}

/* Upload area */
.upload-area {
    border: 2px dashed #555;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #555;
    background-color: #e6e6e6;
}

.upload-area.active {
    border-color: #555555;
    background-color: rgba(200, 200, 200, 0.1);
}

#file-input {
    display: none;
}

/* Buttons - unified style for all button types */
.btn, .download-btn, .feedback-btn, .back-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    cursor: pointer;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status and feedback */
#status {
    margin-top: 20px;
    font-size: 16px;
    min-height: 24px;
}

/* Spinner animation */
.spinner {
    border: 4px solid rgba(216, 216, 216, 0.3);
    border-radius: 50%;
    border-top: 4px solid #282828;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

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

/* Progress bar */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin: 10px 0;
    overflow: hidden;
    height: 8px;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Utility classes */
.hidden {
    display: none;
}

.file-info {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}

img {
    width: 100%;
    border-radius: 1px;
}

#video-container {
    display: none;
}

/* No separate feedback button style needed - using unified button style */
