/* /Components/ConsentBanner.razor.rz.scp.css */
.consent-banner[b-64aix5gt7b] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-container-highest, #2b2b2b);
    color: var(--on-surface, #e6e1e5);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border-top: 1px solid var(--outline-variant, #49454f);
}

.consent-banner-content[b-64aix5gt7b] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.consent-banner-text[b-64aix5gt7b] {
    margin: 0;
    font-size: 0.875rem;
    flex: 1;
}

.consent-banner-link[b-64aix5gt7b] {
    color: var(--primary, #d0bcff);
    text-decoration: underline;
}

.consent-banner-link:hover[b-64aix5gt7b] {
    color: var(--primary, #d0bcff);
    opacity: 0.8;
}

.consent-banner-actions[b-64aix5gt7b] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .consent-banner-content[b-64aix5gt7b] {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-banner-actions[b-64aix5gt7b] {
        justify-content: flex-end;
    }
}
/* /Components/LibrarySearch.razor.rz.scp.css */
.library-search[b-zyzazgyi7u] {
    max-width: 100%;
}

.library-search .search-box[b-zyzazgyi7u] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--color-bg, #fff);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.library-search .search-box input[b-zyzazgyi7u] {
    font-size: 1.1rem;
    padding: 0.75rem;
}

.library-search .search-box input[b-zyzazgyi7u] {
    color: var(--color-text);
}

.library-search .search-box input[b-zyzazgyi7u]::placeholder {
    color: var(--color-text-secondary);
}

.library-search .table[b-zyzazgyi7u] {
    margin-bottom: 0.5rem;
}

.library-search .table th[b-zyzazgyi7u] {
    background-color: var(--color-surface-variant);
    color: var(--color-text);
    font-weight: 600;
    border-top: none;
}

.library-search .table tbody tr[b-zyzazgyi7u] {
    cursor: pointer;
    transition: background-color 0.2s;
}

.library-search .table td[b-zyzazgyi7u] {
    color: var(--color-text);
}

.library-search .table tbody tr:hover[b-zyzazgyi7u] {
    background-color: var(--color-surface);
}

.library-search .k-btn-primary[b-zyzazgyi7u] {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.library-search .k-btn-primary i[b-zyzazgyi7u] {
    margin-right: 0.25rem;
}
.library-search .toast[b-zyzazgyi7u] {
    min-width: 300px;
}

.library-search .toast-header[b-zyzazgyi7u] {
    border-bottom: none;
    font-weight: 600;
}

.library-search .toast-header i[b-zyzazgyi7u] {
    font-size: 1.2rem;
}

/* Skeleton loader styles */
.library-search .skeleton[b-zyzazgyi7u] {
    display: inline-block;
    background-color: rgba(0,0,0,0.08);
    border-radius: 4px;
    height: 1rem;
}

.library-search .skeleton-text[b-zyzazgyi7u] {
    height: 1rem;
}

.library-search .skeleton-action[b-zyzazgyi7u] {
    width: 2rem;
    height: 1.5rem;
    margin: 0 auto;
    border-radius: 4px;
}

/* Artist browse mode */
.library-search .artist-list[b-zyzazgyi7u] {
    border-radius: 4px;
    overflow: hidden;
}

.library-search .artist-row[b-zyzazgyi7u] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.1));
    width: 100%;
}

.library-search .artist-row:hover[b-zyzazgyi7u] {
    background-color: var(--color-surface);
}

.library-search .artist-row:last-child[b-zyzazgyi7u] {
    border-bottom: none;
}

.library-search .artist-name[b-zyzazgyi7u] {
    text-align: left;
    color: var(--color-text);
    font-weight: 500;
}

.library-search .artist-song-count[b-zyzazgyi7u] {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

@media (prefers-reduced-motion: no-preference) {
    .library-search .skeleton[b-zyzazgyi7u] {
        background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.02) 50%, rgba(0,0,0,0.06) 75%);
        background-size: 200% 100%;
        animation: shimmer-b-zyzazgyi7u 1.2s linear infinite;
    }

    @keyframes shimmer-b-zyzazgyi7u {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
}

/* Pagination loader styles */
.library-search .pagination-loader[b-zyzazgyi7u] {
    padding: 24px 0;
}

.library-search .pagination-loader .spinner-border[b-zyzazgyi7u] {
    color: var(--color-accent-primary, #FFA733);
    width: 2rem;
    height: 2rem;
}

.library-search .pagination-loader p[b-zyzazgyi7u] {
    font-size: 0.9rem;
}

/* Did you mean suggestions */
.library-search .did-you-mean-label[b-zyzazgyi7u] {
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
}

.library-search .suggestion-item[b-zyzazgyi7u] {
    color: var(--color-accent);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-decoration: none;
}

.library-search .suggestion-item:hover[b-zyzazgyi7u] {
    color: var(--color-accent-secondary);
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .library-search .table[b-zyzazgyi7u] {
        font-size: 0.9rem;
    }
    
    .library-search .k-btn-primary[b-zyzazgyi7u] {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .library-search .search-box input[b-zyzazgyi7u] {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* ── Alphabet navigation (US1) ─────────────────────────────────────── */

/* Flex row: artist list on the left, alphabet bar pinned on the right */
.library-search .artist-browse-layout[b-zyzazgyi7u] {
    display: flex;
    align-items: flex-start;
}

/* Artist list fills all remaining space */
.library-search .artist-browse[b-zyzazgyi7u] {
    flex: 1;
    min-width: 0;
}

/* Per-letter section header — kept in DOM as a scroll anchor for the A–Z bar, but invisible */
.library-search .artist-section-header[b-zyzazgyi7u] {
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* Right-side A–Z strip — in-flow flex column, sticks near top while scrolling */
.alphabet-bar[b-zyzazgyi7u] {
    position: sticky;
    top: 1rem;
    align-self: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.25rem 0.1rem;
    z-index: 10;
    height: calc(100vh - 2rem);
    justify-content: space-evenly;
    touch-action: none;
    background-color: var(--color-surface, #fff);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Individual letter button */
.alpha-btn[b-zyzazgyi7u] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.6rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--color-primary);
    border-radius: 50%;
    padding: 0;
    transition: background-color 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.alpha-btn:hover:not(:disabled)[b-zyzazgyi7u] {
    background-color: var(--color-primary);
    color: var(--color-surface, #fff);
}

.alpha-btn:disabled[b-zyzazgyi7u] {
    color: var(--color-text-secondary);
    opacity: 0.3;
    cursor: default;
}

/* Currently-visible letter highlight */
.alpha-btn--current[b-zyzazgyi7u] {
    background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
    color: var(--color-primary);
    font-weight: 800;
}
/* /Components/SessionControls.razor.rz.scp.css */
/* ── Session controls group box ─────────────────────────────────────────── */

.session-controls-panel[b-l34d4ss1gp] {
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.session-controls-header[b-l34d4ss1gp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--bs-border-color, rgba(0,0,0,0.1));
    font-weight: 600;
    font-size: 1rem;
}

.session-controls-icon[b-l34d4ss1gp] {
    font-size: 1.2rem;
    /* Subtle spin on hover for the gear icon */
    display: inline-block;
    transition: transform 0.4s ease;
}

.session-controls-panel:hover .session-controls-icon[b-l34d4ss1gp] {
    transform: rotate(30deg);
}

.session-controls-title[b-l34d4ss1gp] {
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

/* ── Lifecycle buttons row ───────────────────────────────────────────────── */

.session-controls-buttons[b-l34d4ss1gp] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.session-control-btn[b-l34d4ss1gp] {
    min-width: 6rem;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.session-control-btn:not(:disabled):active[b-l34d4ss1gp] {
    transform: translateY(1px);
}

.btn-pause[b-l34d4ss1gp] {
    /* Warm amber to signal caution without alarming */
    --bs-btn-bg: #d97c00;
    --bs-btn-border-color: #b86900;
    --bs-btn-hover-bg: #b86900;
    --bs-btn-hover-border-color: #9a5800;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
}

.btn-resume[b-l34d4ss1gp] {
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #1e7e34;
    --bs-btn-hover-bg: #218838;
    --bs-btn-hover-border-color: #1e7e34;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
}

.btn-next[b-l34d4ss1gp] {
    /* Use caramel primary accent */
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary-dark);
    --bs-btn-hover-bg: var(--color-primary-dark);
    --bs-btn-hover-border-color: var(--color-primary-dark);
    --bs-btn-color: #1a1a1a;
    --bs-btn-hover-color: #1a1a1a;
    --bs-btn-disabled-opacity: 0.45;
}

/* ── Theme selector ────────────────────────────────────────────────────────── */
.config-input-theme[b-l34d4ss1gp] {
    background-color: #292423;
    border: 1px solid #3A241B;
    border-radius: 8px;
    color: var(--color-text, #F5E1C0);
    padding: 0.625rem 2.25rem 0.625rem 1rem; /* keep space for the chevron */
    transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
}

.config-input-theme:focus[b-l34d4ss1gp] {
    border-color: #FFC254;
    outline: 2px solid #FFC254;
    outline-offset: 0;
    box-shadow: 0 0 0 3px rgba(255, 194, 84, 0.25);
}

/* ── Config section layout ─────────────────────────────────────────────────── */

.session-config-section[b-l34d4ss1gp] {
    margin-top: 0.25rem;
}

.session-config-divider[b-l34d4ss1gp] {
    border-color: var(--bs-border-color, rgba(0,0,0,0.1));
    margin: 0.75rem 0;
}

.session-config-heading[b-l34d4ss1gp] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* ── Mobile responsive ─────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .session-controls-buttons[b-l34d4ss1gp] {
        flex-direction: column;
    }

    .session-control-btn[b-l34d4ss1gp] {
        width: 100%;
    }
}
/* /Components/UpNextList.razor.rz.scp.css */
.up-next-list[b-6s72yizux5] {
    max-width: 100%;
}

.up-next-now-playing[b-6s72yizux5] {
    background: var(--gradient-light);
    color: var(--color-text-on-gradient);
    border-radius: 0.75rem;
    border: none;
}

.up-next-now-playing .card-title[b-6s72yizux5] {
    color: var(--color-text-on-gradient);
}

.up-next-header[b-6s72yizux5] {
    display: flex;
    align-items: center;
}

.up-next-song-list[b-6s72yizux5] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.up-next-song-item[b-6s72yizux5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-surface-alt);
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
}

.up-next-song-position[b-6s72yizux5] {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-secondary);
    min-width: 2rem;
    text-align: center;
}

.up-next-song-details[b-6s72yizux5] {
    min-width: 0;
}

.up-next-song-title[b-6s72yizux5] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.up-next-empty[b-6s72yizux5] {
    color: var(--color-text-secondary);
}

.up-next-song-duration[b-6s72yizux5] {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-van5xx85b0] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-van5xx85b0] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content[b-van5xx85b0] {
    flex: 1;
}

.sidebar[b-van5xx85b0] {
    background-image: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 70%);
}

.top-row[b-van5xx85b0] {
    background-color: var(--color-surface);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-van5xx85b0]  a, .top-row[b-van5xx85b0]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-van5xx85b0]  a:hover, .top-row[b-van5xx85b0]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-van5xx85b0]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-van5xx85b0] {
        justify-content: space-between;
    }

    .top-row[b-van5xx85b0]  a, .top-row[b-van5xx85b0]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-van5xx85b0] {
        flex-direction: row;
    }

    .sidebar[b-van5xx85b0] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-van5xx85b0] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-van5xx85b0]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-van5xx85b0], article[b-van5xx85b0] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Global Footer Styles */
.global-footer[b-van5xx85b0] {
    padding: 1.5rem 1rem;
    background-color: var(--surface-container-low, #1d1b1e);
    border-top: 1px solid var(--outline-variant, #49454f);
    margin-top: auto;
}

.global-footer-content[b-van5xx85b0] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--on-surface-variant, #cac4d0);
}

.global-footer-links[b-van5xx85b0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    justify-content: center;
}

.footer-separator[b-van5xx85b0] {
    color: var(--outline-variant, #49454f);
}

@media (max-width: 576px) {
    .global-footer-links[b-van5xx85b0] {
        flex-direction: column;
    }

    .footer-separator[b-van5xx85b0] {
        display: none;
    }
}
/* /Pages/Export.razor.rz.scp.css */
.export-page[b-ugoga7put6] {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}

.export-card[b-ugoga7put6] {
    max-width: 600px;
    width: 100%;
}

.select-folder-btn[b-ugoga7put6] {
    min-height: 56px;
}

.download-buttons[b-ugoga7put6] {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

.download-buttons h5[b-ugoga7put6] {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
/* /Pages/NextSongView.razor.rz.scp.css */
.nextsong-view[b-upk0yw6209] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bs-body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@media (prefers-color-scheme: dark) {
    .nextsong-view[b-upk0yw6209] {
        background: var(--gradient-dark);
    }
}

.nextsong-container[b-upk0yw6209] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--color-text);
    padding: 2rem;
    max-width: 80%;
}

.artist-name[b-upk0yw6209] {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.song-title[b-upk0yw6209] {
    color: var(--color-text);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.singer-name[b-upk0yw6209] {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-top: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* QR code section (lower left) */
.qrcode-area[b-upk0yw6209] {
    color: var(--color-text);
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qrcode-content[b-upk0yw6209] {
    background: var(--color-surface-contrast);
    padding: 1.5rem;
    border-radius: 1rem;
    color: var(--color-accent);
    text-align: center;
}

.microphone-icon.small[b-upk0yw6209] {
    width: 4.8rem;
    height: 4.8rem;
    margin-bottom: 0.5rem;
}

.microphone-icon.small .karamel-icon[b-upk0yw6209] {
    border-radius: 8px;
}

.qrcode-label[b-upk0yw6209] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.75rem 0;
}

.qrcode-small[b-upk0yw6209] {
    width: 150px;
    height: 150px;
    background-color: #2A2A2A;
    border: 1px solid #444444;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-small canvas[b-upk0yw6209] {
    display: block;
    margin: 0 auto;
}

/* Empty queue display */
.empty-queue-container[b-upk0yw6209] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-body-bg);
}

@media (prefers-color-scheme: dark) {
    .empty-queue-container[b-upk0yw6209] {
        background: var(--gradient-dark);
    }
}

.empty-queue-content[b-upk0yw6209] {
    text-align: center;
    color: var(--color-text);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.microphone-icon[b-upk0yw6209] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8.8rem;
    height: 8.8rem;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.karamel-icon[b-upk0yw6209] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.empty-queue-title[b-upk0yw6209] {
    font-size: 5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.empty-queue-subtitle[b-upk0yw6209] {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    text-shadow:var(--color-surface-contrast)1px 3px rgba(0, 0, 0, 0.3);
}

.qrcode-large[b-upk0yw6209] {
    width: 300px;
    height: 300px;
    background-color: #2A2A2A;
    border: 1px solid #444444;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-large img[b-upk0yw6209],
.qrcode-large canvas[b-upk0yw6209] {
    display: block;
    margin: 0 auto;
}

/* Session links for localhost */
.session-link[b-upk0yw6209],
.session-link-large[b-upk0yw6209] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.session-link:hover[b-upk0yw6209],
.session-link-large:hover[b-upk0yw6209] {
    background: rgba(0,0,0,0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: var(--color-text);
    text-decoration: none;
}

.session-link-large[b-upk0yw6209] {
    font-size: 1.5rem;
    padding: 1.25rem 2.5rem;
}

/* Karamel icon above QR/link pane during countdown */
.microphone-icon-above-qr[b-upk0yw6209] {
    width: 4.8rem;
    height: 4.8rem;
}

.microphone-icon-above-qr img[b-upk0yw6209] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hide icon above QR on mobile */
    .microphone-icon-above-qr[b-upk0yw6209] {
        display: none;
    }
    .artist-name[b-upk0yw6209] {
        font-size: 2.5rem;
    }

    .song-title[b-upk0yw6209] {
        font-size: 2rem;
    }

    .singer-name[b-upk0yw6209] {
        font-size: 1.3rem;
    }

    .empty-queue-title[b-upk0yw6209] {
        font-size: 3rem;
    }

    .empty-queue-subtitle[b-upk0yw6209] {
        font-size: 1.5rem;
    }

    .microphone-icon[b-upk0yw6209] {
        width: 5.5rem;
        height: 5.5rem;
    }

    .qrcode-large[b-upk0yw6209] {
        width: 200px;
        height: 200px;
    }

    .qrcode-small[b-upk0yw6209] {
        width: 120px;
        height: 120px;
    }
}

/* Admin controls gear button and dropdown */
.admin-gear-button[b-upk0yw6209] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: rgba(180, 180, 180, 0.6);
    cursor: pointer;
    z-index: 100;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.admin-gear-button:hover[b-upk0yw6209] {
    color: rgba(100, 100, 100, 0.9);
    transform: scale(1.2);
}

.admin-dropdown[b-upk0yw6209] {
    position: absolute;
    top: 40px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 174, 99, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 101;
    min-width: 200px;
}

.admin-dropdown-item[b-upk0yw6209] {
    padding: 10px 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.admin-dropdown-item:hover[b-upk0yw6209] {
    background-color: rgba(234, 174, 99, 0.2);
}

/* Dark theme via explicit data-theme toggle (responds to JS setTheme('dark'))
   Required because the @media (prefers-color-scheme: dark) blocks above only fire
   when the OS is in dark mode — not when the user toggles via session controls. */
html[data-theme="dark"] .nextsong-view[b-upk0yw6209] {
    background: var(--gradient-dark) !important;
}

html[data-theme="dark"] .empty-queue-container[b-upk0yw6209] {
    background: var(--gradient-dark) !important;
}

html[data-theme="dark"] .countdown-progress[b-upk0yw6209] {
    background: rgba(41, 36, 35, 0.8) !important;
    border: 2px solid rgba(234, 174, 99, 0.5) !important;
}

html[data-theme="dark"] .progress-bar[b-upk0yw6209] {
    background: linear-gradient(90deg, #FFB64C 0%, #FFA733 100%) !important;
}

html[data-theme="dark"] .qrcode-content[b-upk0yw6209] {
    background: var(--color-surface-contrast) !important;
    color: var(--color-accent) !important;
}

/* Light theme: explicitly cancel dark @media rules when user sets light theme
   (needed when OS is in dark mode but the session theme is set to light). */
html[data-theme="light"] .nextsong-view[b-upk0yw6209] {
    background: var(--gradient-light) !important;
}

html[data-theme="light"] .empty-queue-container[b-upk0yw6209] {
    background: var(--gradient-light) !important;
}

html[data-theme="light"] .countdown-progress[b-upk0yw6209] {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid rgba(234, 174, 99, 0.3) !important;
}

html[data-theme="light"] .progress-bar[b-upk0yw6209] {
    background: linear-gradient(90deg, #FFA733 0%, #FF8C33 100%) !important;
}

html[data-theme="light"] .qrcode-content[b-upk0yw6209] {
    background: var(--color-surface-contrast) !important;
    color: var(--color-accent) !important;
}

/* Countdown progress bar */
.countdown-progress[b-upk0yw6209] {
    position: relative;
    width: 300px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1.25rem;
    margin: 2rem auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(234, 174, 99, 0.3);
}

@media (prefers-color-scheme: dark) {
    .countdown-progress[b-upk0yw6209] {
        background: rgba(41, 36, 35, 0.8);
        border: 2px solid rgba(234, 174, 99, 0.5);
    }
}

.progress-bar[b-upk0yw6209] {
    height: 100%;
    background: linear-gradient(90deg, #FFA733 0%, #FF8C33 100%);
    border-radius: 1.25rem;
    transition: width 0.1s linear;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

@media (prefers-color-scheme: dark) {
    .progress-bar[b-upk0yw6209] {
        background: linear-gradient(90deg, #FFB64C 0%, #FFA733 100%);
    }
}

.countdown-text[b-upk0yw6209] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    line-height: 1;
    z-index: 2;
}

/* Mobile responsiveness for countdown */
@media (max-width: 768px) {
    .countdown-progress[b-upk0yw6209] {
        width: 90vw;
        min-width: 180px;
        max-width: 250px;
        margin: 1.5rem auto;
        height: 2rem;
    }
}

/* Fullscreen controls (bottom-center hover area) */
.controls-overlay[b-upk0yw6209] {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 150px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls[b-upk0yw6209] {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-control[b-upk0yw6209] {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-control:hover[b-upk0yw6209] {
    color: var(--color-accent);
    transform: scale(1.1);
}

.btn-control:active[b-upk0yw6209] {
    transform: scale(0.95);
}

/* Responsive controls */
@media (max-width: 768px) {
    .controls-overlay[b-upk0yw6209] {
        width: 300px;
        height: 120px;
    }

    .btn-control[b-upk0yw6209] {
        font-size: 2.5rem;
    }

    .controls[b-upk0yw6209] {
        padding: 15px;
        gap: 15px;
    }
}
/* /Pages/PlayerView.razor.rz.scp.css */
/* PlayerView - Full-screen karaoke player with controls overlay and side panel */

.player-view[b-q4yy0v5osp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Force solid black background regardless of theme */
    background-color: #000000 !important;
    overflow: hidden;
}

/* Full-screen CDG canvas */
.cdg-canvas[b-q4yy0v5osp] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.video-player[b-q4yy0v5osp] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
    display: none;
}

.video-player.is-visible[b-q4yy0v5osp] {
    display: block;
}

/* Controls overlay - appears at lower center on hover */
.controls-overlay[b-q4yy0v5osp] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 16px;
    z-index: 100;
}

.controls[b-q4yy0v5osp] {
    display: flex;
    gap: 20px;
    padding: 20px;
    /* Use semi-opaque black/white mixes to remain readable over black background */
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.btn-control[b-q4yy0v5osp] {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.btn-control:hover[b-q4yy0v5osp] {
    color: var(--color-accent);
    transform: scale(1.1);
}

.btn-control:active[b-q4yy0v5osp] {
    transform: scale(0.95);
}

/* Left-edge hover detector */
.left-edge-detector[b-q4yy0v5osp] {
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 100vh;
    z-index: 90;
}

.expand-icon[b-q4yy0v5osp] {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 15px 8px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.expand-icon:hover[b-q4yy0v5osp] {
    background: rgba(var(--color-surface-rgb), 0.9);
}

/* Side panel */
.side-panel[b-q4yy0v5osp] {
    position: absolute;
    left: 0;
    top: 0;
    width: 20%;
    min-width: 300px;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    box-shadow: 2px 0 10px rgba(0,0,0,0.6);
    z-index: 95;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-q4yy0v5osp 0.3s ease-out;
}

@keyframes slideIn-b-q4yy0v5osp {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.side-panel-header[b-q4yy0v5osp] {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.side-panel-header .btn[b-q4yy0v5osp] {
    flex: 1;
}

.side-panel-header .btn-close[b-q4yy0v5osp] {
    flex: 0;
    width: 40px;
    font-size: 1.5rem;
    line-height: 1;
}

.side-panel-content[b-q4yy0v5osp] {
    flex: 1;
    overflow: hidden;
}

.side-panel-content iframe[b-q4yy0v5osp] {
    width: 100%;
    height: 100%;
    border: none;
}

/* Error overlay */
.error-overlay[b-q4yy0v5osp] {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    z-index: 110;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .side-panel[b-q4yy0v5osp] {
        width: 80%;
        min-width: unset;
    }

    .controls-overlay[b-q4yy0v5osp] {
        width: 100%;
    }

    .controls[b-q4yy0v5osp] {
        width: 90%;
    }

    .btn-control[b-q4yy0v5osp] {
        font-size: 2rem;
    }
}

/* Admin controls gear button and dropdown (nearly invisible on PlayerView) */
.admin-gear-button[b-q4yy0v5osp] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: rgba(180, 180, 180, 0.3); /* Very faint gray, nearly invisible */
    cursor: pointer;
    z-index: 1000; /* Above video canvas */
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.admin-gear-button:hover[b-q4yy0v5osp] {
    color: rgba(100, 100, 100, 0.9); /* Grey, more visible on hover */
    transform: scale(1.2);
}

.admin-dropdown[b-q4yy0v5osp] {
    position: absolute;
    top: 40px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 174, 99, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    min-width: 200px;
}

.admin-dropdown-item[b-q4yy0v5osp] {
    padding: 10px 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.admin-dropdown-item:hover[b-q4yy0v5osp] {
    background-color: rgba(234, 174, 99, 0.2);
}

/* Playback progress bar (shown inside controls overlay) */
.playback-progress-bar-container[b-q4yy0v5osp] {
    width: 100%;
    height: 6px !important;
    min-height: 6px !important;
    background: rgba(255, 255, 255, 0.40);
    border-radius: 3px;
    overflow: hidden;
    pointer-events: none;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.playback-progress-bar-fill[b-q4yy0v5osp] {
    height: 100%;
    min-width: 4px;
    background: var(--k-primary, #EAAE63);
    border-radius: 3px;
    transition: width 0.5s linear;
    pointer-events: none;
}
/* /Pages/Playlist.razor.rz.scp.css */
.playlist-container[b-i7u76agsx6] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.now-playing[b-i7u76agsx6] {
    background: var(--bs-body-bg);
    color: var(--color-text);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .now-playing[b-i7u76agsx6] {
        background: var(--gradient-dark);
    }
}

.now-playing .card-title[b-i7u76agsx6] {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.now-playing .song-info[b-i7u76agsx6] {
    padding: 1rem 0;
}

.now-playing .artist[b-i7u76agsx6] {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.now-playing .title[b-i7u76agsx6] {
    margin-bottom: 0.75rem;
}

.now-playing .singer[b-i7u76agsx6] {
    opacity: 0.8;
    font-size: 1.1rem;
}

.up-next .card-body[b-i7u76agsx6] {
    padding: 1.5rem;
}

.song-list[b-i7u76agsx6] {
    max-height: 60vh;
    overflow-y: auto;
}

.song-item[b-i7u76agsx6] {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--color-surface-variant);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.song-item:hover[b-i7u76agsx6] {
    background: var(--color-surface);
    transform: translateX(4px);
}

.song-item.draggable[b-i7u76agsx6] {
    cursor: move;
}

.song-item.draggable:hover[b-i7u76agsx6] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.song-item.dragging[b-i7u76agsx6] {
    opacity: 0.5;
}

.drop-zone[b-i7u76agsx6] {
    height: 12px;
    margin: 5px 0;
    transition: all 0.2s ease;
    cursor: grab;
}

.drop-zone-active[b-i7u76agsx6] {
    background: linear-gradient(
        to bottom,
        transparent,
        transparent calc(50% - 2px),
        var(--color-accent) calc(50% - 2px),
        var(--color-accent) calc(50% + 2px),
        transparent calc(50% + 2px),
        transparent
    );
    box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.5);
}

.song-position[b-i7u76agsx6] {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-accent);
    min-width: 50px;
    text-align: center;
}

.song-details[b-i7u76agsx6] {
    margin: 0 1rem;
}

.song-artist-title[b-i7u76agsx6] {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.song-singer[b-i7u76agsx6] {
    font-size: 0.85rem;
}

.btn-remove[b-i7u76agsx6] {
    min-width: 40px;
}

.playlist-song-duration[b-i7u76agsx6] {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 2.5rem;
    text-align: right;
    margin: 0 0.5rem;
}

.btn-clear-playlist[b-i7u76agsx6] {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .playlist-container[b-i7u76agsx6] {
        padding: 1rem;
    }

    .song-position[b-i7u76agsx6] {
        min-width: 40px;
        font-size: 1rem;
    }

    .song-artist-title[b-i7u76agsx6] {
        font-size: 0.9rem;
    }

    .now-playing .artist[b-i7u76agsx6] {
        font-size: 1.1rem;
    }

    .now-playing .title[b-i7u76agsx6] {
        font-size: 1.3rem;
    }
}

/* Scoped override: make the "no songs" alert match app semantic colors */
.playlist-container .alert.alert-info[b-i7u76agsx6] {
    background-color: var(--color-surface-variant);
    color: var(--color-text-secondary);
    border: 1px solid rgba(var(--color-text-rgb), 0.06);
}

/* ─── Segmented control (admin-only tab switcher) ────────────────────────── */

.playlist-segment-control[b-i7u76agsx6] {
    display: flex;
    gap: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--bs-border-color, #dee2e6);
    width: fit-content;
}

.segment-btn[b-i7u76agsx6] {
    border-radius: 0;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color);
    transition: background 0.15s, color 0.15s;
}

.segment-btn:first-child[b-i7u76agsx6] {
    border-right: 1px solid var(--bs-border-color, #dee2e6);
}

.segment-btn:hover[b-i7u76agsx6] {
    background: var(--color-surface-variant);
}

.segment-btn.active[b-i7u76agsx6] {
    background: var(--color-primary, #EAAE63);
    color: var(--color-on-primary, #1a1a1a);
    font-weight: 600;
}
/* /Pages/SessionSetup.razor.rz.scp.css */
.session-setup-container[b-mqgwiws5rt] {
    max-width: 600px;
    margin: 40px auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.warning-box[b-mqgwiws5rt] {
    background-color: #FF9800;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    border: 2px solid #F57C00;
}

.warning-title[b-mqgwiws5rt] {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.warning-text[b-mqgwiws5rt] {
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.warning-checkbox[b-mqgwiws5rt] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
}

.warning-checkbox input[type="checkbox"][b-mqgwiws5rt] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.setup-content[b-mqgwiws5rt] {
    text-align: center;
}

.setup-content h1[b-mqgwiws5rt] {
    color: #EAAE63;
    font-size: 32px;
    margin-bottom: 16px;
}

.library-info[b-mqgwiws5rt] {
    color: #CCCCCC;
    font-size: 18px;
    margin-bottom: 32px;
}

.setup-actions-group[b-mqgwiws5rt] {
    background-color: #2A2A2A;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
}

.setup-actions[b-mqgwiws5rt] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.action-button[b-mqgwiws5rt] {
    background-color: #EAAE63;
    color: #2A2A2A;
    font-size: 18px;
    font-weight: bold;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.action-button:hover[b-mqgwiws5rt] {
    background-color: #D69947;
    transform: translateY(-2px);
}

.action-button:active[b-mqgwiws5rt] {
    transform: translateY(0);
}

.setup-hint[b-mqgwiws5rt] {
    margin: 0;
    padding: 12px;
    background-color: rgba(234, 174, 99, 0.1);
    border-left: 3px solid #EAAE63;
    border-radius: 4px;
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.setup-hint kbd[b-mqgwiws5rt] {
    background-color: #444444;
    border: 1px solid #666666;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 13px;
    color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-section[b-mqgwiws5rt] {
    background-color: #2A2A2A;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.faq-section summary[b-mqgwiws5rt] {
    cursor: pointer;
    font-weight: bold;
    color: #EAAE63;
    font-size: 18px;
    user-select: none;
}

.faq-section summary:hover[b-mqgwiws5rt] {
    color: #D69947;
}

.faq-content[b-mqgwiws5rt] {
    margin-top: 16px;
}

.faq-item[b-mqgwiws5rt] {
    margin-bottom: 20px;
}

.faq-item:last-child[b-mqgwiws5rt] {
    margin-bottom: 0;
}

.faq-question[b-mqgwiws5rt] {
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.faq-answer[b-mqgwiws5rt] {
    color: #CCCCCC;
    line-height: 1.5;
    margin: 0;
}

.start-button[b-mqgwiws5rt] {
    background-color: #00BFA5;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.start-button:hover:not(:disabled)[b-mqgwiws5rt] {
    background-color: #009688;
    transform: translateY(-2px);
}

.start-button:active:not(:disabled)[b-mqgwiws5rt] {
    transform: translateY(0);
}

.start-button:disabled[b-mqgwiws5rt] {
    background-color: #555555;
    color: #999999;
    cursor: not-allowed;
}

.error-message[b-mqgwiws5rt] {
    max-width: 600px;
    margin: 40px auto;
    padding: 24px;
    background-color: #B23A48;
    color: #FFFFFF;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

.error-message p[b-mqgwiws5rt] {
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .session-setup-container[b-mqgwiws5rt] {
        margin: 20px 16px;
        padding: 16px;
    }

    .setup-content h1[b-mqgwiws5rt] {
        font-size: 24px;
    }

    .action-button[b-mqgwiws5rt] {
        font-size: 16px;
        padding: 14px 20px;
    }

    .start-button[b-mqgwiws5rt] {
        font-size: 18px;
        padding: 16px 32px;
    }
}
/* /Pages/SingerView.razor.rz.scp.css */
.singer-view[b-nbpicmcxh1] {
    min-height: 100vh;
    padding: 1rem;
}

.name-entry-container[b-nbpicmcxh1] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.name-entry-card[b-nbpicmcxh1] {
    max-width: 500px;
    width: 100%;
    background-color: #2A2A2A;
    border: 1px solid #444444;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(var(--color-shadow-rgb), 0.1);
}

/* Ensure input text and placeholder colors are readable against the card background */
.name-entry-card .form-control[b-nbpicmcxh1] {
    color: var(--color-text) !important;
    background: transparent !important;
    border: 1px solid rgba(0,0,0,0.06);
}

.name-entry-card .form-control[b-nbpicmcxh1]::placeholder {
    color: var(--color-text-secondary) !important;
    opacity: 1;
}

/* Light theme: keep the same dark card as dark mode */
html[data-theme="light"] .name-entry-card[b-nbpicmcxh1] {
    background-color: #2A2A2A !important;
}

/* Dark theme overrides */
html[data-theme="dark"] .name-entry-card .form-control[b-nbpicmcxh1] {
    color: var(--color-text) !important;
    border-color: rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] .name-entry-card .form-control[b-nbpicmcxh1]::placeholder {
    color: var(--color-text-secondary) !important;
}

.library-container[b-nbpicmcxh1] {
    max-width: 1200px;
    margin: 0 auto;
}

.singer-header[b-nbpicmcxh1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gradient-light);
    background-attachment: fixed;
    color: var(--color-text-on-gradient);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.singer-header h3[b-nbpicmcxh1] {
    margin: 0;
    font-weight: bold;
}

/* Edit name controls */
.singer-name-display[b-nbpicmcxh1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.singer-name-display h3[b-nbpicmcxh1] {
    cursor: pointer;
}

.singer-edit-btn[b-nbpicmcxh1] {
    padding: 0.25rem 0.5rem;
    color: var(--color-text-on-gradient);
    opacity: 0.7;
    line-height: 1;
    border: none;
    background: transparent;
}

.singer-edit-btn:hover[b-nbpicmcxh1] {
    opacity: 1;
    color: var(--color-text-on-gradient);
}

.singer-name-edit[b-nbpicmcxh1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.singer-name-input[b-nbpicmcxh1] {
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 0.375rem;
    border: 2px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-on-gradient);
    padding: 0.25rem 0.5rem;
    min-width: 150px;
}

.singer-name-input.is-invalid[b-nbpicmcxh1] {
    border-color: #dc3545;
}

.singer-name-confirm[b-nbpicmcxh1] {
    padding: 0.25rem 0.625rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: 1.2;
    border: none;
}

.singer-name-confirm:hover[b-nbpicmcxh1] {
    opacity: 0.9;
    color: #fff;
}

.song-count[b-nbpicmcxh1] {
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(var(--color-surface-contrast-rgb), 0.08);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

/* View toggle (Library / Up Next segmented control) */
.singer-view-toggle[b-nbpicmcxh1] {
    display: flex;
    gap: 0.5rem;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.25rem;
    width: fit-content;
}

.singer-toggle-btn[b-nbpicmcxh1] {
    padding: 0.4rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    transition: background 0.15s, color 0.15s;
}

.singer-toggle-btn.active[b-nbpicmcxh1] {
    background: var(--color-primary);
    color: var(--color-text-on-primary, #fff);
}

.singer-toggle-btn:hover:not(.active)[b-nbpicmcxh1] {
    background: rgba(var(--color-surface-contrast-rgb), 0.06);
    color: var(--color-text);
}

/* QR pane styling: ensure generated QR canvas uses theme surface instead of white */
.qr-container[b-nbpicmcxh1],
div[id$="-qrcode"][b-nbpicmcxh1],
.qr-box[b-nbpicmcxh1] {
    background: var(--color-surface-contrast);
    padding: 0.5rem;
    border-radius: 8px;
}

.qr-container canvas[b-nbpicmcxh1],
.qr-container img[b-nbpicmcxh1],
.qr-box canvas[b-nbpicmcxh1],
.qr-box img[b-nbpicmcxh1],
div[id$="-qrcode"] canvas[b-nbpicmcxh1],
div[id$="-qrcode"] img[b-nbpicmcxh1] {
    background: transparent !important;
    display: block;
    margin: 0 auto;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .singer-view[b-nbpicmcxh1] {
        padding: 0.5rem;
    }

    .name-entry-card[b-nbpicmcxh1] {
        padding: 1.5rem;
    }

    .singer-header[b-nbpicmcxh1] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .singer-header h3[b-nbpicmcxh1] {
        font-size: 1.5rem;
    }

    /* Make buttons larger and more touch-friendly */
    .library-search .btn[b-nbpicmcxh1] {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Larger input fields */
    .library-search .form-control[b-nbpicmcxh1] {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    /* Better table spacing on mobile */
    .library-search .table[b-nbpicmcxh1] {
        font-size: 0.95rem;
    }

    .library-search .table td[b-nbpicmcxh1] {
        padding: 1rem 0.5rem;
    }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for touch devices */
    .library-search .btn[b-nbpicmcxh1] {
        min-height: 48px;
        min-width: 48px;
    }

    .name-entry-card input[b-nbpicmcxh1] {
        min-height: 48px;
    }

    .name-entry-card .btn[b-nbpicmcxh1] {
        min-height: 56px;
    }
}

/* Toast styling (component-scoped) - follows STYLING_GUIDE amber accent */
.k-singer-toast[b-nbpicmcxh1] {
    background: linear-gradient(90deg, rgba(255,167,51,0.98) 0%, rgba(219,95,38,0.98) 100%);
    color: var(--color-surface-contrast, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(42, 5, 0, 0.35);
    border: 1px solid rgba(0,0,0,0.08);
    min-width: 260px;
    max-width: 420px;
    overflow: hidden;
    pointer-events: auto; /* allow interaction with toast */
}

.k-singer-toast .toast-header[b-nbpicmcxh1] {
    background: black !important;
    color: var(--color-text);
    border-bottom: none;
    padding: 12px 14px;
}

.k-singer-toast .toast-body[b-nbpicmcxh1] {
    background: rgba(255,255,255,0.03);
    color: inherit;
    padding: 10px 14px 14px 14px;
    font-weight: 600;
}

/* Variants for header tinting; keep readable contrast */
.toast-success[b-nbpicmcxh1] {
    background: linear-gradient(90deg, rgba(255,183,71,0.95) 0%, rgba(255,148,71,0.95) 100%);
}

.toast-error[b-nbpicmcxh1] {
    background: linear-gradient(90deg, rgba(230,72,72,0.98) 0%, rgba(255,110,110,0.98) 100%);
}

/* Focus styles (Highlight Glow per styling guide) */
.k-singer-toast:focus[b-nbpicmcxh1] {
    outline: 3px solid rgba(255,210,95,0.95);
    outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
    .k-singer-toast[b-nbpicmcxh1] {
        box-shadow: 0 12px 36px rgba(0,0,0,0.6);
        border: 1px solid rgba(255,255,255,0.06);
    }

    .k-singer-toast .toast-body[b-nbpicmcxh1] {
        background: rgba(0,0,0,0.12);
        color: var(--color-text, #F3F1ED);
    }
}

/* Small-screen layout adjustments */
@media (max-width: 576px) {
    .toast-container.position-fixed.bottom-0.end-0[b-nbpicmcxh1] {
        right: 8px;
        left: 8px;
        bottom: 12px;
    }

    .k-singer-toast[b-nbpicmcxh1] {
        width: auto;
        max-width: calc(100% - 32px);
    }
}
