* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, sans-serif;
    background: #111;
    color: #eee;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

.upload-zone {
    border: 2px dashed #444;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: #666;
    background: #1a1a1a;
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#status {
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1rem;
}

#output {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#transcription {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #eee;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}

#progressContainer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

#progressBar {
    flex: 1;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

#progressBar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: #4a9eff;
    border-radius: 4px;
    transition: width 0.2s ease;
}

#progressText {
    min-width: 3rem;
    font-size: 0.875rem;
    color: #888;
    text-align: right;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

button {
    padding: 0.5rem 1rem;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #eee;
    cursor: pointer;
}

button:hover {
    background: #444;
}
