/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Styles moved to HeadContent in AuthLayout.razor */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nzfwi0jyel] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Top Navbar ── */
.top-navbar[b-nzfwi0jyel] {
    background: linear-gradient(90deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-brand[b-nzfwi0jyel] {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.app-brand:hover[b-nzfwi0jyel] {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.ctx-separator[b-nzfwi0jyel] {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.ctx-item[b-nzfwi0jyel] {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* ── User Dropdown ── */
.navbar-user[b-nzfwi0jyel] {
    position: relative;
}

.user-menu-details[b-nzfwi0jyel] {
    position: relative;
}

.user-welcome-btn[b-nzfwi0jyel] {
    color: #ffffff;
    cursor: pointer;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s;
    user-select: none;
    border: 1px solid transparent;
    background: transparent;
}

.user-welcome-btn:hover[b-nzfwi0jyel] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-backdrop[b-nzfwi0jyel] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

.user-dropdown-panel[b-nzfwi0jyel] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    min-width: 170px;
    overflow: hidden;
    z-index: 200;
}

.dropdown-action[b-nzfwi0jyel] {
    display: block;
    width: 100%;
    padding: 0.75rem 1.2rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}

.dropdown-action:not(.logout-action)[b-nzfwi0jyel] {
    color: #1a1d23;
    text-decoration: none;
}

.dropdown-action:not(.logout-action):hover[b-nzfwi0jyel] {
    background: #f0f2f5;
}

.logout-action[b-nzfwi0jyel] {
    color: #dc3545;
}

.logout-action:hover[b-nzfwi0jyel] {
    background: #fff5f5;
}

.dropdown-divider[b-nzfwi0jyel] {
    height: 1px;
    background: #e2e6ea;
    margin: 0;
}

/* ── Content ── */
.app-content[b-nzfwi0jyel] {
    flex: 1;
}

.content[b-nzfwi0jyel] {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ── Blazor Error UI ── */
#blazor-error-ui[b-nzfwi0jyel] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-nzfwi0jyel] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xtlo3sxp0p],
.components-reconnect-repeated-attempt-visible[b-xtlo3sxp0p],
.components-reconnect-failed-visible[b-xtlo3sxp0p],
.components-pause-visible[b-xtlo3sxp0p],
.components-resume-failed-visible[b-xtlo3sxp0p],
.components-rejoining-animation[b-xtlo3sxp0p] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-retrying[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-failed[b-xtlo3sxp0p],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-xtlo3sxp0p] {
    display: block;
}


#components-reconnect-modal[b-xtlo3sxp0p] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xtlo3sxp0p 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-xtlo3sxp0p 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-xtlo3sxp0p 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-xtlo3sxp0p]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-xtlo3sxp0p 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xtlo3sxp0p {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xtlo3sxp0p {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-xtlo3sxp0p {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-xtlo3sxp0p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-xtlo3sxp0p] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-xtlo3sxp0p] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-xtlo3sxp0p] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-xtlo3sxp0p] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-xtlo3sxp0p] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-xtlo3sxp0p] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-xtlo3sxp0p 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-xtlo3sxp0p] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-xtlo3sxp0p {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Account/Login.razor.rz.scp.css */
/* Styles defined in AuthLayout.razor via HeadContent */

.forgot-link[b-daio5hlrbs] {
    font-size: 0.85rem;
    color: rgb(5, 39, 103);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover[b-daio5hlrbs] {
    text-decoration: underline;
}
/* /Components/Pages/Account/Register.razor.rz.scp.css */
/* Styles defined in AuthLayout.razor via HeadContent */
/* /Components/Pages/Admin/Albums.razor.rz.scp.css */
/* ── Root theme wrapper ── */
.albums-root[b-zgm82zqiy0] {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Page ── */
.albums-page[b-zgm82zqiy0] {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--sx-bg);
    color: var(--sx-text);
    overflow: hidden;
}

.page-title[b-zgm82zqiy0] {
    margin: 0 0 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-text);
}

/* ── Spinner ── */
.page-spinner-overlay[b-zgm82zqiy0] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-spinner[b-zgm82zqiy0] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(128, 128, 128, 0.25);
    border-top-color: var(--sx-accent, #4a90e2);
    border-radius: 50%;
    animation: a-spin-b-zgm82zqiy0 0.65s linear infinite;
}

@keyframes a-spin-b-zgm82zqiy0 {
    to { transform: rotate(360deg); }
}

/* ── Filters ── */
.filters-bar[b-zgm82zqiy0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group[b-zgm82zqiy0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-lbl[b-zgm82zqiy0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.filter-input[b-zgm82zqiy0] {
    padding: 0.35rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.82rem;
    transition: border-color 0.15s;
    min-width: 120px;
    color-scheme: light;
}

.filter-input--short[b-zgm82zqiy0] {
    min-width: 80px;
    max-width: 100px;
}

:global(.sx-theme-dark) .filter-input[b-zgm82zqiy0] {
    color-scheme: dark;
}

.filter-input:focus[b-zgm82zqiy0] {
    outline: none;
    border-color: var(--sx-accent);
}

/* ── Table ── */
.albums-table-wrap[b-zgm82zqiy0] {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.albums-table[b-zgm82zqiy0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.albums-table thead[b-zgm82zqiy0] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.albums-table th[b-zgm82zqiy0] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    background: var(--sx-surface);
    border-bottom: 1.5px solid var(--sx-border);
    white-space: nowrap;
}

.albums-table th.sortable[b-zgm82zqiy0] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.albums-table th.sortable:hover[b-zgm82zqiy0] {
    color: var(--sx-text);
}

.sort-icon[b-zgm82zqiy0] {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: var(--sx-accent);
}

.sort-icon.muted[b-zgm82zqiy0] {
    color: var(--sx-text-muted);
    opacity: 0.4;
}

.albums-table td[b-zgm82zqiy0] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--sx-border);
    color: var(--sx-text);
    vertical-align: middle;
}

.albums-table tbody tr:hover[b-zgm82zqiy0] {
    background: var(--sx-tab-hover);
}

.empty-row[b-zgm82zqiy0] {
    text-align: center;
    color: var(--sx-text-muted);
    padding: 2rem 0.75rem !important;
}

/* ── New Button ── */
.btn-new[b-zgm82zqiy0] {
    margin-left: auto;
    padding: 0.4rem 0.9rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.btn-new:hover[b-zgm82zqiy0] {
    opacity: 0.88;
}

/* ── Actions Column ── */
.col-actions[b-zgm82zqiy0] {
    width: 80px;
    text-align: center;
    white-space: nowrap;
}

.btn-edit[b-zgm82zqiy0],
.btn-delete[b-zgm82zqiy0] {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.btn-edit:hover[b-zgm82zqiy0] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
}

.btn-delete:hover[b-zgm82zqiy0] {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

/* ── Overlay & Slide-out Panel ── */
.edit-overlay[b-zgm82zqiy0] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.edit-overlay.open[b-zgm82zqiy0] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.edit-panel[b-zgm82zqiy0] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.edit-overlay.open .edit-panel[b-zgm82zqiy0] {
    transform: translateX(0);
}

/* ── Panel Header ── */
.edit-header[b-zgm82zqiy0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.edit-title[b-zgm82zqiy0] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

.edit-close-btn[b-zgm82zqiy0] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.edit-close-btn:hover[b-zgm82zqiy0] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Panel Body ── */
.edit-body[b-zgm82zqiy0] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-group[b-zgm82zqiy0] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field-lbl[b-zgm82zqiy0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.field-input[b-zgm82zqiy0] {
    padding: 0.4rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.15s;
    color-scheme: light;
}

:global(.sx-theme-dark) .field-input[b-zgm82zqiy0] {
    color-scheme: dark;
}

.field-input:focus[b-zgm82zqiy0] {
    outline: none;
    border-color: var(--sx-accent);
}

/* ── Panel Footer ── */
.edit-footer[b-zgm82zqiy0] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.btn-save[b-zgm82zqiy0] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-zgm82zqiy0] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-zgm82zqiy0] {
    opacity: 0.88;
}

.btn-cancel[b-zgm82zqiy0] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-zgm82zqiy0] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-zgm82zqiy0] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-zgm82zqiy0] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: a-spin-b-zgm82zqiy0 0.65s linear infinite;
}
/* /Components/Pages/Admin/Profiles.razor.rz.scp.css */
/* ── Root theme wrapper ── */
.profiles-root[b-mrjay77qm1] {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Page ── */
.profiles-page[b-mrjay77qm1] {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--sx-bg);
    color: var(--sx-text);
    overflow: hidden;
}

.page-title[b-mrjay77qm1] {
    margin: 0 0 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-text);
}

/* ── Spinner ── */
.page-spinner-overlay[b-mrjay77qm1] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-spinner[b-mrjay77qm1] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(128, 128, 128, 0.25);
    border-top-color: var(--sx-accent, #4a90e2);
    border-radius: 50%;
    animation: p-spin-b-mrjay77qm1 0.65s linear infinite;
}

@keyframes p-spin-b-mrjay77qm1 {
    to { transform: rotate(360deg); }
}

/* ── Filters ── */
.filters-bar[b-mrjay77qm1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group[b-mrjay77qm1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-lbl[b-mrjay77qm1] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.filter-input[b-mrjay77qm1] {
    padding: 0.35rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.82rem;
    transition: border-color 0.15s;
    min-width: 120px;
    color-scheme: light;
}

:global(.sx-theme-dark) .filter-input[b-mrjay77qm1] {
    color-scheme: dark;
}

.filter-input:focus[b-mrjay77qm1] {
    outline: none;
    border-color: var(--sx-accent);
}

/* ── Table ── */
.profiles-table-wrap[b-mrjay77qm1] {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.profiles-table[b-mrjay77qm1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.profiles-table thead[b-mrjay77qm1] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.profiles-table th[b-mrjay77qm1] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    background: var(--sx-surface);
    border-bottom: 1.5px solid var(--sx-border);
    white-space: nowrap;
}

.profiles-table th.sortable[b-mrjay77qm1] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.profiles-table th.sortable:hover[b-mrjay77qm1] {
    color: var(--sx-text);
}

.sort-icon[b-mrjay77qm1] {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: var(--sx-accent);
}

.sort-icon.muted[b-mrjay77qm1] {
    color: var(--sx-text-muted);
    opacity: 0.4;
}

.profiles-table td[b-mrjay77qm1] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--sx-border);
    color: var(--sx-text);
    vertical-align: middle;
}

.profiles-table tbody tr:hover[b-mrjay77qm1] {
    background: var(--sx-tab-hover);
}

.empty-row[b-mrjay77qm1] {
    text-align: center;
    color: var(--sx-text-muted);
    padding: 2rem 0.75rem !important;
}

.description-cell[b-mrjay77qm1] {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Status Badge ── */
.status-badge[b-mrjay77qm1] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-badge.enabled[b-mrjay77qm1] {
    background: rgba(46, 160, 67, 0.15);
    color: #2ea043;
}

.status-badge.disabled[b-mrjay77qm1] {
    background: rgba(210, 153, 34, 0.15);
    color: #d29922;
}

/* ── New Profile Button ── */
.btn-new[b-mrjay77qm1] {
    margin-left: auto;
    padding: 0.4rem 0.9rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.btn-new:hover[b-mrjay77qm1] {
    opacity: 0.88;
}

/* ── Actions Column ── */
.col-actions[b-mrjay77qm1] {
    width: 44px;
    text-align: center;
}

.btn-edit[b-mrjay77qm1] {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.btn-edit:hover[b-mrjay77qm1] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
}

/* ── Overlay & Slide-out Panel ── */
.edit-overlay[b-mrjay77qm1] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.edit-overlay.open[b-mrjay77qm1] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.edit-panel[b-mrjay77qm1] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.edit-overlay.open .edit-panel[b-mrjay77qm1] {
    transform: translateX(0);
}

/* ── Panel Header ── */
.edit-header[b-mrjay77qm1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.edit-title[b-mrjay77qm1] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

.edit-close-btn[b-mrjay77qm1] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.edit-close-btn:hover[b-mrjay77qm1] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Panel Body ── */
.edit-body[b-mrjay77qm1] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-group[b-mrjay77qm1] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field-lbl[b-mrjay77qm1] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.field-input[b-mrjay77qm1] {
    padding: 0.4rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.15s;
    color-scheme: light;
}

:global(.sx-theme-dark) .field-input[b-mrjay77qm1] {
    color-scheme: dark;
}

.field-input:focus[b-mrjay77qm1] {
    outline: none;
    border-color: var(--sx-accent);
}

.field-textarea[b-mrjay77qm1] {
    resize: vertical;
    min-height: 60px;
}

.field-toggle[b-mrjay77qm1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
    padding: 0.2rem 0;
}

.field-toggle input[type="checkbox"][b-mrjay77qm1] {
    accent-color: var(--sx-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── Panel Footer ── */
.edit-footer[b-mrjay77qm1] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

/* ── Permissions ── */
.field-group--perms[b-mrjay77qm1] {
    margin-top: 0.5rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.perm-list[b-mrjay77qm1] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.4rem 0;
}

.perm-item[b-mrjay77qm1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.perm-item input[type="checkbox"][b-mrjay77qm1] {
    flex-shrink: 0;
}

.perm-desc[b-mrjay77qm1] {
    flex: 1;
    color: var(--sx-text);
}

.perm-key[b-mrjay77qm1] {
    font-size: 0.7rem;
    color: var(--sx-text-muted);
    font-family: monospace;
}

.btn-save[b-mrjay77qm1] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-mrjay77qm1] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-mrjay77qm1] {
    opacity: 0.88;
}

.btn-cancel[b-mrjay77qm1] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-mrjay77qm1] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-mrjay77qm1] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-mrjay77qm1] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: p-spin-b-mrjay77qm1 0.65s linear infinite;
}
/* /Components/Pages/Admin/SongTypes.razor.rz.scp.css */
/* ── Root theme wrapper ── */
.songtypes-root[b-u5q1gshl7y] {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Page ── */
.songtypes-page[b-u5q1gshl7y] {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--sx-bg);
    color: var(--sx-text);
    overflow: hidden;
}

.page-title[b-u5q1gshl7y] {
    margin: 0 0 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-text);
}

/* ── Spinner ── */
.page-spinner-overlay[b-u5q1gshl7y] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-spinner[b-u5q1gshl7y] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(128, 128, 128, 0.25);
    border-top-color: var(--sx-accent, #4a90e2);
    border-radius: 50%;
    animation: st-spin-b-u5q1gshl7y 0.65s linear infinite;
}

@keyframes st-spin-b-u5q1gshl7y {
    to { transform: rotate(360deg); }
}

/* ── Filters ── */
.filters-bar[b-u5q1gshl7y] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group[b-u5q1gshl7y] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-lbl[b-u5q1gshl7y] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.filter-input[b-u5q1gshl7y] {
    padding: 0.35rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.82rem;
    transition: border-color 0.15s;
    min-width: 120px;
    color-scheme: light;
}

:global(.sx-theme-dark) .filter-input[b-u5q1gshl7y] {
    color-scheme: dark;
}

.filter-input:focus[b-u5q1gshl7y] {
    outline: none;
    border-color: var(--sx-accent);
}

/* ── Table ── */
.songtypes-table-wrap[b-u5q1gshl7y] {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.songtypes-table[b-u5q1gshl7y] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.songtypes-table thead[b-u5q1gshl7y] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.songtypes-table th[b-u5q1gshl7y] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    background: var(--sx-surface);
    border-bottom: 1.5px solid var(--sx-border);
    white-space: nowrap;
}

.songtypes-table th.sortable[b-u5q1gshl7y] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.songtypes-table th.sortable:hover[b-u5q1gshl7y] {
    color: var(--sx-text);
}

.sort-icon[b-u5q1gshl7y] {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: var(--sx-accent);
}

.sort-icon.muted[b-u5q1gshl7y] {
    color: var(--sx-text-muted);
    opacity: 0.4;
}

.songtypes-table td[b-u5q1gshl7y] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--sx-border);
    color: var(--sx-text);
    vertical-align: middle;
}

.songtypes-table tbody tr:hover[b-u5q1gshl7y] {
    background: var(--sx-tab-hover);
}

.empty-row[b-u5q1gshl7y] {
    text-align: center;
    color: var(--sx-text-muted);
    padding: 2rem 0.75rem !important;
}

.description-cell[b-u5q1gshl7y] {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── New Button ── */
.btn-new[b-u5q1gshl7y] {
    margin-left: auto;
    padding: 0.4rem 0.9rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.btn-new:hover[b-u5q1gshl7y] {
    opacity: 0.88;
}

/* ── Actions Column ── */
.col-actions[b-u5q1gshl7y] {
    width: 80px;
    text-align: center;
    white-space: nowrap;
}

.btn-edit[b-u5q1gshl7y],
.btn-delete[b-u5q1gshl7y] {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.btn-edit:hover[b-u5q1gshl7y] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
}

.btn-delete:hover[b-u5q1gshl7y] {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

/* ── Overlay & Slide-out Panel ── */
.edit-overlay[b-u5q1gshl7y] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.edit-overlay.open[b-u5q1gshl7y] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.edit-panel[b-u5q1gshl7y] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.edit-overlay.open .edit-panel[b-u5q1gshl7y] {
    transform: translateX(0);
}

/* ── Panel Header ── */
.edit-header[b-u5q1gshl7y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.edit-title[b-u5q1gshl7y] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

.edit-close-btn[b-u5q1gshl7y] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.edit-close-btn:hover[b-u5q1gshl7y] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Panel Body ── */
.edit-body[b-u5q1gshl7y] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-group[b-u5q1gshl7y] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field-lbl[b-u5q1gshl7y] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.field-input[b-u5q1gshl7y] {
    padding: 0.4rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.15s;
    color-scheme: light;
}

:global(.sx-theme-dark) .field-input[b-u5q1gshl7y] {
    color-scheme: dark;
}

.field-input:focus[b-u5q1gshl7y] {
    outline: none;
    border-color: var(--sx-accent);
}

.field-textarea[b-u5q1gshl7y] {
    resize: vertical;
    min-height: 60px;
}

/* ── Panel Footer ── */
.edit-footer[b-u5q1gshl7y] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.btn-save[b-u5q1gshl7y] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-u5q1gshl7y] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-u5q1gshl7y] {
    opacity: 0.88;
}

.btn-cancel[b-u5q1gshl7y] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-u5q1gshl7y] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-u5q1gshl7y] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-u5q1gshl7y] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: st-spin-b-u5q1gshl7y 0.65s linear infinite;
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
/* ── Root theme wrapper ── */
.users-root[b-njmkcb90je] {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Page ── */
.users-page[b-njmkcb90je] {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--sx-bg);
    color: var(--sx-text);
    overflow: hidden;
}

.page-title[b-njmkcb90je] {
    margin: 0 0 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-text);
}

/* ── Spinner ── */
.page-spinner-overlay[b-njmkcb90je] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-spinner[b-njmkcb90je] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(128, 128, 128, 0.25);
    border-top-color: var(--sx-accent, #4a90e2);
    border-radius: 50%;
    animation: u-spin-b-njmkcb90je 0.65s linear infinite;
}

@keyframes u-spin-b-njmkcb90je {
    to { transform: rotate(360deg); }
}

/* ── Filters ── */
.filters-bar[b-njmkcb90je] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group[b-njmkcb90je] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-lbl[b-njmkcb90je] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
}

.filter-input[b-njmkcb90je] {
    padding: 0.35rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.82rem;
    transition: border-color 0.15s;
    min-width: 120px;
    color-scheme: light;
}

:global(.sx-theme-dark) .filter-input[b-njmkcb90je] {
    color-scheme: dark;
}

.filter-input:focus[b-njmkcb90je] {
    outline: none;
    border-color: var(--sx-accent);
}

/* ── Table ── */
.users-table-wrap[b-njmkcb90je] {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.users-table[b-njmkcb90je] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.users-table thead[b-njmkcb90je] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.users-table th[b-njmkcb90je] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    background: var(--sx-surface);
    border-bottom: 1.5px solid var(--sx-border);
    white-space: nowrap;
}

.users-table th.sortable[b-njmkcb90je] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.users-table th.sortable:hover[b-njmkcb90je] {
    color: var(--sx-text);
}

.sort-icon[b-njmkcb90je] {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: var(--sx-accent);
}

.sort-icon.muted[b-njmkcb90je] {
    color: var(--sx-text-muted);
    opacity: 0.4;
}

.users-table td[b-njmkcb90je] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--sx-border);
    color: var(--sx-text);
    vertical-align: middle;
}

.users-table tbody tr:hover[b-njmkcb90je] {
    background: var(--sx-tab-hover);
}

.empty-row[b-njmkcb90je] {
    text-align: center;
    color: var(--sx-text-muted);
    padding: 2rem 0.75rem !important;
}

.profiles-cell[b-njmkcb90je] {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-muted[b-njmkcb90je] {
    color: var(--sx-text-muted);
}

/* ── Status Badge ── */
.status-badge[b-njmkcb90je] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-badge.approved[b-njmkcb90je] {
    background: rgba(46, 160, 67, 0.15);
    color: #2ea043;
}

.status-badge.pending[b-njmkcb90je] {
    background: rgba(210, 153, 34, 0.15);
    color: #d29922;
}

/* ── Actions Column ── */
.col-actions[b-njmkcb90je] {
    width: 44px;
    text-align: center;
}

.btn-edit[b-njmkcb90je] {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.btn-edit:hover[b-njmkcb90je] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
}

/* ── Overlay & Slide-out Panel ── */
.edit-overlay[b-njmkcb90je] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.edit-overlay.open[b-njmkcb90je] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.edit-panel[b-njmkcb90je] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.edit-overlay.open .edit-panel[b-njmkcb90je] {
    transform: translateX(0);
}

/* ── Panel Header ── */
.edit-header[b-njmkcb90je] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.edit-user-name[b-njmkcb90je] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.edit-close-btn[b-njmkcb90je] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.edit-close-btn:hover[b-njmkcb90je] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Panel Body ── */
.edit-body[b-njmkcb90je] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.edit-info[b-njmkcb90je] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sx-border);
}

.info-row[b-njmkcb90je] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.info-label[b-njmkcb90je] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    width: 80px;
    flex-shrink: 0;
}

.info-value[b-njmkcb90je] {
    font-size: 0.85rem;
    color: var(--sx-text);
    word-break: break-all;
}

.profiles-title[b-njmkcb90je] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sx-text-muted);
    margin: 0 0 0.7rem;
}

.profiles-list[b-njmkcb90je] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-item[b-njmkcb90je] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    transition: background 0.1s;
}

.profile-item:hover[b-njmkcb90je] {
    background: var(--sx-tab-hover);
}

.profile-item input[type="checkbox"][b-njmkcb90je] {
    accent-color: var(--sx-accent);
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Panel Footer ── */
.edit-footer[b-njmkcb90je] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.btn-save[b-njmkcb90je] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-njmkcb90je] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-njmkcb90je] {
    opacity: 0.88;
}

.btn-cancel[b-njmkcb90je] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-njmkcb90je] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-njmkcb90je] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-njmkcb90je] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: u-spin-b-njmkcb90je 0.65s linear infinite;
}
/* /Components/Pages/DocumentEdit.razor.rz.scp.css */
/* ── Wrapper ── */
.dcedit-wrapper[b-qqbiqc038h] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background: var(--sx-bg);
    color: var(--sx-text);
    overflow: hidden;
}

/* ── Toolbar ── */
.dcedit-toolbar[b-qqbiqc038h] {
    display: flex;
    align-items: stretch;
    height: 52px;
    flex-shrink: 0;
    padding: 0 0.75rem;
    gap: 0.5rem;
    background: var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
}

.dcedit-tb-left[b-qqbiqc038h] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dcedit-tb-center[b-qqbiqc038h] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.dcedit-tb-right[b-qqbiqc038h] {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    gap: 0;
}

.dcedit-back-btn[b-qqbiqc038h] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.dcedit-back-btn:hover[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
    border-color: var(--sx-text-muted);
}

.dcedit-doc-name[b-qqbiqc038h] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcedit-note-badge[b-qqbiqc038h] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    background: var(--sx-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.dcedit-save-btn[b-qqbiqc038h] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.85rem;
    border: none;
    border-radius: 6px;
    background: var(--sx-accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.dcedit-save-btn:hover:not(:disabled)[b-qqbiqc038h] { opacity: 0.88; }
.dcedit-save-btn:disabled[b-qqbiqc038h] { opacity: 0.5; cursor: not-allowed; }

/* ── Main area ── */
.dcedit-main[b-qqbiqc038h] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Score area ── */
.dcedit-score[b-qqbiqc038h] {
    flex: 1;
    overflow: auto;
    position: relative;
    min-width: 0;
}

.dcedit-osmd[b-qqbiqc038h] {
    padding: 1rem;
}

.dcedit-error[b-qqbiqc038h] {
    padding: 2rem;
    color: var(--sx-text-muted);
    font-size: 0.9rem;
}

/* Loading overlay */
.dcedit-spinner-overlay[b-qqbiqc038h] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(var(--sx-bg-rgb, 255,255,255), 0.75);
    z-index: 10;
}

.dcedit-spinner-text[b-qqbiqc038h] {
    font-size: 0.85rem;
    color: var(--sx-text-muted);
}

/* ── Toolbar tab buttons (Nota / Accordo / Testo) ── */
.dcedit-tb-tab-btn[b-qqbiqc038h] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.9rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sx-text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
    user-select: none;
    height: 100%;
    box-sizing: border-box;
}

.dcedit-tb-tab-btn:hover[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.dcedit-tb-tab-btn.active[b-qqbiqc038h] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

.dcedit-tb-tab-chevron[b-qqbiqc038h] {
    display: inline-block;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    line-height: 1;
}

.dcedit-tb-tab-chevron.open[b-qqbiqc038h] {
    transform: rotate(180deg);
}

/* Step cursor buttons */
.dcedit-step-btn[b-qqbiqc038h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1.5px solid var(--sx-border);
    border-radius: 50%;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
    margin: 0 0.1rem;
}

.dcedit-step-btn:hover:not(:disabled)[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent);
    color: var(--sx-accent);
}

.dcedit-step-btn:disabled[b-qqbiqc038h] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Separator between tabs and Save button */
.dcedit-tb-sep[b-qqbiqc038h] {
    width: 1px;
    height: 22px;
    background: var(--sx-border);
    align-self: center;
    flex-shrink: 0;
    margin: 0 0.4rem;
}

/* Beat badge in toolbar */
.dcedit-beat-info[b-qqbiqc038h] {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    background: var(--sx-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

/* ── Edit panel (dropdown below toolbar) ── */
.dcedit-tabs-panel[b-qqbiqc038h] {
    background: var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
    animation: dcedit-slide-down-b-qqbiqc038h 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

.dcedit-tabs-panel-inner[b-qqbiqc038h] {
    padding: 0.75rem 1rem;
    max-height: 50vh;
    overflow-y: auto;
}

@keyframes dcedit-slide-down-b-qqbiqc038h {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Part / chord note sub-tabs ── */
.dcedit-np-tabs[b-qqbiqc038h] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-bg);
}

.dcedit-np-tabs--chord[b-qqbiqc038h] {
    background: transparent;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: none;
    border-top: 1px solid var(--sx-border);
}

.dcedit-np-tab[b-qqbiqc038h] {
    padding: 0.28rem 0.7rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 20px;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.dcedit-np-tab--sm[b-qqbiqc038h] {
    font-size: 0.75rem;
    padding: 0.22rem 0.55rem;
}

.dcedit-np-tab:hover:not(.active)[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent);
}

.dcedit-np-tab.active[b-qqbiqc038h] {
    background: var(--sx-accent);
    border-color: var(--sx-accent);
    color: #fff;
}

/* ── Panel body ── */
.dcedit-np-body[b-qqbiqc038h] {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Section labels */
.dcedit-np-section[b-qqbiqc038h] {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--sx-text-muted);
    padding-top: 0.4rem;
    border-bottom: 1px solid var(--sx-border);
    padding-bottom: 0.25rem;
    margin-bottom: 0.2rem;
}

/* Large preview */
.dcedit-np-preview[b-qqbiqc038h] {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--sx-accent);
    padding: 0.4rem 0 0.75rem;
    letter-spacing: 0.02em;
}

/* Button group */
.dcedit-np-btns[b-qqbiqc038h] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.3rem;
}

.dcedit-np-btn[b-qqbiqc038h] {
    min-width: 30px;
    height: 30px;
    padding: 0 0.4rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.dcedit-np-btn--wide[b-qqbiqc038h] { min-width: 38px; font-size: 0.95rem; }

.dcedit-np-btn:hover[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent);
}

.dcedit-np-btn.active[b-qqbiqc038h] {
    background: var(--sx-accent);
    border-color: var(--sx-accent);
    color: #fff;
}

/* Chord / text display */
.dcedit-np-chord-display[b-qqbiqc038h] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sx-accent);
    text-align: center;
    padding: 0.5rem 0;
}

/* Text inputs (harmony / lyric) */
.dcedit-np-text-input[b-qqbiqc038h] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}

.dcedit-np-text-input:focus[b-qqbiqc038h] { border-color: var(--sx-accent); }

/* Lyric rows */
.dcedit-np-lyric-row[b-qqbiqc038h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s;
    border: 1.5px solid transparent;
}

.dcedit-np-lyric-row:hover[b-qqbiqc038h] { background: var(--sx-tab-hover); }

.dcedit-np-lyric-row.editing[b-qqbiqc038h] {
    border-color: var(--sx-accent);
    background: var(--sx-tab-hover);
}

.dcedit-np-lyric-part[b-qqbiqc038h] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sx-text-muted);
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.dcedit-np-lyric-text[b-qqbiqc038h] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sx-text);
    font-style: italic;
}

/* Hint when nothing selected */
.dcedit-np-hint[b-qqbiqc038h] {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: var(--sx-text-muted);
    font-size: 0.82rem;
    font-style: italic;
    text-align: center;
}

/* ── Panel footer ── */
.dcedit-np-footer[b-qqbiqc038h] {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
}

.dcedit-np-apply[b-qqbiqc038h],
.dcedit-np-cancel[b-qqbiqc038h] {
    flex: 1;
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: opacity 0.15s, background 0.15s;
}

.dcedit-np-apply[b-qqbiqc038h] {
    background: var(--sx-accent);
    color: #fff;
}

.dcedit-np-apply:hover:not(:disabled)[b-qqbiqc038h] { opacity: 0.88; }
.dcedit-np-apply:disabled[b-qqbiqc038h],
.dcedit-np-cancel:disabled[b-qqbiqc038h] { opacity: 0.5; cursor: not-allowed; }

.dcedit-np-cancel[b-qqbiqc038h] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
}

.dcedit-np-cancel:hover:not(:disabled)[b-qqbiqc038h] { background: var(--sx-border); }

/* ── Spinners ── */
.dcedit-spinner[b-qqbiqc038h] {
    width: 24px;
    height: 24px;
    border: 3px solid var(--sx-border);
    border-top-color: var(--sx-accent);
    border-radius: 50%;
    animation: dcedit-spin-b-qqbiqc038h 0.65s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

.dcedit-spinner-overlay .dcedit-spinner[b-qqbiqc038h] {
    width: 38px;
    height: 38px;
}

@keyframes dcedit-spin-b-qqbiqc038h {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/DocumentViewer.razor.rz.scp.css */
/* ── Loading spinner ── */
.viewer-spinner-overlay[b-xibolmr2p5] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-spinner[b-xibolmr2p5] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: viewer-spin-b-xibolmr2p5 0.65s linear infinite;
}

@keyframes viewer-spin-b-xibolmr2p5 {
    to { transform: rotate(360deg); }
}

/* ── Root ── */
.viewer-root[b-xibolmr2p5] {
    height: calc(100vh - 60px);
    background: var(--sx-bg);
    color: var(--sx-text);
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.viewer-content[b-xibolmr2p5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* ── Header ── */
.viewer-header[b-xibolmr2p5] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sx-border);
}

.viewer-title[b-xibolmr2p5] {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sx-text);
}

.viewer-type-badge[b-xibolmr2p5] {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    white-space: nowrap;
}

/* ── Error ── */
.viewer-error[b-xibolmr2p5] {
    padding: 2rem;
    text-align: center;
    color: var(--sx-text-muted);
    font-size: 0.95rem;
}

/* ── Content ── (defined above with viewer-root) */

/* Padding for non-score content */
.transpose-toolbar[b-xibolmr2p5],
.chordpro-sheet[b-xibolmr2p5],
.pdf-wrapper[b-xibolmr2p5],
.media-wrapper[b-xibolmr2p5],
.viewer-unsupported[b-xibolmr2p5],
.viewer-error[b-xibolmr2p5] {
    margin-left: 2rem;
    margin-right: 2rem;
}

/* ── OSMD Container ── */
.osmd-wrapper[b-xibolmr2p5] {
    position: relative;
    padding: 1.5rem 2rem;
    flex: 1;
}

.osmd-container[b-xibolmr2p5] {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.osmd-container.osmd-rendering[b-xibolmr2p5] {
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.osmd-spinner-overlay[b-xibolmr2p5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 0;
}

.osmd-spinner-text[b-xibolmr2p5] {
    font-size: 0.9rem;
    color: var(--sx-text-muted);
}

/* ── Zoom overlay ── */
.osmd-zoom-controls[b-xibolmr2p5] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.osmd-zoom-controls:hover[b-xibolmr2p5] {
    opacity: 1;
}

.osmd-zoom-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1.5px solid var(--sx-border);
    border-radius: 50%;
    background: transparent;
    color: var(--sx-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.osmd-zoom-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
    color: var(--sx-accent, #4a90e2);
}

.osmd-zoom-btn:disabled[b-xibolmr2p5] {
    opacity: 0.3;
    cursor: not-allowed;
}

.osmd-zoom-label[b-xibolmr2p5] {
    min-width: 2.8rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sx-text);
}

/* ── Unified score toolbar (sticky) ── */
.score-toolbar[b-xibolmr2p5] {
    position: sticky;
    top: 60px;
    z-index: 99;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.toolbar-section[b-xibolmr2p5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-left[b-xibolmr2p5] {
    flex: 1;
    justify-content: flex-start;
    min-width: 0;
}

.toolbar-center[b-xibolmr2p5] {
    flex: 0 0 auto;
    justify-content: center;
    gap: 0.75rem;
}

.toolbar-right[b-xibolmr2p5] {
    flex: 1;
    justify-content: flex-end;
}

/* ── Transpose controls ── */
.transpose-toolbar[b-xibolmr2p5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.transpose-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.9rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.transpose-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
    color: var(--sx-accent, #4a90e2);
}

.transpose-btn:disabled[b-xibolmr2p5] {
    opacity: 0.45;
    cursor: not-allowed;
}

.transpose-icon[b-xibolmr2p5] {
    font-size: 1.05rem;
    line-height: 1;
}

.transpose-value[b-xibolmr2p5] {
    min-width: 5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

/* ── Parts filter ── */
.parts-toolbar[b-xibolmr2p5] {
    position: relative;
}

.parts-backdrop[b-xibolmr2p5] {
    position: fixed;
    inset: 0;
    z-index: 109;
}

.parts-toggle-btn[b-xibolmr2p5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.parts-toggle-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
}

.parts-toggle-btn:disabled[b-xibolmr2p5] {
    opacity: 0.45;
    cursor: not-allowed;
}

.parts-chevron[b-xibolmr2p5] {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 0.9rem;
}

.parts-chevron.open[b-xibolmr2p5] {
    transform: rotate(90deg);
}

.parts-list[b-xibolmr2p5] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 110;
    min-width: 160px;
}

.parts-item[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--sx-text);
    cursor: pointer;
    white-space: nowrap;
}

.parts-item input[type="checkbox"][b-xibolmr2p5] {
    accent-color: var(--sx-accent, #4a90e2);
}

/* ── Staff groups ── */
.groups-toolbar[b-xibolmr2p5] {
    position: relative;
}

.groups-list[b-xibolmr2p5] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.45rem;
    padding: 0.65rem 0.85rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 110;
    min-width: 210px;
}

.groups-list--with-color[b-xibolmr2p5] {
    grid-template-columns: auto auto auto;
}

.groups-item[b-xibolmr2p5] {
    display: contents;
}

.groups-color-wrapper[b-xibolmr2p5] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.groups-color-swatch[b-xibolmr2p5] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.groups-color-select[b-xibolmr2p5] {
    padding: 0.2rem 0.4rem;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    font-size: 0.78rem;
    background: var(--sx-surface);
    color: var(--sx-text);
}

.groups-item-name[b-xibolmr2p5] {
    font-size: 0.82rem;
    color: var(--sx-text);
    white-space: nowrap;
}

.groups-select[b-xibolmr2p5] {
    padding: 0.2rem 0.4rem;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    font-size: 0.8rem;
    background: var(--sx-surface);
    color: var(--sx-text);
}

.groups-actions[b-xibolmr2p5] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.3rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--sx-border);
    grid-column: 1 / -1;
}

.groups-apply-btn[b-xibolmr2p5],
.groups-reset-btn[b-xibolmr2p5] {
    flex: 1;
    padding: 0.35rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 5px;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.groups-apply-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-accent, #4a90e2);
    border-color: var(--sx-accent, #4a90e2);
    color: #fff;
}

.groups-reset-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
    color: var(--sx-accent, #4a90e2);
}

.groups-apply-btn:disabled[b-xibolmr2p5],
.groups-reset-btn:disabled[b-xibolmr2p5] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Toolbar vertical separator ── */
.toolbar-separator[b-xibolmr2p5] {
    display: inline-block;
    width: 1px;
    height: 22px;
    background: var(--sx-border);
    flex-shrink: 0;
    align-self: center;
    margin: 0 0.15rem;
}

/* ── Playback controls ── */
.playback-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid var(--sx-border);
    border-radius: 50%;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.playback-btn:hover:not(:disabled)[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
    color: var(--sx-accent, #4a90e2);
}

.playback-btn.playback-play:hover:not(:disabled)[b-xibolmr2p5] {
    border-color: #27ae60;
    color: #27ae60;
}

.playback-btn:disabled[b-xibolmr2p5] {
    opacity: 0.35;
    cursor: not-allowed;
}

.step-bar-btn[b-xibolmr2p5] {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

.loop-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 20px;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.loop-btn:hover[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: #e67e22;
    color: #e67e22;
}

.loop-btn.loop-on[b-xibolmr2p5] {
    border-color: #e67e22;
    background: #e67e22;
    color: #fff;
}

.loop-btn.loop-on:hover[b-xibolmr2p5] {
    opacity: 0.85;
    color: #fff;
}

.playback-btn.loop-marker-set[b-xibolmr2p5] {
    border-color: #e67e22;
    color: #e67e22;
}

.metronome-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 20px;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.metronome-btn:hover[b-xibolmr2p5] {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent, #4a90e2);
    color: var(--sx-accent, #4a90e2);
}

.metronome-btn.metronome-on[b-xibolmr2p5] {
    border-color: var(--sx-accent, #4a90e2);
    background: var(--sx-accent, #4a90e2);
    color: #fff;
}

.metronome-btn.metronome-on:hover[b-xibolmr2p5] {
    opacity: 0.85;
    color: #fff;
}

.playback-label[b-xibolmr2p5] {
    font-size: 0.8rem;
    color: var(--sx-text-muted);
    white-space: nowrap;
}

/* ── Unsupported type message ── */
.viewer-unsupported[b-xibolmr2p5] {
    padding: 2rem;
    text-align: center;
    color: var(--sx-text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* ── ChordPro sheet ── */
.chordpro-sheet[b-xibolmr2p5] {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 1.5rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 8px;
    overflow-x: auto;
}

.cp-title[b-xibolmr2p5] {
    margin: 0 0 0.15rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sx-text);
    font-family: inherit;
}

.cp-subtitle[b-xibolmr2p5] {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--sx-text-muted);
    font-family: inherit;
}

.cp-comment[b-xibolmr2p5] {
    margin: 1rem 0 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sx-accent, #4a90e2);
    font-family: inherit;
}

.cp-blank[b-xibolmr2p5] {
    height: 0.6rem;
}

.cp-line[b-xibolmr2p5] {
    display: flex;
    flex-wrap: wrap;
}

.cp-chorus[b-xibolmr2p5] {
    border-left: 3px solid var(--sx-accent, #4a90e2);
    padding-left: 0.75rem;
    margin-left: 0.25rem;
}

.cp-segment[b-xibolmr2p5] {
    display: inline-flex;
    flex-direction: column;
}

.cp-chord[b-xibolmr2p5] {
    font-weight: 700;
    color: #e06c75;
    min-height: 1.3em;
    line-height: 1.3;
    white-space: pre;
}

[b-xibolmr2p5] .sx-theme-light .cp-chord {
    color: #c7254e;
}

[b-xibolmr2p5] .sx-theme-dark .cp-chord {
    color: #e06c75;
}

.cp-lyric[b-xibolmr2p5] {
    line-height: 1.5;
    white-space: pre;
}

/* ── Audio / Video viewer ── */
.media-wrapper[b-xibolmr2p5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 8px;
}

.media-title[b-xibolmr2p5] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-text);
}

.media-audio[b-xibolmr2p5] {
    width: 100%;
    max-width: 600px;
}

.media-video[b-xibolmr2p5] {
    width: 100%;
    max-width: 900px;
    border-radius: 6px;
    background: #000;
}

/* ── PDF viewer ── */
.pdf-wrapper[b-xibolmr2p5] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pdf-canvas-container[b-xibolmr2p5] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: var(--sx-surface);
    border-radius: 6px;
    min-height: calc(100vh - 140px);
    user-select: none;
    -webkit-user-select: none;
}

.pdf-canvas-container canvas[b-xibolmr2p5] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.pdf-viewer[b-xibolmr2p5] {
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 140px);
    border: none;
    border-radius: 6px;
    background: var(--sx-surface);
}

/* ── Mixer sidebar (SidePanel-style flex layout) ── */
.viewer-score-flex[b-xibolmr2p5] {
    display: flex;
    align-items: flex-start;
}

.viewer-score-main[b-xibolmr2p5] {
    flex: 1;
    min-width: 0;
}

.mixer-sidebar-wrap[b-xibolmr2p5] {
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    align-self: flex-start;
}

.mixer-sidebar-panel[b-xibolmr2p5] {
    width: 0;
    margin-right: 0;
    overflow: hidden;
    transition: width 0.3s ease, margin-right 0.3s ease;
    background: var(--sx-surface);
    border-right: 1px solid var(--sx-border);
    height: 100%;
}

.mixer-sidebar-panel.open[b-xibolmr2p5] {
    width: 380px;
    margin-right: 1rem;
}

.mixer-sidebar-inner[b-xibolmr2p5] {
    width: 380px;
    height: 100%;
    overflow-y: auto;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mixer-btn[b-xibolmr2p5] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 20px;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

    .mixer-btn:hover[b-xibolmr2p5] {
        background: var(--sx-tab-hover);
        border-color: var(--sx-accent, #4a90e2);
        color: var(--sx-accent, #4a90e2);
    }

    .mixer-btn.mixer-btn-active[b-xibolmr2p5] {
        border-color: var(--sx-accent, #4a90e2);
        background: var(--sx-accent, #4a90e2);
        color: #fff;
    }

        .mixer-btn.mixer-btn-active:hover[b-xibolmr2p5] {
            opacity: 0.85;
            color: #fff;
        }

.mixer-panel-title[b-xibolmr2p5] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sx-text);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--sx-border);
    margin-bottom: 0.2rem;
}

/* All mixer rows (master + per-part) use the same 3-column grid:
   [label/name 90px] [slider fills] [buttons up to 90px] */
.mixer-master-row[b-xibolmr2p5],
.mixer-row[b-xibolmr2p5] {
    display: grid;
    grid-template-columns: 20% 55% 20%;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0;
}

.mixer-master-row[b-xibolmr2p5] {
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--sx-border);
    margin-bottom: 0.1rem;
}

.mixer-divider[b-xibolmr2p5] {
    height: 1px;
    background: var(--sx-border);
    margin: 0.15rem 0;
}

.mixer-row-name[b-xibolmr2p5] {
    font-size: 0.82rem;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mixer-volume-slider[b-xibolmr2p5] {
    width: 100%;
    min-width: 0;
    accent-color: var(--sx-accent, #4a90e2);
    cursor: pointer;
}

.mixer-label[b-xibolmr2p5] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
}

/* Mute buttons container: wraps M1/M2/… buttons inline */
.mixer-mute-group[b-xibolmr2p5] {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
}

.mixer-mute-btn[b-xibolmr2p5] {
    padding: 0.2rem 0.45rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 4px;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.73rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    min-width: 30px;
    text-align: center;
    white-space: nowrap;
}

.mixer-mute-btn:hover[b-xibolmr2p5] {
    border-color: #e74c3c;
    color: #e74c3c;
}

.mixer-mute-btn.muted[b-xibolmr2p5] {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* ── Viewer dropdown tab content ── */
[b-xibolmr2p5] .viewer-tab-content {
    padding: 0;
}

[b-xibolmr2p5] .vt-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

[b-xibolmr2p5] .vt-transpose,
[b-xibolmr2p5] .vt-loop,
[b-xibolmr2p5] .vt-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

[b-xibolmr2p5] .vt-separator {
    display: inline-block;
    width: 1px;
    height: 22px;
    background: var(--sx-border);
    flex-shrink: 0;
    align-self: center;
}

[b-xibolmr2p5] .vt-parts-grid {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

[b-xibolmr2p5] .vt-inline-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

[b-xibolmr2p5] .groups-list-inline {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.45rem;
    margin-bottom: 0.5rem;
}

[b-xibolmr2p5] .groups-list-inline.groups-list--with-color {
    grid-template-columns: auto auto auto;
}

[b-xibolmr2p5] .vt-empty {
    font-size: 0.85rem;
    color: var(--sx-text-muted);
    font-style: italic;
    margin: 0;
}

[b-xibolmr2p5] .vt-mixer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Full-page loading spinner ── */
.page-spinner-overlay[b-evv108kbnz] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-spinner[b-evv108kbnz] {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sx-spin-b-evv108kbnz 0.65s linear infinite;
}

@keyframes sx-spin-b-evv108kbnz {
    to { transform: rotate(360deg); }
}

/* ── Search input in Ricerca tab ── */
.home-search-wrap[b-evv108kbnz] {
    position: relative;
    width: 100%;
}

.home-search-input[b-evv108kbnz] {
    width: 100%;
    padding: 0.45rem 1.8rem 0.45rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.home-search-input:focus[b-evv108kbnz] {
    border-color: var(--sx-accent);
}

.home-search-input[b-evv108kbnz]::placeholder {
    color: var(--sx-text-muted);
}

.home-search-clear[b-evv108kbnz] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--sx-text-muted);
    color: var(--sx-bg);
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s, background 0.15s;
}

.home-search-clear:hover[b-evv108kbnz] {
    opacity: 1;
    background: var(--sx-accent);
}

.home-wrapper[b-evv108kbnz] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background: var(--sx-bg);
    color: var(--sx-text);
    transition: background 0.3s ease, color 0.3s ease;
    overflow: hidden;
}

.home-content[b-evv108kbnz] {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.status-text[b-evv108kbnz] {
    padding: 1.5rem 2rem;
    color: var(--sx-text-muted);
    font-size: 0.95rem;
}

.songs-table-wrap[b-evv108kbnz] {
    flex: 1;
    overflow: auto;
}

.songs-table[b-evv108kbnz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: var(--sx-text);
}

.songs-table thead[b-evv108kbnz] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--sx-surface);
}

.songs-table th[b-evv108kbnz] {
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sx-text);
    border-bottom: 2px solid var(--sx-border);
}

.songs-table td[b-evv108kbnz] {
    border-bottom: 1px solid var(--sx-border);
    color: var(--sx-text);
}

.songs-table tbody tr.song-row:hover[b-evv108kbnz] {
    background: var(--sx-tab-hover);
    cursor: pointer;
}

/* ── Action buttons (edit + add doc) ── */
.action-cell[b-evv108kbnz] {
    width: 64px;
    text-align: center;
}

.action-cell button[b-evv108kbnz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    background: transparent;
    color: var(--sx-text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    vertical-align: middle;
}

.action-cell button + button[b-evv108kbnz] {
    margin-left: 4px;
}

.action-cell button:hover[b-evv108kbnz] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
    border-color: var(--sx-accent, #4a90e2);
}

/* ── Expand button ── */
.expand-cell[b-evv108kbnz] {
    width: 32px;
    text-align: center;
}

.expand-btn[b-evv108kbnz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    background: transparent;
    color: var(--sx-text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.expand-btn:hover[b-evv108kbnz] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
    border-color: var(--sx-text-muted);
}

.expand-btn.expanded[b-evv108kbnz] {
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border-color: var(--sx-accent, #4a90e2);
}

.expand-icon[b-evv108kbnz] {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.expand-btn.expanded .expand-icon[b-evv108kbnz] {
    transform: rotate(90deg);
}

/* ── Documents sub-row ── */
.docs-row .docs-cell[b-evv108kbnz] {
    padding: 0;
    border-bottom: none;
}

.docs-panel[b-evv108kbnz] {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.docs-row--open .docs-panel[b-evv108kbnz] {
    max-height: 600px;
    opacity: 1;
}

.no-docs[b-evv108kbnz] {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: var(--sx-text-muted);
    font-style: italic;
}

.docs-table[b-evv108kbnz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    background: var(--sx-surface);
}

.docs-table th[b-evv108kbnz],
.docs-table td[b-evv108kbnz] {
    padding: 5px 12px;
    text-align: left;
    color: var(--sx-text);
}

.docs-table thead tr[b-evv108kbnz] {
    background: var(--sx-tab-hover);
}

.docs-table th[b-evv108kbnz] {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--sx-text-muted);
    border-bottom: 1px solid var(--sx-border);
}

.docs-table td[b-evv108kbnz] {
    border-bottom: 1px solid var(--sx-border);
}

.docs-table tbody tr:last-child td[b-evv108kbnz] {
    border-bottom: none;
}

/* ── Document action buttons (view + edit score) ── */
.col-doc-action[b-evv108kbnz] {
    width: 60px;
    text-align: center;
    white-space: nowrap;
}

.btn-view-doc[b-evv108kbnz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    background: transparent;
    color: var(--sx-text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-view-doc:hover[b-evv108kbnz] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
    border-color: var(--sx-accent, #4a90e2);
}

/* ── Edit / Delete document buttons ── */
.btn-edit-doc[b-evv108kbnz],
.btn-delete-doc[b-evv108kbnz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    background: transparent;
    color: var(--sx-text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    margin-left: 4px;
}

.btn-edit-doc:hover[b-evv108kbnz] {
    background: var(--sx-tab-hover);
    color: var(--sx-accent, #4a90e2);
    border-color: var(--sx-accent, #4a90e2);
}

.btn-edit-doc.active[b-evv108kbnz] {
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border-color: var(--sx-accent, #4a90e2);
}

.btn-delete-doc:hover[b-evv108kbnz] {
    background: rgba(217, 83, 79, 0.1);
    color: #d9534f;
    border-color: #d9534f;
}

/* ── Widen the action column to fit up to 4 buttons ── */
.col-doc-action[b-evv108kbnz] {
    width: 108px;
    text-align: center;
    white-space: nowrap;
}

/* ── Confirm delete dialog ── */
.confirm-overlay[b-evv108kbnz] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-dialog[b-evv108kbnz] {
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.confirm-msg[b-evv108kbnz] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sx-text);
    margin: 0;
}

.confirm-doc-name[b-evv108kbnz] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sx-accent);
    margin: 0;
    word-break: break-word;
}

.confirm-sub[b-evv108kbnz] {
    font-size: 0.8rem;
    color: var(--sx-text-muted);
    margin: 0 0 0.5rem;
}

.confirm-actions[b-evv108kbnz] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.btn-confirm-delete[b-evv108kbnz] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #d9534f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-confirm-delete:disabled[b-evv108kbnz] { opacity: 0.6; cursor: not-allowed; }
.btn-confirm-delete:not(:disabled):hover[b-evv108kbnz] { opacity: 0.88; }

.btn-confirm-cancel[b-evv108kbnz] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-confirm-cancel:disabled[b-evv108kbnz] { opacity: 0.5; cursor: not-allowed; }
.btn-confirm-cancel:not(:disabled):hover[b-evv108kbnz] { background: var(--sx-tab-hover); }
/* /Components/Shared/AboutDialog.razor.rz.scp.css */
/* ── Overlay ── */
.about-overlay[b-ca45b433gk] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.3s ease;
}

.about-overlay.open[b-ca45b433gk] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

/* ── Dialog ── */
.about-dialog[b-ca45b433gk] {
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    width: 420px;
    max-width: 90vw;
    pointer-events: none;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.about-overlay.open .about-dialog[b-ca45b433gk] {
    pointer-events: all;
    transform: scale(1);
    opacity: 1;
}

/* ── Header ── */
.about-header[b-ca45b433gk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    gap: 0.5rem;
}

.about-title[b-ca45b433gk] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

.about-close-btn[b-ca45b433gk] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.about-close-btn:hover[b-ca45b433gk] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Body ── */
.about-body[b-ca45b433gk] {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.about-logo[b-ca45b433gk] {
    margin-bottom: 0.5rem;
}

.about-logo img[b-ca45b433gk] {
    width: 72px;
    height: 72px;
}

.about-app-name[b-ca45b433gk] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sx-text);
}

.about-org[b-ca45b433gk] {
    font-size: 0.85rem;
    color: var(--sx-text-muted);
}

.about-version[b-ca45b433gk] {
    font-size: 0.8rem;
    color: var(--sx-text-muted);
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--sx-bg);
    border-radius: 12px;
    border: 1px solid var(--sx-border);
}

/* ── Credits ── */
.about-credits[b-ca45b433gk] {
    width: 100%;
    max-height: 160px;
    overflow-y: auto;
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--sx-bg);
    border: 1px solid var(--sx-border);
    border-radius: 8px;
    text-align: left;
}

.about-credits-text[b-ca45b433gk] {
    margin: 0;
    font-family: inherit;
    font-size: 0.78rem;
    color: var(--sx-text-muted);
    white-space: pre-wrap;
    word-wrap: break-word;
}
/* /Components/Shared/DocumentEditPanel.razor.rz.scp.css */
/* ── Overlay ── */
.dep-overlay[b-jmfky6bv68] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.dep-overlay.open[b-jmfky6bv68] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

/* ── Panel ── */
.dep-panel[b-jmfky6bv68] {
    position: relative;
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.dep-overlay.open .dep-panel[b-jmfky6bv68] {
    transform: translateX(0);
}

/* ── Header ── */
.dep-header[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.dep-title[b-jmfky6bv68] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.dep-close-btn[b-jmfky6bv68] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.dep-close-btn:hover[b-jmfky6bv68] { background: var(--sx-tab-hover); color: var(--sx-text); }

/* ── Body ── */
.dep-body[b-jmfky6bv68] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.dep-form[b-jmfky6bv68] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Form rows ── */
.dep-row[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dep-row--stacked[b-jmfky6bv68] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.dep-label[b-jmfky6bv68] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 80px;
    flex-shrink: 0;
}

.dep-row--stacked .dep-label[b-jmfky6bv68] { width: auto; }

.dep-input[b-jmfky6bv68] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    transition: border-color 0.15s;
}

.dep-input:focus[b-jmfky6bv68] { outline: none; border-color: var(--sx-accent); }

.dep-input--short[b-jmfky6bv68] { flex: 0 0 100px; }

/* ── Toggle ── */
.dep-toggle[b-jmfky6bv68] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    cursor: pointer;
}

.dep-toggle input[b-jmfky6bv68] { opacity: 0; width: 0; height: 0; }

.dep-slider[b-jmfky6bv68] {
    position: absolute;
    inset: 0;
    background: var(--sx-border);
    border-radius: 20px;
    transition: background 0.2s;
}

.dep-slider[b-jmfky6bv68]::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.dep-toggle input:checked + .dep-slider[b-jmfky6bv68] { background: var(--sx-accent); }
.dep-toggle input:checked + .dep-slider[b-jmfky6bv68]::before { transform: translateX(16px); }

/* ── Album search ── */
.dep-album-wrap[b-jmfky6bv68] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dep-album-filters[b-jmfky6bv68] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.dep-input--album[b-jmfky6bv68] { flex: 1; min-width: 120px; }

.dep-input--filter[b-jmfky6bv68] {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 120px;
    font-size: 0.8rem;
    padding: 0.35rem 0.4rem;
}

.dep-album-search-btn[b-jmfky6bv68] {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--sx-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.dep-album-search-btn:hover[b-jmfky6bv68] { background: var(--sx-tab-hover); border-color: var(--sx-accent); }

.dep-album-selected[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    background: var(--sx-tab-hover);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--sx-text);
}

.dep-album-selected-text[b-jmfky6bv68] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dep-album-clear-btn[b-jmfky6bv68] {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.dep-album-clear-btn:hover[b-jmfky6bv68] { background: var(--sx-border); color: var(--sx-text); }

.dep-album-results[b-jmfky6bv68] {
    display: flex;
    flex-direction: column;
    max-height: 160px;
    overflow-y: auto;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
}

.dep-album-result-item[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border: none;
    background: transparent;
    color: var(--sx-text);
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
}

.dep-album-result-item:hover[b-jmfky6bv68] { background: var(--sx-tab-hover); }
.dep-album-result-title[b-jmfky6bv68] { font-weight: 600; }
.dep-album-result-detail[b-jmfky6bv68] { color: var(--sx-text-muted); font-size: 0.78rem; }

/* ── Current file ── */
.dep-current-file[b-jmfky6bv68] {
    font-size: 0.82rem;
    color: var(--sx-text-muted);
    font-style: italic;
    word-break: break-all;
}

/* ── File upload ── */
.dep-file-wrap[b-jmfky6bv68] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dep-file-input[b-jmfky6bv68] {
    font-size: 0.82rem;
    color: var(--sx-text);
}

.dep-file-input[b-jmfky6bv68]::file-selector-button {
    padding: 0.35rem 0.7rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-surface);
    color: var(--sx-text);
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: background 0.15s, border-color 0.15s;
}

.dep-file-input[b-jmfky6bv68]::file-selector-button:hover {
    background: var(--sx-tab-hover);
    border-color: var(--sx-accent);
}

.dep-file-info[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--sx-text);
    flex-wrap: wrap;
}

.dep-file-name[b-jmfky6bv68] { font-weight: 600; word-break: break-all; }
.dep-file-size[b-jmfky6bv68] { color: var(--sx-text-muted); }

.dep-file-type-badge[b-jmfky6bv68] {
    padding: 0.15rem 0.45rem;
    background: var(--sx-accent);
    color: #fff;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.dep-file-error[b-jmfky6bv68] { color: #d9534f; font-size: 0.8rem; font-weight: 500; }

/* ── Footer ── */
.dep-footer[b-jmfky6bv68] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.dep-btn-save[b-jmfky6bv68] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.dep-btn-save:disabled[b-jmfky6bv68] { opacity: 0.6; cursor: not-allowed; }
.dep-btn-save:not(:disabled):hover[b-jmfky6bv68] { opacity: 0.88; }

.dep-btn-cancel[b-jmfky6bv68] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.dep-btn-cancel:disabled[b-jmfky6bv68] { opacity: 0.5; cursor: not-allowed; }
.dep-btn-cancel:not(:disabled):hover[b-jmfky6bv68] { background: var(--sx-tab-hover); }

/* ── Spinner ── */
.dep-spinner[b-jmfky6bv68] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dep-spin-b-jmfky6bv68 0.65s linear infinite;
}

@keyframes dep-spin-b-jmfky6bv68 { to { transform: rotate(360deg); } }

/* ── Tabs ── */
.dep-tabs[b-jmfky6bv68] {
    display: flex;
    border-bottom: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.dep-tab[b-jmfky6bv68] {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    border-bottom: 2px solid transparent;
}

.dep-tab:hover[b-jmfky6bv68] { color: var(--sx-text); }

.dep-tab.active[b-jmfky6bv68] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

/* ── Section divider (centered text with lines) ── */
.dep-section-divider[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.75rem 0;
    color: var(--sx-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dep-section-divider[b-jmfky6bv68]::before,
.dep-section-divider[b-jmfky6bv68]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sx-border);
}

/* ── XML loading ── */
.dep-xml-loading[b-jmfky6bv68] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ── Note ── */
.dep-note[b-jmfky6bv68] {
    font-size: 0.82rem;
    color: var(--sx-text-muted);
    font-style: italic;
    margin: 0.5rem 0;
}

/* ── Create album dialog ── */
.dep-create-album-overlay[b-jmfky6bv68] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1rem;
}

.dep-create-album-dialog[b-jmfky6bv68] {
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 10px;
    padding: 1.25rem;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dep-dialog-msg[b-jmfky6bv68] {
    font-size: 0.85rem;
    color: var(--sx-text);
    margin: 0;
    line-height: 1.55;
}

.dep-dialog-body[b-jmfky6bv68] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dep-dialog-footer[b-jmfky6bv68] {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.dep-required[b-jmfky6bv68] {
    color: #d9534f;
}

.dep-btn-dialog-confirm[b-jmfky6bv68] {
    flex: 1;
    padding: 0.5rem;
    background: var(--sx-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: opacity 0.15s;
}

.dep-btn-dialog-confirm:disabled[b-jmfky6bv68] { opacity: 0.6; cursor: not-allowed; }
.dep-btn-dialog-confirm:not(:disabled):hover[b-jmfky6bv68] { opacity: 0.88; }

.dep-btn-dialog-cancel[b-jmfky6bv68] {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.dep-btn-dialog-cancel:disabled[b-jmfky6bv68] { opacity: 0.5; cursor: not-allowed; }
.dep-btn-dialog-cancel:not(:disabled):hover[b-jmfky6bv68] { background: var(--sx-tab-hover); }

.dep-spinner--dark[b-jmfky6bv68] {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}
/* /Components/Shared/DropdownTabs.razor.rz.scp.css */
/* ── Tab bar (sticky) ── */
.dropdown-tabs-wrapper[b-q5016m9276] {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.dropdown-tabs-bar[b-q5016m9276] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
    position: sticky;
    top: 0;
    z-index: 12;
}

.dropdown-tabs-center[b-q5016m9276] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.dropdown-tabs-right[b-q5016m9276] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    padding-right: 0.5rem;
}

.dropdown-tab-btn[b-q5016m9276] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sx-text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
    user-select: none;
}

.dropdown-tab-btn:hover[b-q5016m9276] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.dropdown-tab-btn.active[b-q5016m9276] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

.dropdown-tab-chevron[b-q5016m9276] {
    display: inline-block;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    line-height: 1;
}

.dropdown-tab-chevron.open[b-q5016m9276] {
    transform: rotate(180deg);
}

/* ── Panel (overlay mode — floats over content) ── */
.dropdown-tabs-panel.overlay[b-q5016m9276] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 11;
    background: var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: dd-slide-down-b-q5016m9276 0.2s ease;
}

/* ── Height-animating wrapper (push mode only) ── */
.dtp-height-wrap[b-q5016m9276] {
    display: grid;
    grid-template-rows: 1fr;
    animation: dd-height-expand-b-q5016m9276 0.22s ease;
}

.dtp-height-wrap.closing[b-q5016m9276] {
    animation: dd-height-collapse-b-q5016m9276 0.22s ease forwards;
}

.dtp-height-inner[b-q5016m9276] {
    min-height: 0;
    overflow: hidden;
}

@keyframes dd-height-expand-b-q5016m9276 {
    from { grid-template-rows: 0fr; }
    to   { grid-template-rows: 1fr; }
}

@keyframes dd-height-collapse-b-q5016m9276 {
    from { grid-template-rows: 1fr; }
    to   { grid-template-rows: 0fr; }
}

/* ── Panel (push mode — pushes content down) ── */
.dropdown-tabs-panel.push[b-q5016m9276] {
    background: var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
    animation: dd-slide-down-b-q5016m9276 0.22s ease;
}

.dropdown-tabs-panel-inner[b-q5016m9276] {
    padding: 1rem;
    max-height: 50vh;
    overflow-y: auto;
}

@keyframes dd-slide-down-b-q5016m9276 {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes dd-slide-up-b-q5016m9276 {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

.dropdown-tabs-panel.closing[b-q5016m9276] {
    animation: dd-slide-up-b-q5016m9276 0.2s ease forwards;
    pointer-events: none;
}

/* ── Shared styles for tab panel content ── */

[b-q5016m9276] .tab-pane {
    padding: 0;
}

[b-q5016m9276] .filter-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

[b-q5016m9276] .filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-q5016m9276] .filter-select {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s;
}

[b-q5016m9276] .filter-select:focus {
    outline: none;
    border-color: var(--sx-accent);
}

[b-q5016m9276] .filter-row--check {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-top: -0.25rem;
}

[b-q5016m9276] .filter-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
}

[b-q5016m9276] .filter-check-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--sx-accent);
    cursor: pointer;
    flex-shrink: 0;
}

[b-q5016m9276] .setting-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

[b-q5016m9276] .setting-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-q5016m9276] .theme-picker {
    display: flex;
    gap: 0.5rem;
}

[b-q5016m9276] .theme-btn {
    flex: 1;
    padding: 0.5rem 0.25rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: none;
    color: var(--sx-text);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

[b-q5016m9276] .theme-btn:hover {
    background: var(--sx-tab-hover);
}

[b-q5016m9276] .theme-btn.active {
    background: var(--sx-tab-active-bg);
    color: var(--sx-tab-active-text);
    border-color: var(--sx-tab-active-bg);
}

[b-q5016m9276] .num-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-q5016m9276] .num-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: none;
    color: var(--sx-text);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

[b-q5016m9276] .num-btn:hover {
    background: var(--sx-tab-hover);
}

[b-q5016m9276] .num-value {
    min-width: 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

[b-q5016m9276] .setting-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.75rem 0;
    color: var(--sx-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-q5016m9276] .setting-divider::before,
[b-q5016m9276] .setting-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sx-border);
}

[b-q5016m9276] .setting-row--check {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-top: -0.25rem;
}

[b-q5016m9276] .setting-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
}

[b-q5016m9276] .setting-check-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--sx-accent);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── "Nuovo Brano" button ── */
.dropdown-tab-new-btn[b-q5016m9276] {
    display: flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    background: var(--sx-accent);
    color: var(--sx-tab-active-text, #fff);
    border: none;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.4;
    transition: opacity 0.15s;
}

.dropdown-tab-new-btn:hover[b-q5016m9276] {
    opacity: 0.85;
}

/* ── Right drawer overlay ── */
.dt-drawer-overlay[b-q5016m9276] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 100;
    pointer-events: none;
    transition: background 0.3s ease;
}

.dt-drawer-overlay.open[b-q5016m9276] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.dt-drawer-panel[b-q5016m9276] {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 340px;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    pointer-events: all;
}

.dt-drawer-overlay.open .dt-drawer-panel[b-q5016m9276] {
    transform: translateX(0);
}
/* /Components/Shared/GestionePanel.razor.rz.scp.css */
.gestione-pane[b-25wyuwjm2p] {
    padding: 0;
}

.gestione-shared-notice[b-25wyuwjm2p] {
    margin: 0.75rem 1rem 0;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    color: #78350f;
    font-size: 0.8rem;
}

.gestione-section[b-25wyuwjm2p] {
    border-bottom: 1px solid var(--sx-border);
}

.gestione-section:last-child[b-25wyuwjm2p] {
    border-bottom: none;
}

.gestione-section-header[b-25wyuwjm2p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sx-text);
    transition: background 0.15s;
    user-select: none;
}

.gestione-section-header:hover[b-25wyuwjm2p] {
    background: var(--sx-tab-hover);
}

.gestione-section-header.disabled[b-25wyuwjm2p] {
    color: var(--sx-text-muted);
    cursor: not-allowed;
}

.gestione-chevron[b-25wyuwjm2p] {
    font-size: 1rem;
    color: var(--sx-text-muted);
    transition: transform 0.2s;
    display: inline-block;
}

.gestione-chevron.open[b-25wyuwjm2p] {
    transform: rotate(90deg);
}

.gestione-form[b-25wyuwjm2p] {
    padding: 0.75rem 1rem 1rem;
    background: var(--sx-bg);
}

.gform-row[b-25wyuwjm2p] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.gform-row--stacked[b-25wyuwjm2p] {
    flex-direction: column;
}

.gform-label[b-25wyuwjm2p] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.gform-input[b-25wyuwjm2p],
.gform-select[b-25wyuwjm2p] {
    width: 100%;
    padding: 0.4rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-surface);
    color: var(--sx-text);
    font-size: 0.85rem;
    transition: border-color 0.15s;
}

.gform-input:focus[b-25wyuwjm2p],
.gform-select:focus[b-25wyuwjm2p] {
    outline: none;
    border-color: var(--sx-accent);
}

.gform-input--short[b-25wyuwjm2p] {
    width: 90px;
}

.gform-textarea[b-25wyuwjm2p] {
    width: 100%;
    padding: 0.4rem 0.55rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-surface);
    color: var(--sx-text);
    font-size: 0.85rem;
    resize: vertical;
    min-height: 64px;
    transition: border-color 0.15s;
}

.gform-textarea:focus[b-25wyuwjm2p] {
    outline: none;
    border-color: var(--sx-accent);
}

.gform-actions[b-25wyuwjm2p] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.btn-gform-save[b-25wyuwjm2p] {
    padding: 0.4rem 1.1rem;
    background: var(--sx-accent);
    color: var(--sx-tab-active-text, #fff);
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-gform-save:hover:not(:disabled)[b-25wyuwjm2p] {
    opacity: 0.85;
}

.btn-gform-save:disabled[b-25wyuwjm2p] {
    opacity: 0.6;
    cursor: not-allowed;
}

.songtype-list[b-25wyuwjm2p] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 260px;
    overflow-y: auto;
}

.songtype-item[b-25wyuwjm2p] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.83rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
}

.songtype-item input[type="checkbox"][b-25wyuwjm2p] {
    width: 14px;
    height: 14px;
    accent-color: var(--sx-accent);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Dual Listbox ─────────────────────────────────────── */

.dual-listbox[b-25wyuwjm2p] {
    display: flex;
    align-items: stretch;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.dual-listbox-col[b-25wyuwjm2p] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.dual-listbox-title[b-25wyuwjm2p] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dual-listbox-select[b-25wyuwjm2p] {
    width: 100%;
    flex: 1;
    min-height: 120px;
    padding: 0.2rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-surface);
    color: var(--sx-text);
    font-size: 0.82rem;
    overflow-y: auto;
}

.dual-listbox-select:focus[b-25wyuwjm2p] {
    outline: none;
    border-color: var(--sx-accent);
}

.dual-listbox-select option[b-25wyuwjm2p] {
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.dual-listbox-select option:checked[b-25wyuwjm2p] {
    background: var(--sx-accent);
    color: #fff;
}

/* ── Read-only sharing view ── */
.dual-listbox-readonly[b-25wyuwjm2p] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.3rem 0;
}

.shared-profile-badge[b-25wyuwjm2p] {
    padding: 0.2rem 0.5rem;
    background: var(--sx-tab-hover);
    border: 1px solid var(--sx-border);
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--sx-text);
}

.dual-listbox-buttons[b-25wyuwjm2p] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 0 0.1rem;
}

.dual-btn[b-25wyuwjm2p] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--sx-border);
    border-radius: 5px;
    background: var(--sx-surface);
    color: var(--sx-text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
    padding: 0;
}

.dual-btn:hover:not(:disabled)[b-25wyuwjm2p] {
    background: var(--sx-accent);
    border-color: var(--sx-accent);
    color: #fff;
}

.dual-btn:disabled[b-25wyuwjm2p] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Components/Shared/ProfilePanel.razor.rz.scp.css */
/* ── Overlay ── */
.profile-overlay[b-42jwuehven] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.profile-overlay.open[b-42jwuehven] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

/* ── Panel ── */
.profile-panel[b-42jwuehven] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.profile-overlay.open .profile-panel[b-42jwuehven] {
    pointer-events: all;
    transform: translateX(0);
}

/* ── Header ── */
.profile-header[b-42jwuehven] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.profile-title[b-42jwuehven] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.profile-close-btn[b-42jwuehven] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.profile-close-btn:hover[b-42jwuehven] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Tabs ── */
.profile-tabs[b-42jwuehven] {
    display: flex;
    border-bottom: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.profile-tab-btn[b-42jwuehven] {
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sx-text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.profile-tab-btn:hover[b-42jwuehven] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.profile-tab-btn.active[b-42jwuehven] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

/* ── Body ── */
.profile-body[b-42jwuehven] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* ── Form ── */
.profile-form[b-42jwuehven] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row[b-42jwuehven] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-row--stacked[b-42jwuehven] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-label[b-42jwuehven] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 80px;
    flex-shrink: 0;
}

.form-row--stacked .form-label[b-42jwuehven] {
    width: auto;
}

.form-input[b-42jwuehven] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.form-input:focus[b-42jwuehven] {
    outline: none;
    border-color: var(--sx-accent);
}

.form-input:disabled[b-42jwuehven] {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-row--stacked .form-input[b-42jwuehven] {
    width: 100%;
}

/* ── Footer ── */
.profile-footer[b-42jwuehven] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.btn-save[b-42jwuehven] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-42jwuehven] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-42jwuehven] {
    opacity: 0.88;
}

.btn-cancel[b-42jwuehven] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-42jwuehven] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-42jwuehven] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-42jwuehven] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: profile-spin-b-42jwuehven 0.65s linear infinite;
}

@keyframes profile-spin-b-42jwuehven {
    to { transform: rotate(360deg); }
}
/* /Components/Shared/SidePanel.razor.rz.scp.css */
.sidebar-wrap[b-lsat2hot3y] {
    display: flex;
    flex-shrink: 0;
    height: 100%;
}

.sidebar-panel[b-lsat2hot3y] {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    background: var(--sx-surface);
    border-right: 1px solid var(--sx-border);
}

.sidebar-panel.open[b-lsat2hot3y] {
    width: 320px;
}

.sidebar-inner[b-lsat2hot3y] {
    width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-toggle[b-lsat2hot3y] {
    width: 36px;
    flex-shrink: 0;
    background: var(--sx-surface);
    border: none;
    border-right: 1px solid var(--sx-border);
    cursor: pointer;
    color: var(--sx-text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
    transition: background 0.15s, color 0.15s;
}

.sidebar-toggle:hover[b-lsat2hot3y] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.sidebar-tabs[b-lsat2hot3y] {
    display: flex;
    border-bottom: 1px solid var(--sx-border);
    flex-shrink: 0;
}

.tab-btn[b-lsat2hot3y] {
    flex: 1;
    padding: 0.7rem 0.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sx-text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.tab-btn:hover[b-lsat2hot3y] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.tab-btn.active[b-lsat2hot3y] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

.sidebar-body[b-lsat2hot3y] {
    flex: 1;
    overflow-y: auto;
}

.tab-pane[b-lsat2hot3y] {
    padding: 1rem;
}

.placeholder-text[b-lsat2hot3y] {
    color: var(--sx-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.filter-row[b-lsat2hot3y] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.filter-label[b-lsat2hot3y] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select[b-lsat2hot3y] {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s;
}

.filter-select:focus[b-lsat2hot3y] {
    outline: none;
    border-color: var(--sx-accent);
}

.filter-row--check[b-lsat2hot3y] {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-top: -0.25rem;
}

.filter-check-label[b-lsat2hot3y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
}

.filter-check-label input[type="checkbox"][b-lsat2hot3y] {
    width: 15px;
    height: 15px;
    accent-color: var(--sx-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.setting-row[b-lsat2hot3y] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.setting-label[b-lsat2hot3y] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-picker[b-lsat2hot3y] {
    display: flex;
    gap: 0.5rem;
}

.theme-btn[b-lsat2hot3y] {
    flex: 1;
    padding: 0.5rem 0.25rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: none;
    color: var(--sx-text);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

.theme-btn:hover[b-lsat2hot3y] {
    background: var(--sx-tab-hover);
}

.theme-btn.active[b-lsat2hot3y] {
    background: var(--sx-tab-active-bg);
    color: var(--sx-tab-active-text);
    border-color: var(--sx-tab-active-bg);
}

.num-input[b-lsat2hot3y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.num-btn[b-lsat2hot3y] {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: none;
    color: var(--sx-text);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.num-btn:hover[b-lsat2hot3y] {
    background: var(--sx-tab-hover);
}

.num-value[b-lsat2hot3y] {
    min-width: 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
}

.setting-divider[b-lsat2hot3y] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.75rem 0;
    color: var(--sx-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setting-divider[b-lsat2hot3y]::before,
.setting-divider[b-lsat2hot3y]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sx-border);
}

.setting-row--check[b-lsat2hot3y] {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-top: -0.25rem;
}

.setting-check-label[b-lsat2hot3y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
}

.setting-check-label input[type="checkbox"][b-lsat2hot3y] {
    width: 15px;
    height: 15px;
    accent-color: var(--sx-accent);
    cursor: pointer;
    flex-shrink: 0;
}
/* /Components/Shared/SongEditPanel.razor.rz.scp.css */
/* ── Overlay ── */
.edit-overlay[b-13kgrlb2mv] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    transition: background 0.3s ease;
}

.edit-overlay.open[b-13kgrlb2mv] {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

/* ── Panel ── */
.edit-panel[b-13kgrlb2mv] {
    width: 380px;
    height: 100%;
    background: var(--sx-surface);
    border-left: 1px solid var(--sx-border);
    display: flex;
    flex-direction: column;
    pointer-events: all;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.edit-overlay.open .edit-panel[b-13kgrlb2mv] {
    transform: translateX(0);
}

/* ── Header ── */
.edit-header[b-13kgrlb2mv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sx-border);
    background: var(--sx-surface);
    flex-shrink: 0;
    gap: 0.5rem;
}

.edit-song-name[b-13kgrlb2mv] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.edit-close-btn[b-13kgrlb2mv] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--sx-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.edit-close-btn:hover[b-13kgrlb2mv] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

/* ── Tabs ── */
.edit-tabs[b-13kgrlb2mv] {
    display: flex;
    border-bottom: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.edit-tab-btn[b-13kgrlb2mv] {
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sx-text-muted);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.edit-tab-btn:hover[b-13kgrlb2mv] {
    background: var(--sx-tab-hover);
    color: var(--sx-text);
}

.edit-tab-btn.active[b-13kgrlb2mv] {
    color: var(--sx-accent);
    border-bottom-color: var(--sx-accent);
}

/* ── Body ── */
.edit-body[b-13kgrlb2mv] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* ── Form ── */
.edit-form[b-13kgrlb2mv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row[b-13kgrlb2mv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-row--stacked[b-13kgrlb2mv] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-label[b-13kgrlb2mv] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 80px;
    flex-shrink: 0;
}

.form-row--stacked .form-label[b-13kgrlb2mv] {
    width: auto;
}

.form-input[b-13kgrlb2mv] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    background: var(--sx-bg);
    color: var(--sx-text);
    font-size: 0.85rem;
    transition: border-color 0.15s;
}

.form-input:focus[b-13kgrlb2mv] {
    outline: none;
    border-color: var(--sx-accent);
}

.form-input--short[b-13kgrlb2mv] {
    flex: 0 0 100px;
}

/* ── SongType checkboxes ── */
.songtype-list[b-13kgrlb2mv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.5rem;
    width: 100%;
}

.songtype-item[b-13kgrlb2mv] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    color: var(--sx-text);
    cursor: pointer;
    user-select: none;
    padding: 0.2rem 0.3rem;
    border-radius: 4px;
    transition: background 0.1s;
}

.songtype-item:hover[b-13kgrlb2mv] {
    background: var(--sx-tab-hover);
}

.songtype-item input[type="checkbox"][b-13kgrlb2mv] {
    accent-color: var(--sx-accent);
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Footer ── */
.edit-footer[b-13kgrlb2mv] {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--sx-border);
    flex-shrink: 0;
    background: var(--sx-surface);
}

.btn-save[b-13kgrlb2mv] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--sx-accent, #4a90e2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.15s;
}

.btn-save:disabled[b-13kgrlb2mv] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save:not(:disabled):hover[b-13kgrlb2mv] {
    opacity: 0.88;
}

.btn-cancel[b-13kgrlb2mv] {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--sx-text);
    border: 1.5px solid var(--sx-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cancel:disabled[b-13kgrlb2mv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel:not(:disabled):hover[b-13kgrlb2mv] {
    background: var(--sx-tab-hover);
}

/* ── Save spinner ── */
.btn-spinner[b-13kgrlb2mv] {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ep-spin-b-13kgrlb2mv 0.65s linear infinite;
}

@keyframes ep-spin-b-13kgrlb2mv {
    to { transform: rotate(360deg); }
}
/* /Components/Shared/ToastContainer.razor.rz.scp.css */
/* Stack di toast in basso a destra */
.toast-item[b-wgp4z512c8] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 240px;
    max-width: 360px;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: all;
    z-index: 9999;
}

/* Quando i toast si impilano, scorrono verso l'alto */
.toast-item:nth-last-child(2)[b-wgp4z512c8] { bottom: calc(1.5rem + 60px); }
.toast-item:nth-last-child(3)[b-wgp4z512c8] { bottom: calc(1.5rem + 120px); }
.toast-item:nth-last-child(4)[b-wgp4z512c8] { bottom: calc(1.5rem + 180px); }

.toast-visible[b-wgp4z512c8] {
    opacity: 1;
    transform: translateY(0);
}

.toast-hiding[b-wgp4z512c8] {
    opacity: 0;
    transform: translateY(-8px);
}

/* Varianti colore */
.toast-success[b-wgp4z512c8] {
    background: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    color: #065f46;
}

.toast-error[b-wgp4z512c8] {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
}

.toast-warning[b-wgp4z512c8] {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    color: #78350f;
}

.toast-icon[b-wgp4z512c8] {
    font-size: 1rem;
    flex-shrink: 0;
    font-weight: 700;
}

.toast-text[b-wgp4z512c8] {
    flex: 1;
}

.toast-close[b-wgp4z512c8] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.5;
    padding: 0 0.15rem;
    line-height: 1;
    color: inherit;
    flex-shrink: 0;
}

.toast-close:hover[b-wgp4z512c8] {
    opacity: 1;
}
