@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2o009snwu0] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-2o009snwu0] {
    flex: 1;
}

.content[b-2o009snwu0] {
    padding-top: 1.1rem;
}

#blazor-error-ui[b-2o009snwu0] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-2o009snwu0] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-y2pu1xyqzd] {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Highlight the active link in the navbar */
.nav-link.active[b-y2pu1xyqzd] {
    color: #fff !important;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home.razor scoped styles - minimal, relies on app.css for grid styling */

/* NOTE: The main grid styling comes from app.css via .grid-scroll-container class */
/* This file only contains page-specific overrides if needed */

/* Flip sort indicators for: Name (1), Personality (3), Playing Time (4), Best Role In (16), Best Role Out (17) */

/* ASCENDING state: Logic flipped, so show DOWN arrow (flip default Up) */
[b-flwnsvo4tm] th:nth-child(1)[aria-sort="ascending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(3)[aria-sort="ascending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(4)[aria-sort="ascending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(16)[aria-sort="ascending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(17)[aria-sort="ascending"] .sort-indicator {
    transform: scaleY(-1) !important;
}

/* DESCENDING state: Logic flipped, so show UP arrow (reset default Down or force Up) */
[b-flwnsvo4tm] th:nth-child(1)[aria-sort="descending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(3)[aria-sort="descending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(4)[aria-sort="descending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(16)[aria-sort="descending"] .sort-indicator,
[b-flwnsvo4tm] th:nth-child(17)[aria-sort="descending"] .sort-indicator {
    transform: scaleY(1) !important;
    /* scaleY(1) restores original orientation. If component used rotate(180deg) for descending, 
       we might need `transform: none !important` or `rotate(0deg)` to force it Up. 
       Let's try `transform: none !important` which covers both. */
    transform: none !important;
}
