/* Lyrics Extractor – Custom Styles */

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #11111b; }
::-webkit-scrollbar-thumb { background: #313244; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #45475a; }

/* Mode buttons */
.mode-btn {
    color: #6c7086;
    background: transparent;
}
.mode-btn.active {
    color: #cdd6f4;
    background: #1e1e2e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Language buttons */
.lang-btn {
    color: #a6adc8;
}
.lang-btn.active {
    color: #cdd6f4;
    border-color: #0ea5e9 !important;
    background: rgba(14, 165, 233, 0.1);
}

/* Tab buttons */
.tab-btn {
    color: #6c7086;
    background: transparent;
}
.tab-btn.active {
    color: #cdd6f4;
    background: #11111b;
}

/* Lyrics sections */
.lyrics-section-label {
    display: inline-block;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(14, 165, 233, 0.1);
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.lyrics-section-label:first-child {
    margin-top: 0;
}

/* Background noise / ad-lib markers */
.lyrics-noise {
    color: #6c7086;
    font-style: italic;
    font-size: 0.85em;
}

/* Segment row */
.segment-row {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.15s;
}
.segment-row:hover {
    background: rgba(255,255,255,0.03);
}
.segment-time {
    color: #6c7086;
    font-size: 0.8rem;
    min-width: 100px;
    font-family: monospace;
}
.segment-text {
    color: #cdd6f4;
    font-size: 0.9rem;
}
.segment-conf {
    color: #6c7086;
    font-size: 0.75rem;
    min-width: 50px;
    text-align: right;
}

/* Confidence colors */
.conf-high { color: #a6e3a1; }
.conf-medium { color: #f9e2af; }
.conf-low { color: #f38ba8; }

/* Drop zone active */
.drop-active {
    border-color: #0ea5e9 !important;
    background: rgba(14, 165, 233, 0.05);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Copy toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e2e;
    border: 1px solid #313244;
    color: #cdd6f4;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    z-index: 100;
    animation: fadeIn 0.2s ease-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Step indicators */
.step-indicator {
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s;
}
.step-active {
    color: #0ea5e9 !important;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
}
.step-completed {
    color: #a6e3a1 !important;
}
