﻿.voice-converter { box-sizing: border-box; max-width: 850px; margin: 48px auto; padding: 0 20px; font: 16px/1.6 system-ui, sans-serif; color: #203047; }
.voice-converter * { box-sizing: border-box; }
.voice-converter h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 8px 0; letter-spacing: -1px; }
.voice-converter h2 { font-size: 1.2rem; margin: 0 0 16px; }
.voice-converter p { margin: 8px 0 20px; }
.voice-converter .badge { display: inline-block; color: #166649; background: #e8f7ee; padding: 5px 12px; border-radius: 20px; font-size: .85rem; font-weight: 600; }
.voice-converter .panel { background: #fff; border: 1px solid #d9e1eb; border-radius: 16px; padding: 24px; margin-top: 24px; box-shadow: 0 8px 28px #20304708; }
.voice-converter .drop-zone { border: 2px dashed #a4b8d1; border-radius: 12px; background: #f5f8fd; padding: 28px 20px; text-align: center; }
.voice-converter .drop-zone.drag-over { border-color: #245acf; background: #eaf0ff; }
.voice-converter label { display: block; font-weight: 600; margin-bottom: 8px; }
.voice-converter input[type=file] { max-width: 100%; }
.voice-converter .help { color: #54657b; font-size: .9rem; }
.voice-converter .settings { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.voice-converter select { min-width: 180px; padding: 10px; border: 1px solid #a4b8d1; border-radius: 8px; background: white; font: inherit; }
.voice-converter button, .voice-converter .download { display: inline-block; border: 0; border-radius: 8px; padding: 12px 22px; background: #245acf; color: white; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.voice-converter button.secondary { background: #e9edf4; color: #203047; margin-left: 8px; }
.voice-converter button:disabled { opacity: .5; cursor: not-allowed; }
.voice-converter :focus-visible { outline: 3px solid #5885ef; outline-offset: 4px; }
.voice-converter audio, .voice-converter progress { width: 100%; margin: 12px 0; }
.voice-converter progress { accent-color: #245acf; }
.voice-converter .file-name { overflow-wrap: anywhere; font-weight: 600; }
.voice-converter .error { color: #b42318; }
.voice-converter [hidden] { display: none !important; }
@media (max-width: 480px) { .voice-converter { margin: 24px auto; } .voice-converter .panel { padding: 16px; } .voice-converter .settings > div, .voice-converter select { width: 100%; } }
