/* VoxCPM Speech Synthesis - Neon theme matching other pages */

#voxcpm-title {
    margin-bottom: 20px;
}

/* Mode selector section */
#mode-select {
    margin-bottom: 25px;
    align-items: center;
}

/* Reference audio section */
#reference-audio-section {
    display: none;
    margin-bottom: 25px;
}

/* Design input section */
#design-input {
    display: none;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
    align-items: center;
}

#designInput {
    max-width: 500px;
    width: 100%;
    background-color: rgba(8, 9, 15, 0.85);
    color: #e0e3e7;
    border: 2px solid rgba(0, 229, 255, 0.35);
    border-radius: 8px;
    padding: 0.6em 1em;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    transition: all 0.3s ease;
}

#designInput::placeholder {
    color: rgba(224, 227, 231, 0.5);
}

#designInput:focus {
    background-color: rgba(8, 9, 15, 0.95);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.2), inset 0 0 8px rgba(0, 0, 0, 0.4);
    color: #e0e3e7;
    outline: none;
}

/* Text prompt section */
#text-prompt {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
    align-items: center;
}

#textArea {
    max-width: 500px;
    background-color: rgba(8, 9, 15, 0.85);
    color: #e0e3e7;
    border: 2px solid rgba(0, 229, 255, 0.35);
    border-radius: 8px;
    padding: 0.6em 1em;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    transition: all 0.3s ease;
}

#textArea::placeholder {
    color: rgba(224, 227, 231, 0.5);
}

#textArea:focus {
    background-color: rgba(8, 9, 15, 0.95);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.2), inset 0 0 8px rgba(0, 0, 0, 0.4);
    color: #e0e3e7;
    outline: none;
}

.char-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(8px, 1vw, 11px);
    color: rgba(224, 227, 231, 0.5);
    text-align: right;
    margin-top: 4px;
    width: 100%;
    max-width: 500px;
}

/* Parameter sliders */
#parameter-sliders {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.slider-group {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.slider-label {
    display: block;
    color: #e0e3e7;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(11px, 1.3vw, 13px);
    margin-bottom: 8px;
    text-align: left;
}

.slider-label span {
    color: #00e5ff;
    font-weight: 700;
}

.slider-hints {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.slider-hints span {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(8px, 1vw, 11px);
    color: rgba(224, 227, 231, 0.5);
}

.slider-hints .restore-default {
    cursor: pointer;
    color: rgba(0, 229, 255, 0.5);
    transition: color 0.3s ease;
}

.slider-hints .restore-default:hover {
    color: #00e5ff;
    text-decoration: underline;
}

#parameter-sliders input[type="range"] {
    touch-action: none;
}

/* Output / results section */
#voxcpm-results {
    display: none;
    margin-bottom: 25px;
}

/* Neon generate button */
.btn-neon-convert {
    margin: 10px auto 15px auto;
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 1.8vw, 14px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    background: #00e5ff;
    border: 2px solid #00e5ff;
    border-radius: 50vh;
    padding: 0.6em 2em;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-neon-convert:hover {
    background: #000000;
    color: #00e5ff;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
    transform: scale(1.05);
}

/* Fancy separator line between sections */
.fancy-line {
    position: relative;
    height: 2px;
    margin: 25px auto;
    max-width: 100%;
    border: none;
    background: transparent;
}

.fancy-line::before,
.fancy-line::after {
    content: '';
    position: absolute;
    top: 0;
    height: 2px;
    width: 100vw;
}

.fancy-line::before {
    right: 50%;
    background: linear-gradient(to right, rgba(0, 229, 255, 0.15) 0%, rgba(0, 229, 255, 0.25) 30%, rgba(0, 229, 255, 0.4) 60%, rgba(0, 229, 255, 0.65) 85%, #00e5ff 100%);
}

.fancy-line::after {
    left: 50%;
    background: linear-gradient(to right, #00e5ff 0%, rgba(0, 229, 255, 0.65) 15%, rgba(0, 229, 255, 0.4) 40%, rgba(0, 229, 255, 0.25) 70%, rgba(0, 229, 255, 0.15) 100%);
}
