.voz-layout {
    width: 100%;
    height: 100%;
    display: flex;
    box-sizing: border-box;
}

.voz-form {
    width: 380px;
    flex-shrink: 0;
    background: #0d1117;
    border: 1px solid rgba(48, 54, 61, 0.9);
    padding: 24px;
    overflow-y: auto;
    box-sizing: border-box;
}

.voz-form label {
    display: block;
    color: #8b949e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 20px;
}

.voz-form label:first-child {
    margin-top: 0;
}

.voz-form textarea {
    width: 100%;
    background: #161b22;
    color: #fff;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.voz-form textarea:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.voz-form textarea::placeholder {
    color: #64748b;
}

.voz-form select.model-selector {
    width: 100%;
    max-width: none;
}

.voz-form .btn-guion-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voz-form .btn-guion-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== Sliders de ajustes avanzados ===== */
.voz-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #30363d;
    outline: none;
    margin-top: 4px;
}

.voz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.voz-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

#vz-speed-val, #vz-vol-val, #vz-pitch-val {
    color: #06b6d4;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== Panel de preview de audio ===== */
.voz-preview-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.voz-player-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 420px;
}

.voz-icon-grande {
    font-size: 64px;
    color: #06b6d4;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.voz-audio {
    width: 100%;
}

@media (max-width: 900px) {
    .voz-layout {
        flex-direction: column;
        height: auto;
    }
    .voz-form {
        width: 100%;
    }
}
