/* /Components/ThemeToggle.razor.rz.scp.css */
.theme-toggle-group[b-cvfhc8x1bx] {
    display: inline-flex;
    background-color: var(--bg-tertiary);
    border-radius: 9999px;
    padding: 4px;
    gap: 2px;
}

.theme-toggle-btn[b-cvfhc8x1bx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 9999px;
    background-color: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.theme-toggle-btn:hover[b-cvfhc8x1bx] {
    color: var(--text-primary);
    background-color: var(--bg-hover);
}

.theme-toggle-btn.active[b-cvfhc8x1bx] {
    background-color: var(--bg-primary);
    color: var(--brand-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:focus-visible[b-cvfhc8x1bx] {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Dark mode adjustments */
[data-theme="dark"] .theme-toggle-group[b-cvfhc8x1bx],
[data-bs-theme="dark"] .theme-toggle-group[b-cvfhc8x1bx] {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .theme-toggle-btn.active[b-cvfhc8x1bx],
[data-bs-theme="dark"] .theme-toggle-btn.active[b-cvfhc8x1bx] {
    background-color: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Safe area for notched devices */
@media (max-width: 575.98px) {
    .theme-toggle[b-cvfhc8x1bx] {
        margin-right: env(safe-area-inset-right);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-8i15a1r69s] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8i15a1r69s] {
    flex: 1;
}

.sidebar[b-8i15a1r69s] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    z-index: 1000;
    position: relative;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-version[b-8i15a1r69s] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    text-align: center;
    margin-top: auto;
}

.sidebar-version a[b-8i15a1r69s] {
    color: inherit;
    text-decoration: none;
}

.sidebar-version a:hover[b-8i15a1r69s] {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.collapse-toggle[b-8i15a1r69s] {
    display: none;
}

.top-row[b-8i15a1r69s] {
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

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

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

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

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

    /* Enable vertical scrolling on mobile */
    main[b-8i15a1r69s] {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    main > article[b-8i15a1r69s] {
        overflow: visible;
        padding-bottom: 2rem;
    }
}

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

    .sidebar[b-8i15a1r69s] {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
        overscroll-behavior: none;
    }

    .page.sidebar-collapsed .sidebar[b-8i15a1r69s] {
        width: 60px;
    }

    .collapse-toggle[b-8i15a1r69s] {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.75rem;
        right: -14px;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        background-color: rgb(5, 39, 103);
        cursor: pointer;
        transition: background-color 0.2s ease, border-color 0.2s ease;
        z-index: 1001;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .collapse-toggle:hover[b-8i15a1r69s] {
        background-color: rgb(20, 60, 130);
        border-color: rgba(255, 255, 255, 0.9);
    }

    .collapse-icon[b-8i15a1r69s] {
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
    }

    .collapse-icon.collapsed[b-8i15a1r69s] {
        transform: rotate(180deg);
    }

    main[b-8i15a1r69s] {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    main > article[b-8i15a1r69s] {
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

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

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

    .top-row[b-8i15a1r69s], article[b-8i15a1r69s] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-cyeh9cxo81] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-cyeh9cxo81] {
    height: 3.5rem;
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    padding-top: 0;
    padding-bottom: 0;
}

.top-row.collapsed-header[b-cyeh9cxo81] {
    justify-content: center;
}

.top-row.collapsed-header .container-fluid[b-cyeh9cxo81] {
    justify-content: center;
    padding: 0;
}

.navbar-brand[b-cyeh9cxo81] {
    font-size: 1.1rem;
}

.bi[b-cyeh9cxo81] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
}

.bi-search-nav-menu[b-cyeh9cxo81] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-cyeh9cxo81] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-music-note-beamed-nav-menu[b-cyeh9cxo81] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-music-note-beamed' viewBox='0 0 16 16'%3E%3Cpath d='M6 13c0 1.105-1.12 2-2.5 2S1 14.105 1 13c0-1.104 1.12-2 2.5-2s2.5.896 2.5 2zm9-2c0 1.105-1.12 2-2.5 2s-2.5-.895-2.5-2 1.12-2 2.5-2 2.5.895 2.5 2z'/%3E%3Cpath fill-rule='evenodd' d='M14 11V2h1v9h-1zM6 3v10H5V3h1z'/%3E%3Cpath d='M5 2.905a1 1 0 0 1 .9-.995l8-.8a1 1 0 0 1 1.1.995V3L5 4V2.905z'/%3E%3C/svg%3E");
}

.bi-bar-chart-fill-nav-menu[b-cyeh9cxo81] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-bar-chart-fill' viewBox='0 0 16 16'%3E%3Cpath d='M1 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-3zm5-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V2z'/%3E%3C/svg%3E");
}

.bi-clipboard-data-nav-menu[b-cyeh9cxo81] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-clipboard-data' viewBox='0 0 16 16'%3E%3Cpath d='M4 11a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1zm6-4a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0V7zM7 9a1 1 0 0 1 2 0v3a1 1 0 1 1-2 0V9z'/%3E%3Cpath d='M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z'/%3E%3Cpath d='M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z'/%3E%3C/svg%3E");
}

.nav-item[b-cyeh9cxo81] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-cyeh9cxo81] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-cyeh9cxo81] {
        padding-bottom: 1rem;
    }

    .nav-item[b-cyeh9cxo81]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        white-space: nowrap;
        overflow: hidden;
    }

    .nav-item[b-cyeh9cxo81]  a.collapsed-link {
        justify-content: center;
        padding: 0.5rem;
    }

    .nav-item[b-cyeh9cxo81]  a.collapsed-link .bi {
        margin-right: 0;
    }

.nav-item[b-cyeh9cxo81]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-cyeh9cxo81]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-text[b-cyeh9cxo81] {
    transition: opacity 0.2s ease;
}

.collapsed-nav[b-cyeh9cxo81] {
    align-items: center;
}

@media (min-width: 641px) {
    .navbar-toggler[b-cyeh9cxo81] {
        display: none;
    }

    .collapse[b-cyeh9cxo81] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-cyeh9cxo81] {
        /* Prevent any scrolling on the sidebar */
        height: calc(100vh - 3.5rem);
        overflow: hidden;
        overscroll-behavior: none;
    }

    .nav-overlay[b-cyeh9cxo81] {
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 640.98px) {
    .nav-scrollable[b-cyeh9cxo81] {
        position: fixed;
        top: 3.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-scrollable.collapse:not(.show)[b-cyeh9cxo81] {
        display: none;
    }
}
/* /Pages/Admin/AuditLogs.razor.rz.scp.css */
.audit-container[b-026zkoqhkm] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px); /* Account for navbar and some padding */
    min-height: 500px;
    padding: 1rem;
}

.audit-header[b-026zkoqhkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.audit-header h1[b-026zkoqhkm] {
    margin: 0;
    font-size: 1.5rem;
}

.filters-section[b-026zkoqhkm] {
    background: var(--bs-body-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
    flex-shrink: 0;
}

.audit-content[b-026zkoqhkm] {
    display: flex;
    flex: 1;
    gap: 1rem;
    min-height: 0;
    overflow: visible;
}

.audit-list[b-026zkoqhkm] {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
}

.audit-list.with-detail[b-026zkoqhkm] {
    flex: 0 0 60%;
}

.audit-list table[b-026zkoqhkm] {
    margin-bottom: 0;
}

.audit-list thead th[b-026zkoqhkm] {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid var(--bs-border-color);
}

.audit-row[b-026zkoqhkm] {
    cursor: pointer;
    transition: background-color 0.15s;
}

.audit-row:hover[b-026zkoqhkm] {
    background-color: var(--bs-tertiary-bg);
}

.audit-row.selected[b-026zkoqhkm] {
    background-color: var(--bs-primary-bg-subtle);
}

.audit-detail[b-026zkoqhkm] {
    flex: 0 0 40%;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100vh - 250px); /* Ensure detail panel doesn't exceed viewport */
    min-height: 400px;
}

.detail-header[b-026zkoqhkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

.detail-header h5[b-026zkoqhkm] {
    margin: 0;
    font-size: 1rem;
}

.detail-content[b-026zkoqhkm] {
    flex: 1;
    overflow: auto;
    padding: 1rem;
}

.detail-section[b-026zkoqhkm] {
    margin-bottom: 1.5rem;
}

.detail-section h6[b-026zkoqhkm] {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.detail-grid[b-026zkoqhkm] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.detail-item[b-026zkoqhkm] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item.full-width[b-026zkoqhkm] {
    grid-column: 1 / -1;
}

.detail-item .label[b-026zkoqhkm] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-item .value[b-026zkoqhkm] {
    font-size: 0.9rem;
}

.text-mono[b-026zkoqhkm] {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    font-size: 0.85rem;
}

.message-box[b-026zkoqhkm] {
    background: var(--bs-tertiary-bg);
    padding: 0.75rem;
    border-radius: 6px;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow: auto;
    font-size: 0.85rem;
}

.ai-response[b-026zkoqhkm] {
    max-height: 300px;
}

.error-section[b-026zkoqhkm] {
    background: var(--bs-danger-bg-subtle);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.error-section h6[b-026zkoqhkm] {
    border-bottom-color: var(--bs-danger-border-subtle);
}

.error-section .value[b-026zkoqhkm] {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-height: 200px;
    overflow: auto;
    display: block;
}

.empty-state i[b-026zkoqhkm] {
    opacity: 0.3;
}

.spin[b-026zkoqhkm] {
    animation: spin-b-026zkoqhkm 1s linear infinite;
}

@keyframes spin-b-026zkoqhkm {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tool Invocations */
.tool-invocations[b-026zkoqhkm] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-invocation-item[b-026zkoqhkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bs-tertiary-bg);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.15s;
}

.tool-invocation-item:hover[b-026zkoqhkm] {
    background: var(--bs-secondary-bg);
}

.tool-invocation-item .tool-info[b-026zkoqhkm] {
    display: flex;
    align-items: center;
}

.tool-invocation-item .tool-info i[b-026zkoqhkm] {
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.tool-invocation-item .tool-name[b-026zkoqhkm] {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    color: var(--bs-emphasis-color);
}

.tool-invocation-item .tool-metrics[b-026zkoqhkm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-invocation-item .tool-results[b-026zkoqhkm] {
    font-size: 0.75rem;
}

.tool-invocation-item .tool-duration[b-026zkoqhkm] {
    font-size: 0.75rem;
}

/* Citations List */
.citations-list[b-026zkoqhkm] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.citation-item[b-026zkoqhkm] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--bs-tertiary-bg);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.citation-number[b-026zkoqhkm] {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    color: var(--bs-primary);
    font-weight: 600;
    flex-shrink: 0;
}

.citation-details[b-026zkoqhkm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.citation-title[b-026zkoqhkm] {
    color: var(--bs-emphasis-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.citation-link[b-026zkoqhkm] {
    color: var(--bs-secondary-color);
    flex-shrink: 0;
}

.citation-link:hover[b-026zkoqhkm] {
    color: var(--bs-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .audit-container[b-026zkoqhkm] {
        height: auto;
        min-height: auto;
    }

    .audit-content[b-026zkoqhkm] {
        flex-direction: column;
    }

    .audit-list.with-detail[b-026zkoqhkm] {
        flex: 1;
        max-height: 40vh;
        min-height: 200px;
    }

    .audit-detail[b-026zkoqhkm] {
        flex: 0 0 auto;
        max-height: none;
        min-height: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* Card layout for play button positioning */
.card-body.d-flex[b-gcrrq0x08n] {
    position: relative;
}

/* Card content layout */
.card-content[b-gcrrq0x08n] {
    min-width: 0; /* Enable text truncation */
    padding-right: 50px; /* Space for play button */
}

.min-width-0[b-gcrrq0x08n] {
    min-width: 0;
}

/* Play button container - positions in top right corner */
.play-button-container[b-gcrrq0x08n] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* Play button - Spotify style */
.play-button[b-gcrrq0x08n] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.play-button i[b-gcrrq0x08n] {
    font-size: 1.25rem;
    margin-left: 2px; /* Optical centering for play icon */
}

.play-button:hover[b-gcrrq0x08n] {
    transform: scale(1.08);
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.play-button:active[b-gcrrq0x08n] {
    transform: scale(0.95);
}

/* Card text truncation for tighter cards */
.card-title.text-truncate[b-gcrrq0x08n],
.card-subtitle.text-truncate[b-gcrrq0x08n] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tracklist container - extends to fill card width on right */
.tracklist-container[b-gcrrq0x08n] {
    margin-right: -50px; /* Extend into the play button padding area */
    padding-right: 0.5rem;
}

/* Responsive adjustments for 4-column layout */
@media (max-width: 1199.98px) {
    /* 3 columns on medium-large screens */
    .col-lg-3[b-gcrrq0x08n] {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 991.98px) {
    /* 2 columns on medium screens - already handled by col-md-6 */
}

@media (max-width: 767.98px) {
    /* Full width on small screens */
    .col-md-6[b-gcrrq0x08n] {
        flex: 0 0 auto;
        width: 100%;
    }
}
/* /Pages/Songs.razor.rz.scp.css */
/* Container layout - matches audit logs */
.songs-container[b-06t5pkemcb] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

.songs-container.with-detail-open[b-06t5pkemcb] {
    height: calc(100vh - 80px);
    overflow: hidden;
}

.songs-header[b-06t5pkemcb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.songs-header h1[b-06t5pkemcb] {
    margin: 0;
    font-size: 1.5rem;
}

.filters-section[b-06t5pkemcb] {
    background: var(--bs-body-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.filters-section h6[b-06t5pkemcb] {
    margin: 0;
    color: var(--bs-secondary-color);
}

/* Main content area with list and detail panel */
.songs-content[b-06t5pkemcb] {
    display: flex;
    flex: 1;
    gap: 1rem;
    min-height: 0;
    margin-top: 0.5rem;
    overflow: hidden;
    align-items: stretch;
}

.songs-list[b-06t5pkemcb] {
    flex: 1;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    min-height: 0;
}

.songs-list.with-detail[b-06t5pkemcb] {
    flex: 1 1 60%;
    max-width: 60%;
    overflow: auto;
}

.songs-list table[b-06t5pkemcb] {
    margin-bottom: 0;
}

.songs-list thead th[b-06t5pkemcb] {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid var(--bs-border-color);
}

/* Clickable rows */
.song-row[b-06t5pkemcb] {
    cursor: pointer;
    transition: background-color 0.15s;
}

.song-row:hover[b-06t5pkemcb] {
    background-color: var(--bs-tertiary-bg);
}

.song-row.selected[b-06t5pkemcb] {
    background-color: var(--bs-primary-bg-subtle) !important;
    border-left: 3px solid var(--bs-primary);
}

.song-row.placeholder-row[b-06t5pkemcb] {
    cursor: default;
    opacity: 0.6;
}

.song-row.placeholder-row:hover[b-06t5pkemcb] {
    background-color: transparent;
}

/* Detail panel */
.songs-detail[b-06t5pkemcb] {
    flex: 1 1 40%;
    max-width: 40%;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.detail-header[b-06t5pkemcb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.detail-header h5[b-06t5pkemcb] {
    margin: 0;
    font-size: 1rem;
}

.detail-content[b-06t5pkemcb] {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    min-height: 0;
}

.detail-section[b-06t5pkemcb] {
    margin-bottom: 1.5rem;
}

.detail-section h6[b-06t5pkemcb] {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.detail-grid[b-06t5pkemcb] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.detail-item[b-06t5pkemcb] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item.full-width[b-06t5pkemcb] {
    grid-column: 1 / -1;
}

.detail-item .label[b-06t5pkemcb] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-item .value[b-06t5pkemcb] {
    font-size: 0.9rem;
}

/* Sets list in detail panel */
.sets-list[b-06t5pkemcb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
}

.set-item[b-06t5pkemcb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
}

.set-item-content[b-06t5pkemcb] {
    flex: 1;
    min-width: 0;
}

.set-item-header[b-06t5pkemcb] {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.set-item-body[b-06t5pkemcb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.875rem;
}

/* Play button - Spotify style */
.play-button[b-06t5pkemcb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.play-button i[b-06t5pkemcb] {
    font-size: 1.25rem;
    margin-left: 2px; /* Optical centering for play icon */
}

.play-button:hover[b-06t5pkemcb] {
    transform: scale(1.08);
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.play-button:active[b-06t5pkemcb] {
    transform: scale(0.95);
}

/* Empty state */
.empty-state i[b-06t5pkemcb] {
    opacity: 0.3;
}

/* Spin animation */
.spin[b-06t5pkemcb] {
    animation: spin-b-06t5pkemcb 1s linear infinite;
}

@keyframes spin-b-06t5pkemcb {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sortable column headers */
.sortable-header[b-06t5pkemcb] {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable-header:hover[b-06t5pkemcb] {
    background-color: var(--bs-tertiary-bg) !important;
}

.sortable-header i[b-06t5pkemcb] {
    font-size: 0.75em;
    opacity: 0.6;
    margin-left: 0.25rem;
}

.sortable-header:hover i[b-06t5pkemcb] {
    opacity: 1;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .songs-container[b-06t5pkemcb] {
        height: auto;
        min-height: auto;
    }

    .songs-content[b-06t5pkemcb] {
        flex-direction: column;
    }

    .songs-list.with-detail[b-06t5pkemcb] {
        flex: 1;
        max-height: 40vh;
        min-height: 200px;
    }

    .songs-detail[b-06t5pkemcb] {
        flex: 0 0 auto;
        max-height: none;
        min-height: auto;
    }
}

/* Responsive - Mobile */
@media (max-width: 640.98px) {
    .songs-container[b-06t5pkemcb] {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .songs-container.with-detail-open[b-06t5pkemcb] {
        height: auto;
        overflow: visible;
    }

    .songs-content[b-06t5pkemcb] {
        flex-direction: column;
        overflow: visible;
    }

    .songs-list[b-06t5pkemcb] {
        overflow: visible;
    }

    .songs-list.with-detail[b-06t5pkemcb] {
        max-width: 100%;
        max-height: none;
        overflow: visible;
    }

    .songs-detail[b-06t5pkemcb] {
        max-width: 100%;
    }

    .filters-section[b-06t5pkemcb] {
        padding: 0.75rem;
    }

    .filters-section .row > div[b-06t5pkemcb] {
        margin-bottom: 0.5rem;
    }

    /* Make table horizontally scrollable on mobile */
    .table-responsive[b-06t5pkemcb] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Reduce padding in table cells on mobile */
    .songs-list table td[b-06t5pkemcb],
    .songs-list table th[b-06t5pkemcb] {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
}

/* Filter clear button - matches Stats page */
.filter-clear[b-06t5pkemcb] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    background: transparent;
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.filter-clear:hover[b-06t5pkemcb] {
    color: var(--bs-body-color);
}

/* Custom set artist filter layout */
.set-artist-filter[b-06t5pkemcb] {
    display: flex;
}

.set-artist-filter-input[b-06t5pkemcb] {
    position: relative;
    flex: 1;
}

.set-artist-filter-input > .form-control[b-06t5pkemcb] {
    padding-right: 2.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.set-artist-filter > .filter-apply-btn[b-06t5pkemcb] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

/* Inline circular clear button inside input */
.filter-clear-inline[b-06t5pkemcb] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
    z-index: 5;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.filter-clear-inline:hover[b-06t5pkemcb] {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}
/* /Pages/Stats.razor.rz.scp.css */
/* Stats tables - matching songs page styling */
.stats-table-container[b-a6n690fz9y] {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    overflow: hidden;
}

.stats-table-header[b-a6n690fz9y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.stats-table-header h4[b-a6n690fz9y] {
    margin: 0;
    font-size: 1rem;
}

.table-filter[b-a6n690fz9y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.table-filter i[b-a6n690fz9y] {
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
}

.table-filter input[b-a6n690fz9y] {
    border: none;
    outline: none;
    background: transparent;
    width: 180px;
    font-size: 0.875rem;
    color: var(--bs-body-color);
}

.table-filter input[b-a6n690fz9y]::placeholder {
    color: var(--bs-secondary-color);
}

.filter-clear[b-a6n690fz9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.filter-clear:hover[b-a6n690fz9y] {
    color: var(--bs-body-color);
}

.stats-table-container .table[b-a6n690fz9y] {
    margin-bottom: 0;
}

.stats-table-container .table thead th[b-a6n690fz9y] {
    background: var(--bs-body-bg);
    border-bottom: 2px solid var(--bs-border-color);
    font-weight: 600;
}

.stats-table-container .table tbody tr[b-a6n690fz9y] {
    transition: background-color 0.15s;
}

.stats-table-container .table tbody tr:hover[b-a6n690fz9y] {
    background-color: var(--bs-tertiary-bg);
}

.stats-table-container .table-striped > tbody > tr:nth-of-type(odd) > *[b-a6n690fz9y] {
    --bs-table-bg-type: transparent;
}

/* Count badge styling */
.count-badge[b-a6n690fz9y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    border-radius: 50rem;
    background: var(--bs-primary);
    color: white;
    font-size: 0.875rem;
}

/* Mobile responsive styles */
@media (max-width: 640.98px) {
    /* Stats table header - stack filter on mobile */
    .stats-table-header[b-a6n690fz9y] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .table-filter[b-a6n690fz9y] {
        width: 100%;
    }

    .table-filter input[b-a6n690fz9y] {
        width: 100%;
    }

    /* Make tables scrollable horizontally */
    .stats-table-container[b-a6n690fz9y] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stats-table-container table[b-a6n690fz9y] {
        min-width: 300px;
    }

    /* Stack the columns on mobile */
    .col-md-6[b-a6n690fz9y] {
        margin-bottom: 1rem;
    }
}
