/* ============================================================
   OneWorship Center — Premium Light/Vibrant UI
   Inspired by Apple Music's bold gradients & clarity
   ============================================================ */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif; 
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8fa;
    --bg-card: #ffffff;
    --bg-elevated: #f0f0f5;
    --border: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.12);
    --text-primary: #1a1a2e;
    --text-secondary: #6b6b80;
    --text-muted: #9e9eb0;
    --accent: #fa2d5e;
    --accent-light: #ff4f7a;
    --accent-glow: rgba(250,45,94,0.08);
    --accent-gradient: linear-gradient(135deg, #fa2d5e, #f7508b);
    --purple: #8b5cf6;
    --purple-glow: rgba(139,92,246,0.1);
    --green: #10b981;
    --green-glow: rgba(16,185,129,0.1);
    --blue: #3b82f6;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}

body { 
    background-color: var(--bg-secondary); 
    color: var(--text-primary); 
    overflow: hidden; 
    font-size: 14px; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    height: 100dvh;
    height: 100vh;
    line-height: 1.5;
}

.app-container { 
    display: flex; 
    height: 100dvh; 
    height: 100vh;
    width: 100vw; 
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* ============ SIDEBAR ============ */
.sidebar { 
    width: 400px; 
    background-color: var(--bg-primary); 
    display: flex; 
    flex-direction: column; 
    border-right: 1px solid var(--border); 
    position: relative; 
    z-index: 10; 
    box-shadow: 2px 0 20px rgba(0,0,0,0.03);
}

.view-panel { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    width: 100%; 
}

/* ============ HEADERS ============ */
.sidebar-header, .arrange-header, .perf-header, .info-header-bar, .arr-list-header, .arr-detail-header, .section-edit-header { 
    background: var(--bg-primary);
    color: var(--text-primary); 
    display: flex; 
    align-items: center; 
    padding: 18px 20px; 
    flex-shrink: 0; 
    border-bottom: 1px solid var(--border);
    z-index: 5; 
}

.sidebar-header { 
    justify-content: center; 
    position: relative; 
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.sidebar-header h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent), #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ BUTTONS ============ */
.btn-playing, .btn-back, .btn-done, .btn-back-pill { 
    background: var(--bg-elevated); 
    color: var(--text-secondary); 
    border: none; 
    border-radius: var(--radius-xl); 
    padding: 8px 16px; 
    font-size: 12px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s ease;
}

.btn-playing:hover, .btn-back:hover, .btn-done:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-playing { 
    position: absolute; 
    right: 16px; 
    display: flex; 
    align-items: center; 
    gap: 6px;
    color: var(--accent);
    background: var(--accent-glow);
    font-weight: 700;
}

.btn-back, .btn-back-pill { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

/* ============ FILTER SECTION ============ */
.filter-section { 
    padding: 16px 20px; 
    background: var(--bg-primary); 
    flex-shrink: 0; 
    border-bottom: 1px solid var(--border); 
}

.filter-tabs { 
    display: flex; 
    margin-bottom: 14px; 
    background: var(--bg-elevated); 
    border-radius: var(--radius-md); 
    padding: 4px; 
    gap: 4px;
}

.filter-tabs .tab { 
    flex: 1; 
    background: none; 
    border: none; 
    color: var(--text-muted); 
    padding: 9px 0; 
    border-radius: var(--radius-sm); 
    font-size: 13px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s ease;
}

.filter-tabs .tab.active { 
    background: var(--bg-primary);
    color: var(--text-primary); 
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.filter-tabs .tab:hover:not(.active) {
    color: var(--text-secondary);
}

.category-tabs { 
    display: flex; 
    gap: 4px;
    margin-bottom: 12px; 
    overflow-x: auto;
}

.category-tabs span { 
    color: var(--text-muted); 
    font-size: 12px; 
    font-weight: 600; 
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.category-tabs span.active { 
    color: var(--accent); 
    background: var(--accent-glow); 
    font-weight: 700;
}

.category-tabs span:hover:not(.active) {
    color: var(--text-secondary);
    background: var(--bg-elevated);
}

.search-bar input { 
    width: 100%; 
    padding: 12px 16px; 
    background: var(--bg-elevated); 
    border: none; 
    border-radius: var(--radius-md); 
    color: var(--text-primary); 
    font-size: 14px; 
    outline: none; 
    transition: all 0.2s;
    font-weight: 500;
}

.search-bar input:focus {
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md);
}

.search-bar input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

/* ============ SONG LIST ============ */
.song-list, .arr-list-scroll, .arr-section-list, .info-scroll-area { 
    flex: 1; 
    overflow-y: auto; 
    background: var(--bg-secondary); 
}

.song-item, .arr-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 20px; 
    cursor: pointer; 
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}

.song-item:hover, .arr-item:hover { 
    background: var(--accent-glow); 
}

.song-item:active {
    transform: scale(0.99);
}

.song-title, .arr-title { 
    font-size: 15px; 
    margin-bottom: 2px; 
    font-weight: 600; 
    color: var(--text-primary); 
    letter-spacing: -0.2px;
}

.song-author, .arr-subtitle { 
    font-size: 12px; 
    color: var(--text-secondary); 
    font-weight: 400; 
}

/* ============ SONG ACTIONS ============ */
.song-actions { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.btn-play {
    background: transparent !important; 
    border: none !important;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.2s;
}

.btn-play:hover {
    transform: scale(1.15);
}

.btn-play i {
    font-size: 22px;
    color: var(--accent) !important; 
}

.btn-info-small { 
    background: var(--accent-gradient) !important; 
    border: none !important; 
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(250,45,94,0.25);
}

.btn-info-small:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 16px rgba(250,45,94,0.35);
}

.btn-info-small i { 
    font-size: 12px;
    color: #ffffff !important; 
}

/* ============ BOTTOM NAV ============ */
.bottom-nav { 
    display: flex; 
    background: var(--bg-primary);
    padding: 10px 0 8px; 
    flex-shrink: 0; 
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

.nav-item { 
    flex: 1; 
    background: none; 
    border: none; 
    color: var(--text-muted); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 3px; 
    font-size: 10px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
    letter-spacing: 0.2px;
}

.nav-item:hover {
    color: var(--text-secondary);
}

.nav-item.active { 
    color: var(--accent);
}

.nav-item i { 
    font-size: 20px; 
}

/* ============ PERFORMANCE VIEW ============ */
.perf-header { 
    justify-content: space-between;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.perf-main-title { 
    font-size: 16px; 
    font-weight: 800; 
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.perf-song-info { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 20px; 
    background: var(--bg-primary); 
    border-bottom: 1px solid var(--border); 
    flex-shrink: 0; 
    z-index: 4; 
}

.perf-song-title { 
    font-size: 12px; 
    font-weight: 700; 
    color: var(--text-muted); 
    letter-spacing: 1.2px; 
    text-transform: uppercase; 
}

.btn-icon-circle { 
    background: var(--accent-gradient); 
    border: none; 
    color: white; 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    font-size: 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s; 
    box-shadow: 0 3px 10px rgba(250,45,94,0.25);
}

.btn-icon-circle:hover {
    transform: scale(1.1);
}

.perf-section-list { 
    flex: 1; 
    overflow-y: auto; 
    background: var(--bg-secondary); 
    padding: 10px 0; 
}

.section-item { 
    padding: 14px 18px; 
    margin: 4px 12px; 
    border-radius: var(--radius-md); 
    cursor: pointer; 
    transition: all 0.2s ease; 
    border: 1px solid transparent;
    background: var(--bg-primary);
}

.section-item:hover { 
    border-color: var(--border-hover); 
    box-shadow: var(--shadow-sm);
}

.section-item.active { 
    background: var(--accent-glow); 
    border-color: var(--accent); 
    box-shadow: 0 4px 20px rgba(250,45,94,0.12);
}

.section-item.queued {
    background: var(--purple-glow);
    border-color: var(--purple);
    animation: queuedPulse 2s infinite ease-in-out;
}

@keyframes queuedPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sec-name { 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text-muted); 
    margin-bottom: 4px; 
    text-transform: uppercase; 
    letter-spacing: 0.8px;
}

.sec-preview { 
    font-size: 13px; 
    color: var(--text-secondary); 
    line-height: 1.4;
}

.section-item.active .sec-name { 
    color: var(--accent); 
}

.section-item.active .sec-preview { 
    color: var(--text-primary); 
    font-weight: 500;
}

/* ============ PERFORMANCE CONTROLS ============ */
.perf-controls { 
    background: var(--bg-primary); 
    padding: 16px 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    border-top: 1px solid var(--border); 
    flex-shrink: 0; 
    z-index: 5; 
}

.control-row-1, .control-row-2 { 
    display: flex; 
    gap: 10px; 
}

.btn-action { 
    color: white; 
    border: none; 
    padding: 14px; 
    border-radius: var(--radius-md); 
    font-size: 13px; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.btn-action:active {
    transform: scale(0.96);
}

.btn-clear { 
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.btn-clear:hover {
    background: rgba(239,68,68,0.08);
    color: var(--red);
}

.btn-start { 
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(250,45,94,0.3);
}

.btn-start:hover {
    box-shadow: 0 6px 24px rgba(250,45,94,0.4);
    transform: translateY(-1px);
}

.btn-pause {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.btn-square { 
    background: var(--bg-elevated); 
    border: none; 
    color: var(--text-secondary); 
    width: 46px; 
    height: 46px; 
    flex-shrink: 0; 
    border-radius: var(--radius-md); 
    font-size: 16px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s;
}

.btn-square:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-preset { 
    flex: 1; 
    background: var(--bg-elevated); 
    color: var(--text-muted); 
    border: none; 
    padding: 11px; 
    border-radius: var(--radius-sm); 
    font-size: 11px; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.btn-preset:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-preset.active { 
    background: var(--accent-gradient); 
    color: white; 
    box-shadow: 0 3px 12px rgba(250,45,94,0.25);
}

/* ============ ARRANGEMENT VIEW ============ */
.arrange-scroll { 
    flex: 1; 
    overflow-y: auto; 
    background: var(--bg-secondary); 
    padding: 24px 20px; 
}

.arrange-section-title { 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    letter-spacing: 1.2px; 
    margin-top: 10px;
    text-transform: uppercase;
}

.slider-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
    background: var(--bg-primary); 
    padding: 14px 16px; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-sm);
    border: none;
    transition: box-shadow 0.2s;
}

.slider-row:hover {
    box-shadow: var(--shadow-md);
}

.slider-label { 
    font-size: 14px; 
    font-weight: 500; 
    color: var(--text-primary); 
    width: 100px; 
}

.custom-slider { 
    flex: 1; 
    -webkit-appearance: none; 
    background: transparent; 
    outline: none; 
    margin-left: 10px;
}

.custom-slider::-webkit-slider-runnable-track { 
    width: 100%; 
    height: 4px; 
    background: var(--bg-elevated); 
    border-radius: 2px; 
}

.custom-slider::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    height: 18px; 
    width: 18px; 
    border-radius: 50%; 
    background: var(--accent); 
    box-shadow: 0 2px 8px rgba(250,45,94,0.3); 
    cursor: pointer; 
    margin-top: -7px; 
    border: 3px solid #fff;
    transition: transform 0.15s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.arrange-desc-block { 
    margin-bottom: 20px; 
    padding: 0 4px; 
}

.arrange-desc { 
    font-size: 12px; 
    color: var(--text-muted); 
    line-height: 1.7; 
    margin-bottom: 6px; 
}

.bg-preview-box { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    height: 80px; 
    border-radius: var(--radius-md); 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    padding: 16px; 
    cursor: pointer; 
    margin-bottom: 20px; 
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
}

.bg-preview-box:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(102,126,234,0.4);
}

/* ============ SONG INFO VIEW ============ */
.info-header-bar { justify-content: space-between; }
.info-main-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }

.info-scroll-area { flex: 1; overflow-y: auto; background: var(--bg-secondary); }

.info-block { padding: 18px 20px; border-bottom: 1px solid var(--border); background: var(--bg-primary); }
.info-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.info-text { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.info-section-head { 
    background: var(--bg-secondary); 
    color: var(--text-muted); 
    font-size: 11px; font-weight: 700; 
    padding: 10px 20px; 
    letter-spacing: 1.2px; text-transform: uppercase; 
    border-bottom: 1px solid var(--border); 
}

/* ============ ARRANGEMENTS ============ */
.arr-list-title, .arr-detail-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.arr-list-header, .arr-detail-header, .section-edit-header { justify-content: space-between; }

.arr-list-top-actions { background: var(--bg-primary); padding: 8px 0; border-bottom: 1px solid var(--border); }
.arr-action-item { padding: 16px 20px; color: var(--text-secondary); font-size: 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.15s; font-weight: 500; }
.arr-action-item:hover { background: var(--accent-glow); color: var(--accent); }

.arr-list-scroll, .arr-section-list { flex: 1; overflow-y: auto; background: var(--bg-secondary); }

.arr-item .arrow { color: var(--text-muted); font-size: 16px; }

.arr-play-banner { 
    background: var(--accent-gradient); 
    color: white; 
    text-align: center; 
    padding: 20px; 
    font-size: 18px; 
    font-weight: 800; 
    letter-spacing: -0.3px;
    box-shadow: 0 4px 20px rgba(250,45,94,0.2);
}

.arr-form-row, .section-edit-name-row { 
    display: flex; align-items: center; gap: 12px; 
    padding: 16px 20px; background: var(--bg-primary); border-bottom: 1px solid var(--border); 
}

.arr-form-label { width: 60px; color: var(--text-secondary); font-weight: 500; font-size: 13px; }

.arr-name-input { 
    flex: 1; background: var(--bg-elevated); border: none; 
    border-radius: var(--radius-sm); padding: 11px 14px; 
    color: var(--text-primary); outline: none; font-size: 14px; 
    transition: all 0.2s; font-weight: 500;
}
.arr-name-input:focus { background: var(--bg-primary); box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md); }

.arr-section-bar, .section-edit-bar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 14px 20px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); 
    color: var(--text-muted); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
}

.btn-edit { 
    background: var(--accent-gradient); color: white; border: none; 
    padding: 7px 16px; border-radius: var(--radius-xl); font-size: 12px; font-weight: 600; 
    cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 8px rgba(250,45,94,0.2);
}
.btn-edit:hover { box-shadow: 0 4px 12px rgba(250,45,94,0.3); transform: translateY(-1px); }

.arr-section-item { padding: 14px 20px; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.15s; background: var(--bg-primary); }
.arr-section-item:hover { background: var(--accent-glow); }

.arr-sec-name { font-size: 14px; color: var(--text-primary); margin-bottom: 3px; font-weight: 500; }
.arr-sec-preview { font-size: 12px; color: var(--text-secondary); }

/* ============ SECTION EDIT ============ */
.section-edit-content-wrap { flex: 1; background: var(--bg-primary); padding: 16px 20px; }
.section-content-input { 
    width: 100%; height: 100%; min-height: 300px; background: transparent; 
    border: none; outline: none; resize: none; color: var(--text-primary); 
    font-size: 15px; line-height: 1.6; font-family: 'Inter', sans-serif;
}

.section-edit-reset {
    padding: 14px 20px; color: var(--accent); font-size: 13px; font-weight: 600;
    cursor: pointer; text-align: center; border-top: 1px solid var(--border); transition: all 0.15s;
}
.section-edit-reset:hover { background: var(--accent-glow); }

/* ============ PREVIEW PANEL (LYRICS DISPLAY) ============ */
.preview-panel { 
    flex: 1; 
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 40px; 
    position: relative; 
    overflow: hidden; 
}

.preview-panel::before { 
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%); 
    pointer-events: none; 
}

.lyrics-display { 
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 42px; font-weight: 700; text-align: center; color: white; 
    width: 100%; max-width: 1100px; line-height: 1.9; z-index: 2; letter-spacing: -0.5px; 
}

.lyric-line-block { display: flex; flex-wrap: wrap; justify-content: center; margin: 24px 0; width: 100%; }
.plain-line { font-size: 42px; font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }

.chord-word-group { display: inline-flex; flex-direction: column; align-items: center; vertical-align: bottom; }
.chord-text-node { font-size: 28px; font-weight: 800; color: #fbbf24; text-shadow: 0 2px 10px rgba(251,191,36,0.4); line-height: 1.1; min-height: 32px; user-select: none; text-align: center; width: 100%; }
.lyric-text-node { font-size: 42px; font-weight: 600; color: #ffffff; text-shadow: 0 3px 15px rgba(0,0,0,0.6); line-height: 1.2; display: inline-block; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .app-container { flex-direction: column; height: 100dvh; }
    .sidebar { width: 100%; height: 100dvh; max-height: 100dvh; border-right: none; }
    .view-panel { height: 100dvh; max-height: 100dvh; }
    .preview-panel { display: none !important; }
    .perf-section-list { flex: 1; min-height: 0; overflow-y: auto; }
}

/* ============ FORM ELEMENTS ============ */
.select-premium {
    width: 100%; background: var(--bg-elevated); border: none; border-radius: var(--radius-sm);
    color: var(--text-primary); padding: 11px 14px; font-size: 13px; outline: none; cursor: pointer;
    transition: all 0.2s; appearance: none; font-weight: 500;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}
.select-premium:focus { box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md); }

/* Audio progress */
#audio-progress-bar-bg { width: 100%; height: 4px; background: var(--bg-elevated); border-radius: 2px; cursor: pointer; overflow: hidden; transition: height 0.15s; }
#audio-progress-bar-bg:hover { height: 6px; }
#audio-progress-bar-fill { width: 0%; height: 100%; background: var(--accent-gradient); border-radius: 2px; transition: width 0.1s linear; }

/* Toggle group */
.toggle-group { display: flex; background: var(--bg-elevated); border: none; border-radius: var(--radius-sm); overflow: hidden; padding: 3px; gap: 2px; }
.toggle-btn { padding: 7px 14px; background: none; border: none; color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all 0.15s; }
.toggle-btn.active { background: var(--bg-primary); color: var(--text-primary); box-shadow: var(--shadow-sm); font-weight: 700; }
.toggle-btn:hover:not(.active) { color: var(--text-secondary); }

/* Hide chords */
.hide-chords .chord-text-node, .hide-chords .projection-chord { display: none !important; }

/* Delete button */
.btn-delete-song {
    background: rgba(239,68,68,0.06) !important; border: none !important;
    width: 30px; height: 30px; border-radius: 50% !important;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0 !important; transition: all 0.2s;
}
.btn-delete-song i { font-size: 12px; color: var(--red) !important; }
.btn-delete-song:hover { background: rgba(239,68,68,0.12) !important; transform: scale(1.1); }
