/* _content/PlaycountV2/Components/Layout/MainLayout.razor.rz.scp.css */
/* Components/Layout/MainLayout.razor.css */

.logo[b-3mjaebppjn] {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.header-right-items[b-3mjaebppjn] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title[b-3mjaebppjn] {
    color: #fff;
    margin-bottom: 0;
    align-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-content[b-3mjaebppjn] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 40px;
    gap: 10px; /* Add gap for spacing */
}

/* --- ADDED: Utility class for JS toggle --- */
.hidden[b-3mjaebppjn] {
    display: none !important;
}

/* --- ADDED: New Desktop Menu Styles --- */
.new-desktop-nav[b-3mjaebppjn] {
    display: none; /* 'hidden' */
    align-items: center; /* 'items-center' */
    gap: 2rem; /* 'space-x-8' */
    margin-left: auto; /* Push to the right */
    margin-bottom: 8px;
}

@media (min-width: 1024px) { /* 'lg:' breakpoint */
    .new-desktop-nav[b-3mjaebppjn] {
        display: flex; /* 'lg:flex' */
    }
}

/* --- ADDED: New Mobile Button Styles --- */
.new-mobile-menu-button[b-3mjaebppjn] {
    display: block; /* Default state: visible */
    background: none;
    border: none;
    color: white;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0; /* Prevent button from shrinking */
    margin-bottom: 4px;
}

.new-mobile-menu-button .w-6[b-3mjaebppjn] { /* Styles from index.html */
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 1024px) { /* 'lg:' breakpoint */
    .new-mobile-menu-button[b-3mjaebppjn] {
        display: none; /* 'lg:hidden' */
    }
}

/* --- ADDED: New Mobile Panel Styles --- */
.new-mobile-menu-panel[b-3mjaebppjn] {
    background: var(--color-background); /* <-- CHANGED */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: absolute;
    top: 41px; /* Height of the header */
    left: 0;
    right: 0;
    z-index: 40;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--color-border); /* <-- CHANGED */
}

@media (min-width: 1024px) { /* 'lg:' breakpoint */
    .new-mobile-menu-panel[b-3mjaebppjn] {
        display: none !important; /* 'lg:hidden' */
    }
}

.mobile-menu-group[b-3mjaebppjn] {
    margin-top: 1.25rem; /* 'space-y-2' simulation */
}

.mobile-menu-header[b-3mjaebppjn] {
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    color: var(--color-text-secondary); /* <-- CHANGED */
    font-weight: 700;
    font-size: 0.75rem; /* 'text-sm' */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* 'tracking-wide' */
}

.mobile-menu-link[b-3mjaebppjn] {
    display: flex;
    padding: 0.5rem 0 0.5rem 1rem; /* 'py-2 pl-4' */
    color: var(--color-text-primary); /* <-- CHANGED */
    font-weight: 500; /* 'font-medium' */
    text-decoration: none;
    border-radius: 4px;
    gap: 8px;
    align-items: center;
}

.mobile-menu-link:hover[b-3mjaebppjn] {
    background-color: var(--color-card-bg); /* <-- CHANGED */
    color: var(--color-accent); /* <-- CHANGED */
}

.mobile-menu-link.active[b-3mjaebppjn] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- CHANGED */
    font-weight: 700;
}

/* --- PRESERVED: Existing Dropdown Styles (Unchanged) --- */
.nav-item[b-3mjaebppjn] {
    position: relative;
    padding: 0 4px 0 4px;
    list-style: none;
}

.nav-item .nav-link[b-3mjaebppjn] {
    display: flex;
    padding: 0 15px;
    color: white;
    text-decoration: none;
    cursor: default;
}

.nav-link-button[b-3mjaebppjn] {
    border: none;
    background: none;
    padding: 12px 16px; /* <-- Match dropdown-item */
    cursor: pointer;
    color: var(--color-text-primary); /* <-- CHANGED */
    font-size: inherit;
    font-family: inherit;
    width: 100%;
    text-align: left;
    transition: background-color 0.15s ease-in-out; /* <-- ADDED */
}

/* ADD this new hover rule */
.nav-link-button:hover[b-3mjaebppjn] {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
}

/* ADD this new rule for icon alignment */
.nav-link-button i[b-3mjaebppjn] {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Mobile panel form button */
.mobile-menu-link .nav-link-button[b-3mjaebppjn] {
    padding: 0;
    color: inherit; /* <-- CHANGED */
}

.mobile-menu-link:hover .nav-link-button[b-3mjaebppjn] {
    color: inherit; /* <-- CHANGED */
}

.dropdown-content[b-3mjaebppjn] {
    position: absolute;
    background-color: var(--color-background);
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* <-- CHANGED */
    z-index: 1000;
    border-radius: 6px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0.2s;
    overflow: hidden;
}

.dropdown-item[b-3mjaebppjn] {
    color: var(--color-text-primary); /* <-- CHANGED */
    margin: 0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.15s ease-in-out;
}

.dropdown-item:hover[b-3mjaebppjn] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- CHANGED */
}

.nav-item.dropdown:hover .dropdown-content[b-3mjaebppjn] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-link-with-icon[b-3mjaebppjn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-with-icon .fa-chevron-down[b-3mjaebppjn] {
    font-size: 0.7em;
    opacity: 0.8;
}

.dropdown-item i[b-3mjaebppjn] {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.nav-link.active[b-3mjaebppjn],
.nav-link-with-icon.active[b-3mjaebppjn] {
    background-color: var(--color-accent);
    box-shadow: inset 0 -13px 11px 3px #0000003d, -1px 2px 0px 0px #1f293780;
    color: var(--color-text-primary);
    font-weight: 700;
    border-radius: 4px;
}

.dropdown-item.active[b-3mjaebppjn],
.dropdown-item.active:hover[b-3mjaebppjn] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- CHANGED */
    font-weight: 700;
}

.header-page-icon[b-3mjaebppjn] {
    display: flex;
    align-items: center;
    height: 100%;
    color: #ffffff;
    flex-shrink: 0;
}

.header-page-icon i[b-3mjaebppjn] {
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 18px;
    text-align: center;
    opacity: 0.9;
}

/* --- Logout Button Red Hover --- */
form .nav-link-button:hover[b-3mjaebppjn] {
    background-color: #dc3545; /* Bootstrap Red */
    color: white;
}

.new-desktop-nav .nav-item.dropdown:last-child .dropdown-content[b-3mjaebppjn] {
    left: auto;
    right: 0;
}
/* _content/PlaycountV2/Components/Pages/Admin/AdminStations.razor.rz.scp.css */
.admin-settings-page[b-895od1czjv] {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px;
    color: var(--color-text-primary); /* Use theme text color */
}

.settings-header[b-895od1czjv] {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border); /* Use theme border */
}

.settings-header h3[b-895od1czjv] {
    margin-bottom: 4px;
}

.settings-header p[b-895od1czjv] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
}

.setting-item[b-895od1czjv] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.setting-item label[b-895od1czjv] {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.loading-indicator[b-895od1czjv] {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.settings-card[b-895od1czjv] {
    background-color: var(--color-card-bg); /* Use theme card background */
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title[b-895od1czjv] {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--color-accent); /* Use theme accent color */
}

.setting-field[b-895od1czjv] {
    margin-bottom: 24px;
}

.setting-field label[b-895od1czjv] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.setting-field .field-description[b-895od1czjv] {
    font-size: 0.85em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    margin-top: -4px;
    margin-bottom: 8px;
}

/* Fix for Radzen's w-100 class */
.w-100[b-895od1czjv] {
    width: 100%;
}

.image-preview-wrapper[b-895od1czjv] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.image-preview[b-895od1czjv] {
    max-width: 150px;
    max-height: 80px;
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 4px;
    object-fit: contain;
    background-color: var(--color-background); /* Use theme background */
}

.image-input[b-895od1czjv] {
    flex-grow: 1;
}

.file-name-display[b-895od1czjv] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    font-style: italic;
}

.action-buttons[b-895od1czjv] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border); /* Use theme border */
}

/* Specific to AdminUsers */
.rz-label-inline[b-895od1czjv] {
    margin-left: 8px;
    font-weight: normal !important;
    color: var(--color-text-primary); /* Use theme text */
}

.add-by-station[b-895od1czjv] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.add-by-station .rz-dropdown[b-895od1czjv] {
    flex-grow: 1;
}

.precache-feature-box[b-895od1czjv] {
    background-color: rgba(0, 0, 0, 0.15); /* Subtle dark background */
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent); /* Accent indicator */
    border-radius: 6px;
    padding: 16px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.precache-row[b-895od1czjv] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.precache-icon[b-895od1czjv] {
    font-size: 1.5em;
    color: #f59e0b; /* Amber color for "electricity/power" vibe */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.precache-info[b-895od1czjv] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.precache-title[b-895od1czjv] {
    font-weight: 700;
    font-size: 1em;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.precache-badge[b-895od1czjv] {
    font-size: 0.75em;
    background-color: #374151;
    color: #9ca3af;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: monospace;
    width: fit-content;
}

/* Customizing the switch alignment */
.precache-switch[b-895od1czjv] {
    transform: scale(1.2); /* Make it slightly chunkier */
}
/* _content/PlaycountV2/Components/Pages/Admin/AdminUsers.razor.rz.scp.css */
.admin-settings-page[b-dfdfmn8cdd] {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px;
    color: var(--color-text-primary); /* Use theme text color */
}

.settings-header[b-dfdfmn8cdd] {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border); /* Use theme border */
}

.settings-header h3[b-dfdfmn8cdd] {
    margin-bottom: 4px;
}

.settings-header p[b-dfdfmn8cdd] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
}

.setting-item[b-dfdfmn8cdd] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.setting-item label[b-dfdfmn8cdd] {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.loading-indicator[b-dfdfmn8cdd] {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.settings-card[b-dfdfmn8cdd] {
    background-color: var(--color-card-bg); /* Use theme card background */
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title[b-dfdfmn8cdd] {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--color-accent); /* Use theme accent color */
}

.setting-field[b-dfdfmn8cdd] {
    margin-bottom: 24px;
}

.setting-field label[b-dfdfmn8cdd] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.setting-field .field-description[b-dfdfmn8cdd] {
    font-size: 0.85em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    margin-top: -4px;
    margin-bottom: 8px;
}

/* Fix for Radzen's w-100 class */
.w-100[b-dfdfmn8cdd] {
    width: 100%;
}

.image-preview-wrapper[b-dfdfmn8cdd] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.image-preview[b-dfdfmn8cdd] {
    max-width: 150px;
    max-height: 80px;
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 4px;
    object-fit: contain;
    background-color: var(--color-background); /* Use theme background */
}

.image-input[b-dfdfmn8cdd] {
    flex-grow: 1;
}

.file-name-display[b-dfdfmn8cdd] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    font-style: italic;
}

.action-buttons[b-dfdfmn8cdd] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border); /* Use theme border */
}

/* Specific to AdminUsers */
.rz-label-inline[b-dfdfmn8cdd] {
    margin-left: 8px;
    font-weight: normal !important;
    color: var(--color-text-primary); /* Use theme text */
}

.add-by-station[b-dfdfmn8cdd] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.add-by-station .rz-dropdown[b-dfdfmn8cdd] {
    flex-grow: 1;
}
/* _content/PlaycountV2/Components/Pages/CohortRetention.razor.rz.scp.css */
.cohort-container[b-99wg9gk1pq] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cohort-header[b-99wg9gk1pq] {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    background-color: var(--color-card-bg);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.control-group[b-99wg9gk1pq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.control-group label[b-99wg9gk1pq] {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.9em;
}

.custom-date-display[b-99wg9gk1pq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 220px;
    justify-content: space-between;
}

.custom-date-display:hover[b-99wg9gk1pq] {
    border-color: var(--color-accent);
}

.date-picker-dropdown[b-99wg9gk1pq] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 4px;
}

.loading-container[b-99wg9gk1pq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px;
    color: var(--color-text-secondary);
}

/* Flex row for side-by-side charts */
.chart-row[b-99wg9gk1pq] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.chart-card[b-99wg9gk1pq] {
    background: var(--color-card-bg);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    flex: 1 1 450px; /* Grow and shrink, base width 450px */
}

.chart-wrapper[b-99wg9gk1pq] {
    flex-grow: 1;
    position: relative;
    width: 100%;
    min-height: 350px;
}

.info-subtext[b-99wg9gk1pq] {
    display: block;
    font-weight: normal;
    font-size: 0.8em;
    color: var(--color-text-secondary);
    margin-top: 4px;
    font-style: italic;
}

.stat-footer[b-99wg9gk1pq] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    font-size: 0.95em;
    text-align: center;
    color: var(--color-text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-footer strong[b-99wg9gk1pq] {
    color: var(--color-accent);
    font-size: 1.1em;
}

.click-away-overlay[b-99wg9gk1pq] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
}
/* _content/PlaycountV2/Components/Pages/Historical/HistoricalBreakdowns.razor.rz.scp.css */
.mount-label[b-o6m4fkysie] {
    border-radius: 12px;
    box-shadow: 1px 1px 1px 0 black;
    background-color: #086b00;
    color: white;
    text-shadow: -1px -1px 0 black, 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 2px 8px;
    cursor: pointer;
    align-self: center;
}

.mount-label:hover[b-o6m4fkysie] {
    box-shadow: 2px 2px 2px 0 black;
    background-color: #ff0000 !important;
    color: white;
}

.mount-label-container[b-o6m4fkysie] {
    overflow-y: auto;
    max-height: 75px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-background); /* <-- CHANGED */
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px;
}

/* Style for the "additional controls" slot in the UserSettingsBar */
.user-bar-control-group[b-o6m4fkysie] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-bar-control-group label[b-o6m4fkysie] {
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
}

.user-bar-select[b-o6m4fkysie] {
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    font-weight: 500;
}

.user-bar-select:hover[b-o6m4fkysie] {
    border-color: var(--color-accent);
}

/* Informational message style */
.info-message[b-o6m4fkysie] {
    font-size: 0.8em;
    font-weight: 600;
    color: #b3e0ff; /* <-- CHANGED (Light blue text) */
    text-align: center;
    padding: 0 12px;
    background-color: #003c57; /* <-- CHANGED (Dark blue bg) */
    border: 1px solid #0dcaf0; /* <-- CHANGED (Radzen info border) */
    border-radius: 12px;
    margin: 0 auto 3px auto;
    max-width: 1200px;
    width: fit-content;
}
/* _content/PlaycountV2/Components/Pages/Historical/HistoricalComparisons.razor.rz.scp.css */
/* Styles specific to the Comparison Page */

/* --- Styles from UserSettingsBar Integration --- */
.user-bar-control-group[b-pvnnpwfhuo] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-bar-control-group label[b-pvnnpwfhuo] {
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
    white-space: nowrap; /* Prevent label wrapping */
}

.user-bar-select[b-pvnnpwfhuo] {
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    font-weight: 500;
}

.user-bar-select:hover[b-pvnnpwfhuo] {
    border-color: var(--color-accent);
}

/* --- Week Range Display --- */
.week-range-display[b-pvnnpwfhuo] {
    font-size: 0.8em;
    color: var(--color-text-secondary); /* <-- CHANGED */
    margin-left: -4px; /* Adjust spacing */
    white-space: nowrap;
}

/* --- Comparison Dates Display --- */
.comparison-dates-display[b-pvnnpwfhuo] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    margin: 4px;
    background-color: var(--color-background); /* <-- CHANGED */
    border-radius: 4px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    flex-wrap: wrap; /* Allow wrapping if many dates */
}

.comparison-dates-display label[b-pvnnpwfhuo] {
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
    margin-bottom: 0; /* Override default label margin if any */
}

.dates-list[b-pvnnpwfhuo] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.date-badge[b-pvnnpwfhuo] {
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px; /* Pill shape */
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 0 4px rgb(0 0 0);
}

.remove-date-btn[b-pvnnpwfhuo] {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    margin-left: 2px;
    opacity: 0.7;
}

.remove-date-btn:hover[b-pvnnpwfhuo] {
    opacity: 1;
}

/* --- Chart Styling --- */
.container-fluid[b-pvnnpwfhuo] {
    margin-top: 1rem;
}
.col-lg-6[b-pvnnpwfhuo] {
    margin-bottom: 1.5rem;
}
.chart-wrapper[b-pvnnpwfhuo] {
    position: relative;
    height: 300px;
    width: 100%;
}

/* --- General Message Styles --- */
.error-message[b-pvnnpwfhuo] {
    color: #f8d7da; /* <-- CHANGED */
    font-weight: bold;
    padding: 10px;
    border: 1px solid #dc3545; /* <-- CHANGED */
    background-color: #572020; /* <-- CHANGED */
    border-radius: 4px;
    margin: 10px 0;
    white-space: pre-line;
}

.no-data-message[b-pvnnpwfhuo] {
    color: #ffc107; /* <-- CHANGED */
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ffc107; /* <-- CHANGED */
    background-color: #573a00; /* <-- CHANGED */
    border-radius: 4px;
    margin: 10px 0;
}

.user-bar-control-group + .rz-message-error[b-pvnnpwfhuo] {
    margin-left: 8px;
}


/* --- Page Loading Overlay --- */
.page-loading-overlay[b-pvnnpwfhuo] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 49, 60, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.spinner[b-pvnnpwfhuo] {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin-b-pvnnpwfhuo 1s linear infinite;
}

@keyframes spin-b-pvnnpwfhuo {
    to { transform: rotate(360deg); }
}

/* Radzen Grid minimum width */
.min-width-1400[b-pvnnpwfhuo] {
    min-width: 1400px;
}

/* Align numeric cells better */
.pretty-radzen-grid .rz-grid-table tbody td.numeric-cell-padding[b-pvnnpwfhuo] {
    padding-right: 24px !important;
}

.add-date-section[b-pvnnpwfhuo] {
    position: relative; /* Make this the positioning context for the dropdown */
}

/* Position the conditionally rendered ComparisonDatePicker dropdown */
.add-date-section[b-pvnnpwfhuo]  .comp-datepicker-dropdown {
    position: absolute;
    top: 14px;
    left: -150px;
    z-index: 1051;
    margin-top: 4px; /* Small gap */
}

.header-summary-container[b-pvnnpwfhuo] {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 12px 8px;
    margin: 8px 0;
    background-color: var(--color-background); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 4px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.comparison-summary-card[b-pvnnpwfhuo] {
    flex: 0 0 auto; /* Don't grow or shrink */
    width: 320px; /* Width for the sequential cards */
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 8px;
}

/* New style for the prominent "Base Date Comparison" Card */
.primary-summary-card[b-pvnnpwfhuo] {
    border: 2px solid var(--color-accent); /* <-- CHANGED */
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); /* <-- CHANGED */
    width: 100%;
    max-width: 500px;
}

/* Use existing date-badge style but center it */
.comparison-summary-card .date-badge[b-pvnnpwfhuo] {
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 4px 10px; /* More padding */
    border-radius: 12px;
    font-size: 0.9em; /* Slightly larger */
    font-weight: 600;
    color: white;
}

.comparison-stat-grid[b-pvnnpwfhuo] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 12px;
}

/* Specific Grid for the Base Comparison Card (Base vs All Dates) */
.primary-summary-card .comparison-stat-grid[b-pvnnpwfhuo] {
    gap: 4px 12px;
}

.comparison-stat-item[b-pvnnpwfhuo] {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center label and values vertically */
    font-size: 0.9em;
    border-bottom: 1px solid var(--color-border); /* <-- CHANGED */
    padding: 4px 0;
}

.comparison-stat-item.header-row[b-pvnnpwfhuo] {
    font-weight: 700;
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-border);
    justify-content: space-between; /* Aligns "Metric" left and "(Base Value)" right */
    font-size: 1.1em;
    width: 100%; /* Changed from fit-content to fill the space */

    /* --- ADDED FOR STICKY --- */
    position: sticky;
    top: 0;
    background-color: var(--color-card-bg); /* Match the card bg to hide scrolling text */
    z-index: 2; /* Ensure it stays on top */
}

.comparison-stat-item .stat-label[b-pvnnpwfhuo] {
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
    flex-shrink: 0;
}

.stat-values-container[b-pvnnpwfhuo] {
    display: flex;
    flex-direction: column; /* Stack values vertically on sequential cards */
    align-items: flex-end;   /* Align values to the right */
    gap: 4px;
}

/* Override for the primary card to show row layout */
.primary-summary-card .stat-values-container[b-pvnnpwfhuo] {
    flex-direction: row; /* Side-by-side */
    align-items: baseline;
    gap: 8px;
}

.stat-value-row[b-pvnnpwfhuo] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.stat-value-label[b-pvnnpwfhuo] {
    font-size: 0.85em;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* Style for the comparison date label on the primary card */
.comparison-stat-item.base-line .vs-comp-label[b-pvnnpwfhuo] {
    font-weight: 500;
    font-size: 0.95em;
    flex-grow: 1;
    text-align: left;
    min-width: 130px; /* Give date label space */
}

.comparison-stat-item .stat-value-change[b-pvnnpwfhuo] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.0em;
    white-space: nowrap;
}

/* Color and Triangles */
.change-positive[b-pvnnpwfhuo] {
    color: #28a745; /* Green */
}
.change-positive[b-pvnnpwfhuo]::after {
    content: ' ▲';
    font-size: 0.8em;
}

.change-negative[b-pvnnpwfhuo] {
    color: #dc3545; /* Red */
}
.change-negative[b-pvnnpwfhuo]::after {
    content: ' ▼';
    font-size: 0.8em;
}

.change-neutral[b-pvnnpwfhuo] {
    color: #6c757d; /* Grey */
}

/* Make the primary card's content scrollable */
.primary-card-content[b-pvnnpwfhuo] {
    overflow-y: auto;
    padding-right: 10px; /* Space for scrollbar */
    max-height: 500px;
}

/* New styles for the raw values */
.base-value[b-pvnnpwfhuo] {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--color-accent); /* <-- CHANGED */
}

.comp-value[b-pvnnpwfhuo] {
    font-size: 1em;
    font-weight: 600;
    color: var(--color-text-primary); /* <-- CHANGED */
    min-width: 60px; /* Give numbers space */
    text-align: right;
}

/* --- NEW: Styles for HOURLY Grid Card --- */
.hourly-grid-card[b-pvnnpwfhuo] {
    min-width: 90vw; /* Make the hourly card take most of the viewport width */
    max-width: 90vw;
}

/* Make the primary card's content scrollable */
.hourly-grid-card .primary-card-content[b-pvnnpwfhuo] {
    overflow-y: auto;
    padding-right: 10px; /* Space for scrollbar */
    max-height: initial;
}

/* ** THIS IS THE KEY CHANGE: Use Flexbox **
*/
.hourly-metric-container[b-pvnnpwfhuo] {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to the next line */
    gap: 8px;
    justify-content: space-evenly;
}

/* A single metric group (e.g., "Total Hours") */
.metric-group[b-pvnnpwfhuo] {
    min-width: 300px;
    max-width: 560px;
    margin-bottom: 12px;
}
/* ** END KEY CHANGE **
*/


.hourly-metric-grid[b-pvnnpwfhuo] {
    width: 100%;
    border-top: 1px solid var(--color-border); /* <-- CHANGED */
    /* Tighter padding */
    --rz-grid-cell-padding: 3px 6px;
    /* Smaller font for the grid */
    font-size: 0.85em;
}

/* Smaller font for Radzen headers */
.hourly-metric-grid .rz-grid-header-cell[b-pvnnpwfhuo] {
    padding: 4px 8px;
    position: sticky;
    top: 48px; /* This pushes it just below the main sticky header */
    background-color: var(--color-card-bg);
    z-index: 1;
}

.hourly-cell[b-pvnnpwfhuo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px; /* Tighter gap */
}

.hourly-value[b-pvnnpwfhuo] {
    font-weight: 600;
    font-size: 0.9em; /* Smaller font for the raw value */
}

.hourly-changes[b-pvnnpwfhuo] {
    display: flex;
    gap: 2px; /* Tighter gap */
}

.hourly-changes .stat-value-change[b-pvnnpwfhuo] {
    font-size: 0.8em; /* Smaller font for percentages */
    white-space: nowrap; /* Prevent % from wrapping */
}

.hourly-changes .stat-value-change.vs-prev[b-pvnnpwfhuo] {
    color: #aaa; /* <-- CHANGED (brighter grey) */
    font-weight: 500;
}

.header-row[b-pvnnpwfhuo] {
    display: flex;
    flex-direction: column; /* Stack title and label vertically */
    align-items: center;
    justify-content: center;
    row-gap: 2px; /* Small gap between title and label */
    padding-bottom: 4px;
}

/* --- UPDATED: Hourly Dynamic Label --- */
.hourly-dynamic-label[b-pvnnpwfhuo] {
    display: block;
    font-size: 0.75em; /* Smaller font */
    font-weight: 600;
    color: #60a5fa; /* <-- CHANGED (brighter blue) */
    background-color: transparent;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    min-height: 1.2em; /* Reserve space to prevent layout jump */
    transition: none;
    text-align: center;
}

.hourly-metric-grid .rz-grid-header-cell span[b-pvnnpwfhuo] {
    text-shadow: 0 0 4px rgb(0 0 0);
}

.info-message[b-pvnnpwfhuo] {
    font-size: 1.1em;
    font-weight: 600;
    color: #b3e0ff;
    text-align: center;
    padding: 12px 16px;
    background-color: #003c57;
    border: 1px solid #0dcaf0;
    border-radius: 4px;
    margin: 10px 0;
}
/* _content/PlaycountV2/Components/Pages/Historical/HistoricalReports.razor.rz.scp.css */
/* Style for the "additional controls" slot in the UserSettingsBar */
.user-bar-control-group[b-51kh99c7h5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-bar-control-group label[b-51kh99c7h5] {
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
}

.user-bar-select[b-51kh99c7h5] {
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    font-weight: 500;
}

.user-bar-select:hover[b-51kh99c7h5] {
    border-color: var(--color-accent);
}

/* Copied from V3HReports for chart layout */
.container-fluid[b-51kh99c7h5] {
    margin-top: 1rem;
}
.col-lg-6[b-51kh99c7h5] {
    margin-bottom: 1.5rem;
}

/* Wrapper for charts to respect card padding */
.chart-wrapper[b-51kh99c7h5] {
    position: relative;
    height: 300px; /* Reduced height from 350px */
    width: 100%;
}
/* _content/PlaycountV2/Components/Pages/Historical/HistoricalStations.razor.rz.scp.css */
.grid-no-totals[b-mmzbvz1c73]  .pretty-radzen-grid .rz-grid-table tfoot {
    display: none;
}

/* Responsive Footer for HistoricalStations Grid */
@media (max-width: 768px) {
    /* Find the grid on this page and apply responsive footer */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot {
        display: block;
    }

    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot tr {
        display: block;
        margin-bottom: 1rem;
        border: 2px solid var(--color-accent); /* Make it look like a card */
        border-radius: 4px;
        background-color: var(--color-background);
    }

    /* 1. Make the <td> a flex container */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td {
        display: flex; /* Use flex */
        align-items: baseline; /* Align text baselines */
        border: none !important;
        border-bottom: 1px solid var(--color-border) !important;
        padding: 0.5rem 0.75rem !important;
        line-height: 1.4; /* Give text room to wrap */
    }

    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot tr td:last-child {
        border-bottom: none !important;
    }

    /* 2. Style the ::before pseudo-element (the label) */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td::before {
        content: 'ΣΤΑΘΜΟΣ:'; /* Default, will be overridden */
        font-weight: bold;
        color: var(--color-text-secondary);
        text-align: left;
        padding-right: 0.5rem;
        flex-shrink: 0; /* Don't let the label shrink */
    }

    /* 3. Style the <span> element (the value wrapper) */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td .rz-column-footer {
        flex-grow: 1; /* Take all remaining space */
        text-align: right; /* Default to right-align for numbers */
        font-weight: bold;
        word-break: break-word; /* Allow long values to wrap */
        padding-left: 8px; /* Space between label and value */
    }

    /* 4. Add the labels */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(2)::before { content: 'ΣΤΑΘΜΟΣ:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(3)::before { content: 'ΣΥΝ.ΩΡΕΣ:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(4)::before { content: 'Μ.Ο.ΑΚΡΟΑΣΗΣ:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(5)::before { content: 'ACTIVE(>1Λ.):'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(6)::before { content: 'UNIQUE:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(7)::before { content: 'UNIQUE/ACTIVE:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(8)::before { content: 'NEW(>10Δ):'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(9)::before { content: 'RETENTION:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(10)::before { content: 'PEAK:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(11)::before { content: 'ΧΡΟΝΟΣ PEAK:'; }
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(12)::before { content: 'ΣΥΝ.DATA:'; }

    /* 6. Hide the empty icon cell */
    [b-mmzbvz1c73] .pretty-radzen-grid .rz-grid-table tfoot td:nth-child(1) {
        display: none;
    }
}
/* _content/PlaycountV2/Components/Pages/Historical/Influx.razor.rz.scp.css */
.stats-grid-container[b-svw73q9cnw] {
    flex: 2 1 500px; /* Stats grid takes less space */
    padding: 16px;
}

/* Style for the timestamp in the stats grid */
.stats-time[b-svw73q9cnw] {
    font-size: 0.8em;
    color: #a9a9a9;
    margin-top: 2px;
}

.rz-grid-table thead th[b-svw73q9cnw] {
    padding: 0 8px 0 8px !important;
}

.station-cell[b-svw73q9cnw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-dot[b-svw73q9cnw] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.station-table-image[b-svw73q9cnw] {
    width: 40px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}

.chart-container[b-svw73q9cnw] {
    display: flex; /* <-- ADD THIS */
    flex-direction: column;
    height: 750px; /* Desktop height */
}

.chart-wrapper[b-svw73q9cnw] {
    flex-grow: 1;
    height: 100%;
}

@media (max-width: 767px) {
    .chart-container[b-svw73q9cnw] {
        height: 570px; /* Mobile height */
    }
}
/* _content/PlaycountV2/Components/Pages/Home.razor.rz.scp.css */
/* This sets the height for the chart container on the Dashboard page
  and makes the chart wrapper fill it.
*/
[b-kt37q8wo0q] .dashboard-card.wide .chart-container {
    display: flex;
    flex-direction: column;
    height: 800px; /* Desktop height */
}

[b-kt37q8wo0q] .chart-wrapper {
    flex-grow: 1;
    height: 100%;
}

/* Set mobile height */
@media (max-width: 767px) {
    [b-kt37q8wo0q] .dashboard-card.wide .chart-container {
        height: 550px; /* Mobile height */
    }
}
/* _content/PlaycountV2/Components/Pages/UserSettings.razor.rz.scp.css */
.admin-settings-page[b-9htv0vdv48] {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px;
    color: var(--color-text-primary); /* Use theme text color */
}

.settings-header[b-9htv0vdv48] {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border); /* Use theme border */
}

.settings-header h3[b-9htv0vdv48] {
    margin-bottom: 4px;
}

.settings-header p[b-9htv0vdv48] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
}

.setting-item[b-9htv0vdv48] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.setting-item label[b-9htv0vdv48] {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.loading-indicator[b-9htv0vdv48] {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.settings-card[b-9htv0vdv48] {
    background-color: var(--color-card-bg); /* Use theme card background */
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 600px; /* Add max-width for user settings page */
    margin: 0 auto; /* Center the card */
}

.card-title[b-9htv0vdv48] {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--color-accent); /* Use theme accent color */
}

.setting-field[b-9htv0vdv48] {
    margin-bottom: 24px;
}

.setting-field label[b-9htv0vdv48] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.setting-field .field-description[b-9htv0vdv48] {
    font-size: 0.85em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    margin-top: -4px;
    margin-bottom: 8px;
}

/* Fix for Radzen's w-100 class */
.w-100[b-9htv0vdv48] {
    width: 100%;
}

.image-preview-wrapper[b-9htv0vdv48] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.image-preview[b-9htv0vdv48] {
    max-width: 150px;
    max-height: 80px;
    border: 1px solid var(--color-border); /* Use theme border */
    border-radius: 4px;
    object-fit: contain;
    background-color: var(--color-background); /* Use theme background */
}

.image-input[b-9htv0vdv48] {
    flex-grow: 1;
}

.file-name-display[b-9htv0vdv48] {
    font-size: 0.9em;
    color: var(--color-text-secondary); /* Use theme secondary text */
    font-style: italic;
}

.action-buttons[b-9htv0vdv48] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border); /* Use theme border */
}

/* Specific to AdminUsers */
.rz-label-inline[b-9htv0vdv48] {
    margin-left: 8px;
    font-weight: normal !important;
    color: var(--color-text-primary); /* Use theme text */
}

.add-by-station[b-9htv0vdv48] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.add-by-station .rz-dropdown[b-9htv0vdv48] {
    flex-grow: 1;
}
/* _content/PlaycountV2/Components/Prompts/GroupNamePrompt.razor.rz.scp.css */
.group-prompt-container[b-67f85qzzrj] {
    padding: 20px;
}

.prompt-title[b-67f85qzzrj] {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2em;
    color: #333;
}

.prompt-text[b-67f85qzzrj] {
    margin-top: 0;
    margin-bottom: 16px;
    color: #666;
}

.prompt-input[b-67f85qzzrj] {
    width: 100% !important;
    margin-bottom: 8px !important;
}

.prompt-buttons[b-67f85qzzrj] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.validation-error[b-67f85qzzrj] {
    display: block;
    color: #dc3545; /* Red */
    font-size: 0.9em;
    margin-top: -12px;
    margin-bottom: 12px;
}
/* _content/PlaycountV2/Components/Widgets/ComparisonDatePicker.razor.rz.scp.css */
/* Base wrapper and display */
.comp-datepicker-wrapper[b-ldrcxyicdw] {
    position: relative;
    width: auto;
}

.comp-datepicker-display[b-ldrcxyicdw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--color-background); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9em;
}

.comp-datepicker-display:hover[b-ldrcxyicdw] {
    border-color: var(--color-accent); /* <-- CHANGED */
}

.comp-datepicker-display i.fa-chevron-down[b-ldrcxyicdw] {
    margin-left: auto;
}

/* Dropdown */
.comp-datepicker-dropdown[b-ldrcxyicdw] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 1050;
    margin-top: 4px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 290px;
}

/* Calendar structure */
.calendar[b-ldrcxyicdw] {
    width: 260px;
}

.calendar-header[b-ldrcxyicdw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-btn[b-ldrcxyicdw] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-text-primary); /* <-- ADDED */
}

.nav-btn:hover:not(:disabled)[b-ldrcxyicdw] {
    background-color: var(--color-background); /* <-- CHANGED */
}

.nav-btn:disabled[b-ldrcxyicdw] {
    color: var(--color-border); /* <-- CHANGED */
    cursor: not-allowed;
}

.calendar-grid[b-ldrcxyicdw] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.day-name[b-ldrcxyicdw] {
    font-weight: 600;
    font-size: 0.8em;
    color: var(--color-text-secondary); /* <-- CHANGED */
}

.day-cell[b-ldrcxyicdw] {
    padding: 6px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    position: relative;
    color: var(--color-text-primary); /* <-- CHANGED */
}

.day-cell:not(.empty):not(.disabled):not(.selected-range):not(.selected):hover[b-ldrcxyicdw] {
    background-color: var(--color-background); /* <-- CHANGED */
}

.day-cell.empty[b-ldrcxyicdw] {
    cursor: default;
}

.day-cell.today[b-ldrcxyicdw] {
    font-weight: bold;
    border: 1px solid var(--color-accent); /* <-- CHANGED */
}

.day-cell.selected[b-ldrcxyicdw] {
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.3);
    padding: 4px 0;
    font-weight: bold;
}

.day-cell.selected-range[b-ldrcxyicdw] {
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.day-cell.selected-range + .day-cell.selected-range[b-ldrcxyicdw] {
    border-left: none;
}

.day-cell.selected-range.start-hover[b-ldrcxyicdw] {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}
.day-cell.selected-range.end-hover[b-ldrcxyicdw] {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}


.day-cell.selected-start-of-week[b-ldrcxyicdw] {
    border-radius: 4px;
    border: 2px solid white;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.3);
    padding: 4px 0;
    font-weight: bold;
}

.day-cell.selected-start-of-week.start-hover[b-ldrcxyicdw] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.day-cell.selected-range:not(.disabled):hover[b-ldrcxyicdw] {
    filter: brightness(90%);
}

/* --- Disabled Styles --- */
.day-cell.disabled[b-ldrcxyicdw] {
    color: var(--color-border) !important; /* <-- CHANGED */
    background-color: #2b3648; /* Darker than bg */
    cursor: not-allowed;
    text-decoration: line-through;
    border: none !important;
    box-shadow: none !important;
}

.day-cell.explicitly-disabled[b-ldrcxyicdw] {
    color: #7f8b9e !important; /* Lighter disabled text */
    background-color: var(--color-background); /* <-- CHANGED */
    cursor: not-allowed;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0.6; /* <-- ADDED */
}

.day-cell.disabled:hover[b-ldrcxyicdw],
.day-cell.explicitly-disabled:hover[b-ldrcxyicdw] {
    background-color: inherit;
    filter: none !important;
}

/* --- Week Hover Styling --- */
.day-cell.in-range-hover[b-ldrcxyicdw] {
    background-color: #3b83f63d !important; /* Light blue hover */
    color: var(--color-text-primary) !important; /* <-- CHANGED */
    border-radius: 0;
}

.day-cell.start-hover[b-ldrcxyicdw] {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.day-cell.end-hover[b-ldrcxyicdw] {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}


/* Footer */
.dropdown-footer[b-ldrcxyicdw] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--color-border); /* <-- CHANGED */
    padding-top: 12px;
}

.footer-btn[b-ldrcxyicdw] {
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-card-bg); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.footer-btn.apply[b-ldrcxyicdw] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: white;
    border-color: var(--color-accent); /* <-- CHANGED */
}

.footer-btn:hover[b-ldrcxyicdw] {
    opacity: 0.9;
}

.dropdown-error[b-ldrcxyicdw] {
    padding: 8px 12px;
    background-color: #572020; /* Dark red */
    border: 1px solid #dc3545; /* Red border */
    color: #f8d7da; /* Light red text */
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

.comp-datepicker-display:hover[b-ldrcxyicdw] {
    border-color: var(--color-accent);
}

/* --- Mobile Responsive Dropdown Override --- */
@media (max-width: 768px) {
    .comp-datepicker-dropdown[b-ldrcxyicdw] {
        /* Use fixed positioning to break out of the parent container */
        position: fixed;

        /* Position it vertically below the header/settings bar */
        top: 40px;

        /* Stick to the left side of the screen with a small margin */
        left: 10px;

        /* Adjust width to fit the screen with margins */
        width: calc(100vw - 20px);

        /* Constrain width to fit the calendar */
        max-width: 370px;

        /* Ensure it doesn't grow too tall and enables scrolling */
        max-height: 80vh;
        overflow-y: auto;

        /* Add a stronger shadow/border */
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        border: 1px solid var(--color-accent);

        /* Ensure it stays on top */
        z-index: 2000;
    }
}
/* _content/PlaycountV2/Components/Widgets/DateTimePickerRange.razor.rz.scp.css */
.dt-range-picker-wrapper[b-9pf36iouuc] {
    position: relative;
    width: auto; /* Adjust width as needed */
}

.dt-range-display[b-9pf36iouuc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--color-background); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9em;
}

.dt-range-display:hover[b-9pf36iouuc] {
    border-color: var(--color-accent); /* <-- CHANGED */
}

.dt-range-display i.fa-chevron-down[b-9pf36iouuc] {
    margin-left: auto;
}

.dt-range-dropdown[b-9pf36iouuc] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 1050;
    margin-top: 4px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calendars-container[b-9pf36iouuc] {
    display: flex;
    gap: 16px;
}

.calendar[b-9pf36iouuc] {
    width: 260px;
}

.calendar-header[b-9pf36iouuc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-btn[b-9pf36iouuc] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-text-primary); /* <-- ADDED */
}

.nav-btn:hover:not(:disabled)[b-9pf36iouuc] {
    background-color: var(--color-background); /* <-- CHANGED */
}

.nav-btn:disabled[b-9pf36iouuc] {
    color: var(--color-border); /* <-- CHANGED */
    cursor: not-allowed;
}

.calendar-grid[b-9pf36iouuc] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.day-name[b-9pf36iouuc] {
    font-weight: 600;
    font-size: 0.8em;
    color: var(--color-text-secondary); /* <-- CHANGED */
}

.day-cell[b-9pf36iouuc] {
    padding: 6px 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9em;
    color: var(--color-text-primary); /* <-- ADDED */
}

.day-cell:not(.empty):hover[b-9pf36iouuc] {
    background-color: var(--color-background); /* <-- CHANGED */
}
.day-cell.other-month[b-9pf36iouuc] {
    color: var(--color-border); /* <-- CHANGED */
}
.day-cell.today[b-9pf36iouuc] {
    font-weight: bold;
    border: 1px solid var(--color-accent); /* <-- CHANGED */
}

.day-cell.in-range[b-9pf36iouuc] {
    background-color: #3b83f63d; /* <-- Blue accent, but transparent */
    border-radius: 0;
}

.day-cell.selected[b-9pf36iouuc] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: white;
}

.day-cell.selected.start[b-9pf36iouuc] {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
.day-cell.selected.end[b-9pf36iouuc] {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}
/* When start and end are the same day */
.day-cell.selected.start.end[b-9pf36iouuc] {
    border-radius: 50%;
}

.time-selectors[b-9pf36iouuc] { /* <-- ADDED for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: medium;
}

.time-input-group[b-9pf36iouuc] {
    flex: 1;
}
.time-input-group label[b-9pf36iouuc] {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--color-text-secondary); /* <-- CHANGED */
    margin-bottom: 4px;
    display: block;
    text-align: center;
}

.dropdown-footer[b-9pf36iouuc] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--color-border); /* <-- CHANGED */
    padding-top: 12px; /* <-- ADDED */
}

.footer-btn[b-9pf36iouuc] {
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-card-bg); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.footer-btn.apply[b-9pf36iouuc] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: white;
    border-color: var(--color-accent); /* <-- CHANGED */
}
.footer-btn:hover[b-9pf36iouuc] {
    opacity: 0.9;
}

/* Add this rule for disabled dates */
.day-cell.disabled[b-9pf36iouuc] {
    color: var(--color-border); /* <-- CHANGED */
    background-color: #2b3648; /* Darker than bg */
    cursor: not-allowed;
    text-decoration: line-through;
}

.day-cell.disabled:hover[b-9pf36iouuc] {
    background-color: #2b3648; /* Darker than bg */
}

/* Add this rule for the error message */
.dropdown-error[b-9pf36iouuc] {
    padding: 8px 12px;
    background-color: #572020; /* Dark red */
    border: 1px solid #dc3545; /* Red border */
    color: #f8d7da; /* Light red text */
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

/* NEW STYLES FOR TEXT BOXES */
.time-input-boxes[b-9pf36iouuc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.time-input-boxes input[b-9pf36iouuc] {
    width: 50px;
    padding: 6px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 1em;
}

/* Hide the up/down arrows on number inputs */
.time-input-boxes input[b-9pf36iouuc]::-webkit-outer-spin-button,
.time-input-boxes input[b-9pf36iouuc]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.time-input-boxes input[type=number][b-9pf36iouuc] {
    -moz-appearance: textfield;
}

.time-input-colon[b-9pf36iouuc] {
    font-weight: bold;
    font-size: 1.2em;
    padding-bottom: 2px; /* Align with inputs */
}

/* Add this to the end of your CSS file */
.preset-selector[b-9pf36iouuc] {
    border-bottom: 1px solid var(--color-border); /* <-- CHANGED */
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.preset-selector select[b-9pf36iouuc] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 4px;
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    font-size: 0.9em;
}

/* --- NEW: Week Hover/Selection Styling --- */
.day-cell.in-range-hover[b-9pf36iouuc] {
    background-color: #3b83f63d !important; /* Light blue hover */
    border-radius: 0;
}

.day-cell.start-hover[b-9pf36iouuc] {
    border-top-left-radius: 50% !important;
    border-bottom-left-radius: 50% !important;
}

.day-cell.end-hover[b-9pf36iouuc] {
    border-top-right-radius: 50% !important;
    border-bottom-right-radius: 50% !important;
}

.dt-range-display:hover[b-9pf36iouuc] {
    border-color: var(--color-accent);
}

.dt-range-display strong[b-9pf36iouuc] {
    color: var(--color-accent); /* Use the theme's accent color */
    font-weight: 600; /* Make it stand out a bit */
}

/* --- Mobile Responsive Dropdown Override --- */
@media (max-width: 768px) {
    .dt-range-dropdown[b-9pf36iouuc] {
        /* Use fixed positioning to break out of the parent container */
        position: fixed;

        /* Position it vertically below the header/settings bar */
        top: 40px;

        /* Stick to the left side of the screen with a small margin */
        left: 10px;

        /* Adjust width to fit the screen with margins */
        width: calc(100vw - 20px);

        /* Constrain width to fit the calendar (260px) plus padding */
        max-width: 310px;

        /* Ensure it fits vertically (needs space for 2 stacked calendars) */
        max-height: 85vh;
        overflow-y: auto;

        /* Add a stronger shadow/border */
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        border: 1px solid var(--color-accent);

        /* Ensure it stays on top */
        z-index: 2000;
    }

    /* Stack the two calendars vertically */
    .calendars-container[b-9pf36iouuc] {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
/* _content/PlaycountV2/Components/Widgets/GroupSelector.razor.rz.scp.css */
/* --- Dropdown Overlay & Positioning --- */
.station-selector-wrapper[b-82kqrx6vih] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-stations-display[b-82kqrx6vih] {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--color-background); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.selected-stations-display:hover[b-82kqrx6vih] {
    border-color: var(--color-accent); /* <-- ADDED */
}

/* This is the container that gives the dropdown its correct width */
.dropdown-container[b-82kqrx6vih] {
    position: relative;
    flex-grow: 1;
}

.station-dropdown[b-82kqrx6vih] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1050;
    margin-top: 4px;
    padding: 8px;
    box-sizing: border-box;
}

.station-list[b-82kqrx6vih] {
    max-height: 300px;
    overflow-y: auto;
}

.group-count[b-82kqrx6vih] {
    color: var(--color-text-secondary); /* <-- CHANGED */
    font-size: 0.9em;
    margin-left: 8px;
}

/* --- Item Styling --- */
.dropdown-item[b-82kqrx6vih] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-primary); /* <-- ADDED */
}

.dropdown-item:hover[b-82kqrx6vih] {
    background-color: var(--color-accent); /* <-- CHANGED */
}

/* --- 'Create New' Button Styling --- */
.station-list .dropdown-item.create-new[b-82kqrx6vih] {
    color: var(--color-accent); /* <-- CHANGED */
    font-weight: bold;
    border-top: 1px solid var(--color-border); /* <-- CHANGED */
    margin-top: 4px;
    justify-content: flex-start;
}

.station-list .dropdown-item.create-new:hover[b-82kqrx6vih] {
    color: var(--color-text-primary); /* <-- ADDED */
}

.station-list .dropdown-item.create-new i[b-82kqrx6vih] {
    margin-right: 8px;
}

.selected-stations-display .fa-chevron-down[b-82kqrx6vih] {
    margin-left: 8px;
}

.selected-stations-display span[b-82kqrx6vih] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* --- External Delete Button --- */
.btn-delete-current[b-82kqrx6vih] {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    color: #dc3545; /* Keep red */
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1;
}

.btn-delete-current:hover:not(:disabled)[b-82kqrx6vih] {
    background-color: #572020; /* Dark red */
    border-color: #dc3545;
    color: #f8d7da; /* Light red text */
}

.btn-delete-current:disabled[b-82kqrx6vih] {
    color: var(--color-border); /* <-- CHANGED */
    border-color: var(--color-background); /* <-- CHANGED */
    cursor: not-allowed;
}

/* ... existing styles ... */

/* --- Mobile Responsive Dropdown Override --- */
@media (max-width: 768px) {
    .station-dropdown[b-82kqrx6vih] {
        /* Use fixed positioning to break out of the parent container */
        position: fixed;

        /* Position it vertically below the header/settings bar */
        top: 40px;

        /* Stick to the left side of the screen with a small margin */
        left: 10px;

        /* Adjust width to fit the screen with margins */
        width: calc(100vw - 20px);

        /* "A little smaller" - constrain the maximum width */
        max-width: 300px;

        /* Ensure it doesn't grow too tall and enables scrolling */
        max-height: 60vh;
        overflow-y: auto;

        /* Add a stronger shadow/border to separate it from the background */
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        border: 1px solid var(--color-accent);

        /* Ensure it stays on top of other elements */
        z-index: 2000;
    }
}
/* _content/PlaycountV2/Components/Widgets/StationApexChart.razor.rz.scp.css */
.chart-floating-tooltip[b-oncbiyrwkv] {
    position: fixed; /* Float relative to the viewport/window */
    z-index: 9999;   /* Ensure it sits on top of everything */
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Strong shadow for depth */
    backdrop-filter: blur(4px);
    pointer-events: none; /* Allow clicking through it if necessary */
    display: none; /* Hidden by default */
    min-width: 220px;
    transition: top 0.1s ease, left 0.1s ease; /* Smooth movement */
}

/* HIDE ON MOBILE: Breakpoint 1024px (tablets/phones) */
@media (max-width: 1024px) {
    .chart-floating-tooltip[b-oncbiyrwkv] {
        display: none !important;
    }
}

[b-oncbiyrwkv] .apex-annotation-marker {
    stroke-width: 2px;
    r: 4px; /* Radius of the circle */
}

[b-oncbiyrwkv] .apex-annotation-label {
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    opacity: 0.9;
}

/* Default tooltip styling for transparency */
[b-oncbiyrwkv] .apexcharts-tooltip.apexcharts-theme-dark {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-color: rgba(255, 255, 255, 0.1);
}

[b-oncbiyrwkv] .apexcharts-tooltip-series-group {
    padding: 0 !important;
    margin: 0 !important;
}
/* _content/PlaycountV2/Components/Widgets/StationSelector.razor.rz.scp.css */
/* Make the component a positioning context */
.station-selector-wrapper[b-u4ad1for27] {
    position: relative;
}

/* The actual dropdown menu. */
.station-dropdown[b-u4ad1for27] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1050;
    margin-top: 4px;
    padding: 8px;
    box-sizing: border-box;
}

.station-list[b-u4ad1for27] {
    max-height: 300px;
    overflow-y: auto;
}

.selected-stations-display[b-u4ad1for27] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--color-background); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.search-box-wrapper[b-u4ad1for27] {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.search-box[b-u4ad1for27] {
    width: 100%;
    padding: 8px 28px 8px 8px;
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 4px;
    box-sizing: border-box;
    background-color: var(--color-background); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
}

.clear-search-btn[b-u4ad1for27] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.4em;
    color: var(--color-text-secondary); /* <-- CHANGED */
    padding: 0;
    line-height: 1;
}

.clear-search-btn:hover[b-u4ad1for27] {
    color: var(--color-text-primary); /* <-- CHANGED */
}

.dropdown-item[b-u4ad1for27] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.dropdown-item:hover[b-u4ad1for27] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
}

.dropdown-item.select-all[b-u4ad1for27] {
    border-bottom: 1px solid var(--color-border); /* <-- CHANGED */
    font-weight: bold;
}

/* --- On/Off Switch Styles --- */
.switch[b-u4ad1for27] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.station-list .dropdown-item .switch[b-u4ad1for27] {
    pointer-events: none;
}

.switch input[b-u4ad1for27] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-u4ad1for27] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border); /* <-- CHANGED */
    transition: .4s;
}

.slider[b-u4ad1for27]:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white; /* The knob is ALWAYS white */
    transition: .4s;
}

.dropdown-item:hover input:checked + .slider[b-u4ad1for27] {
    background-color: #60a5fa; /* A lighter blue */
    border-color: #60a5fa;
}

input:checked + .slider[b-u4ad1for27] {
    background-color: var(--color-accent); /* <-- CHANGED */
}

input:checked + .slider[b-u4ad1for27]:before {
    transform: translateX(14px);
}

.slider.round[b-u4ad1for27] {
    border-radius: 20px;
}

.slider.round[b-u4ad1for27]:before {
    border-radius: 50%;
}

.selected-stations-display .fa-chevron-down[b-u4ad1for27] {
    margin-left: 8px;
}

.dropdown-item.show-selected[b-u4ad1for27] {
    border-bottom: 1px solid var(--color-border); /* <-- CHANGED */
}

.selected-stations-display:hover[b-u4ad1for27] {
    border-color: var(--color-accent);
}

/* --- Mobile Responsive Dropdown Override --- */
@media (max-width: 768px) {
    .station-dropdown[b-u4ad1for27] {
        /* Use fixed positioning to break out of the parent container */
        position: fixed;

        /* Position it vertically below the header/settings bar */
        top: 40px;

        /* Stick to the left side of the screen with a small margin */
        left: 10px;

        /* Adjust width to fit the screen with margins */
        width: calc(100vw - 20px);

        /* "A little smaller" - constrain the maximum width */
        max-width: 370px;

        /* Ensure it doesn't grow too tall and enables scrolling */
        max-height: 60vh;
        overflow-y: auto;

        /* Add a stronger shadow/border to separate it from the background */
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        border: 1px solid var(--color-accent);

        /* Ensure it stays on top of other elements */
        z-index: 2000;
    }
}
/* _content/PlaycountV2/Components/Widgets/TimeSlotPicker.razor.rz.scp.css */
.timeslot-dropdown[b-78jjmg4z40] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg); /* <-- CHANGED */
    border: 1px solid var(--color-border); /* <-- CHANGED */
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 1050;
    margin-top: 4px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
}

.timeslot-content[b-78jjmg4z40] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setting-item-popup[b-78jjmg4z40] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-item-popup label[b-78jjmg4z40] {
    font-weight: 600;
    color: var(--color-text-primary); /* <-- CHANGED */
}

.day-picker-grid[b-78jjmg4z40] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.day-item[b-78jjmg4z40] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.day-item label[b-78jjmg4z40] {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
    color: var(--color-text-secondary); /* <-- CHANGED */
}

.hour-picker-row[b-78jjmg4z40] {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.hour-picker-row select[b-78jjmg4z40] {
    position: relative;
    border-radius: 12px;
    min-height: 30px;
    text-align: center;
    box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 30%);
    border: 1px solid var(--color-border); /* <-- CHANGED */
    padding: 4px 8px;
    flex-grow: 1;
    background-color: var(--color-background); /* <-- ADDED */
    color: var(--color-text-primary); /* <-- ADDED */
}

.dropdown-footer[b-78jjmg4z40] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--color-border); /* <-- CHANGED */
    padding-top: 12px;
}

.footer-btn[b-78jjmg4z40] {
    border: 1px solid var(--color-border); /* <-- CHANGED */
    background-color: var(--color-card-bg); /* <-- CHANGED */
    color: var(--color-text-primary); /* <-- ADDED */
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.footer-btn.apply[b-78jjmg4z40] {
    background-color: var(--color-accent); /* <-- CHANGED */
    color: white;
    border-color: var(--color-accent); /* <-- CHANGED */
}

.footer-btn:hover[b-78jjmg4z40] {
    opacity: 0.9;
}
/* _content/PlaycountV2/Components/Widgets/UserSettingsBar.razor.rz.scp.css */
/* --- Wrapper: holds the tab and the bar --- */
.settings-bar-wrapper[b-o3lq5fwi3d] {
    position: relative;
    /* User's margin to pull it up */
    margin: -6px 4px 2px 4px;
    z-index: 10;
    /* Add flex display */
    display: flex;
    flex-direction: column;
}

/* --- This is the visible "pull-tab" --- */
.filter-toggle-wrapper[b-o3lq5fwi3d] {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* User's shadow */
    box-shadow: inset 0 9px 14px 0 black;
    margin: 0 auto;
    width: 120px;
    height: 20px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    position: relative;
    transition: background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    margin-top 0.3s ease-in-out, /* This animates the margin */
    order 0s linear 0.3s; /* This delays the order-swap */
    z-index: -1;
    /* Default order (at the top) */
    order: 1;
}

/* --- The button is just a container for the text/icon --- */
.filter-toggle-btn[b-o3lq5fwi3d] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 0.9em;
    cursor: pointer;
    padding: 0 8px;
    line-height: 20px;
}

/* --- Arrow Icon --- */
.filter-toggle-btn i[b-o3lq5fwi3d] {
    color: var(--color-text-primary);
    transition: transform 0.3s ease, color 0.2s ease;
    font-size: 0.9em;
    flex-shrink: 0;
}

/* --- Text inside tab --- */
.filter-toggle-text[b-o3lq5fwi3d] {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

/* --- Hover State --- */
.filter-toggle-wrapper:hover[b-o3lq5fwi3d] {
    background-color: var(--color-card-bg);
    border-color: var(--color-accent);
}

/* --- Open State (Arrow Flip) --- */
.filter-toggle-btn.open i[b-o3lq5fwi3d] {
    transform: rotate(180deg);
}

/* --- This is the sliding drawer --- */
.settings-bar[b-o3lq5fwi3d] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 8px;
    flex-wrap: wrap;
    font-size: 0.8em;
    font-weight: 500;
    justify-content: center;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-secondary);

    /* This pulls the bar up "under" the tab's border */
    margin-top: -1px;

    transition: max-height 0.3s ease-in-out,
    padding-top 0.3s ease-in-out,
    padding-bottom 0.3s ease-in-out,
    visibility 0.3s,
    border-radius 0.1s 0.2s,
    order 0s linear 0.3s,
    overflow 0s linear 0.3s;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    visibility: hidden;
    overflow: hidden;

    /* Default order (at the bottom) */
    order: 2;
}

/* --- --- ---
   OPEN STATE CHANGES
   --- --- --- */

/* 1. Wrapper is open: Move bar to the top */
.settings-bar-wrapper.open .settings-bar[b-o3lq5fwi3d] {
    order: 1; /* Bar moves to the top */
    max-height: 500px;
    padding-top: 6px;
    padding-bottom: 2px;
    visibility: visible;

    /* Make bottom corners sharp to connect to tab */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s; /* Added one more 0s */
    overflow: visible;

    box-shadow: inset 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

/* 2. Wrapper is open: Move tab to the bottom */
.settings-bar-wrapper.open .filter-toggle-wrapper[b-o3lq5fwi3d] {
    order: 2; /* Tab moves to the bottom */

    /* Flip border and shadow */
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    box-shadow: inset 0 9px 14px 0 black; /* <-- MODIFIED: Flipped shadow */

    /* Flip radius to be at the bottom */
    border-bottom-left-radius: 6px;  /* <-- MODIFIED */
    border-bottom-right-radius: 6px; /* <-- MODIFIED */
    border-top-left-radius: 0;       /* <-- MODIFIED */
    border-top-right-radius: 0;      /* <-- MODIFIED */

    /* Overlap the bar's bottom border and hide half the tab */
    margin-top: -6px;
    transition-delay: 0s;
}


/* --- Rest of the file --- */

.click-away-overlay[b-o3lq5fwi3d] {
    position: fixed;
    inset: 0;
    z-index: 9;
}

.setting-item[b-o3lq5fwi3d] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-item label[b-o3lq5fwi3d] {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.setting-value[b-o3lq5fwi3d] {
    background-color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* --- Station Selector Styles --- */
.station-selector-wrapper[b-o3lq5fwi3d] {
    position: relative;
    width: 250px;
}

.selected-stations-display[b-o3lq5fwi3d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.station-dropdown[b-o3lq5fwi3d] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 4px;
    padding: 8px;
    box-sizing: border-box;
}

.search-box[b-o3lq5fwi3d] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 8px;
    box-sizing: border-box;
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

.station-list[b-o3lq5fwi3d] {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item[b-o3lq5fwi3d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--color-text-primary);
}

.dropdown-item:hover[b-o3lq5fwi3d] {
    background-color: var(--color-accent);
}

.dropdown-item.select-all[b-o3lq5fwi3d] {
    border-bottom: 1px solid var(--color-border);
    font-weight: bold;
}

.select-btn[b-o3lq5fwi3d] {
    border: none;
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.select-btn:hover[b-o3lq5fwi3d] {
    background: #0056b3;
}


/* --- On/Off Switch Styles --- */
.switch[b-o3lq5fwi3d] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input[b-o3lq5fwi3d] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-o3lq5fwi3d] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider[b-o3lq5fwi3d]:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider[b-o3lq5fwi3d] {
    background-color: #2196F3;
}

input:checked + .slider[b-o3lq5fwi3d]:before {
    transform: translateX(14px);
}

.slider.round[b-o3lq5fwi3d] {
    border-radius: 20px;
}

.slider.round[b-o3lq5fwi3d]:before {
    border-radius: 50%;
}

.apply-btn[b-o3lq5fwi3d] {
    padding: 6px 16px;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
}

.apply-btn:hover[b-o3lq5fwi3d] {
    background-color: #0056b3;
}

.apply-btn:disabled[b-o3lq5fwi3d] {
    background-color: var(--color-border);
    cursor: not-allowed;
    opacity: 0.6;
}

.timeslot-display[b-o3lq5fwi3d] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9em;
    min-width: 200px;
    justify-content: space-between;
}

.timeslot-display:hover[b-o3lq5fwi3d] {
    border-color: var(--color-accent);
}

.timeslot-display i.fa-chevron-down[b-o3lq5fwi3d] {
    margin-left: auto;
}

.setting-item.top-stations-count[b-o3lq5fwi3d] {
    padding: 6px 8px; /* Match other items */
}

.setting-item.top-stations-count .rz-numeric[b-o3lq5fwi3d] {
    width: 80px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.setting-item.top-stations-count .rz-numeric-input[b-o3lq5fwi3d] {
    height: 30px;
    padding: 6px 8px;
    box-sizing: border-box;
    background-color: var(--color-background);
    color: var(--color-text-primary);
    border: none; /* Input border is handled by wrapper */
}

/* ADD THESE NEW RULES for the buttons */
.setting-item.top-stations-count .rz-spinner-button[b-o3lq5fwi3d] {
    background-color: var(--color-border);
    color: var(--color-text-primary);
    box-shadow: none;
}

.setting-item.top-stations-count .rz-spinner-button:hover[b-o3lq5fwi3d] {
    background-color: var(--color-accent);
}

.setting-item.top-stations-count .rz-numeric:hover[b-o3lq5fwi3d] {
    border-color: var(--color-accent) !important;
}

.additional-controls-wrapper[b-o3lq5fwi3d] {
    display: flex;
    align-items: center;
    gap: 6px; /* Matches the gap of .settings-bar */
    flex-wrap: wrap;
}

.actions-wrapper[b-o3lq5fwi3d] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto; /* This pushes the whole block to the right */
}

[b-o3lq5fwi3d] .user-bar-radzen-btn.rz-button {
    border-radius: 4px; /* Match rounded edges */
    padding: 0;
}

[b-o3lq5fwi3d] .user-bar-radzen-btn.rz-button .rz-button-box {
    padding: 4px 12px; /* Match padding from apply-btn */
    font-size: 0.9em;  /* Match smaller text from apply-btn */
    font-weight: 600;  /* Match font weight from apply-btn */
}
