/* _content/HnHMapperServer.Web/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-lxzbt996bv] {
    background: #fff3cd;
    border-top: 3px solid #ff6b6b;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 16px 20px;
    position: fixed;
    width: 100%;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #000;
}

    #blazor-error-ui .dismiss[b-lxzbt996bv] {
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 16px;
        font-size: 20px;
        font-weight: bold;
        color: #000;
        text-decoration: none;
        padding: 4px 8px;
        line-height: 1;
    }

        #blazor-error-ui .dismiss:hover[b-lxzbt996bv] {
            color: #ff6b6b;
        }

    #blazor-error-ui .reload[b-lxzbt996bv] {
        display: inline-block;
        cursor: pointer;
        background: #ff6b6b;
        color: white;
        padding: 8px 16px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        margin-right: 8px;
    }

        #blazor-error-ui .reload:hover[b-lxzbt996bv] {
            background: #ff5252;
        }
/* _content/HnHMapperServer.Web/Components/Map/Sidebar/EventsPanel.razor.rz.scp.css */
/* ===========================
   Events Panel Styling
   Enhanced visual design for timer groups and individual timers
   =========================== */

/* Expansion panels container */
[b-a0ba6sqtnp] .mud-expansion-panels {
    gap: 12px;
}

/* Individual expansion panel - card-like appearance */
[b-a0ba6sqtnp] .mud-expansion-panel {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

[b-a0ba6sqtnp] .mud-expansion-panel:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Expansion panel header */
[b-a0ba6sqtnp] .mud-expand-panel-header {
    padding: 12px 16px !important;
    min-height: 56px !important;
}

/* Expansion panel content wrapper */
[b-a0ba6sqtnp] .mud-expand-panel-content {
    padding: 0 !important;
}

/* Timer list within expansion panel */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list {
    padding: 8px 0;
}

/* Individual timer list item */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item {
    padding: 12px 16px !important;
    border-radius: 6px;
    margin: 4px 8px;
    transition: all 0.2s ease-in-out;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Timer item content stack */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-stack {
    gap: 8px;
}

/* Timer title row with icon and badge */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item > .mud-stack > .mud-stack:first-child {
    margin-bottom: 4px;
}

/* Timer icon */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item img {
    border-radius: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Timer title text */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-typography-body2 {
    font-weight: 500;
    line-height: 1.5;
}

/* Timer badge */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-chip {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 8px;
    height: 24px;
}

/* Progress bar styling */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-progress-linear {
    height: 6px !important;
    border-radius: 3px;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

[b-a0ba6sqtnp] .mud-expansion-panel .mud-progress-linear .mud-progress-linear-bar {
    border-radius: 3px;
}

/* Description text */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-typography-caption {
    line-height: 1.4;
    padding: 2px 0;
}

/* Ready at time text */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-typography-caption:last-of-type {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Action buttons row */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-stack.mud-stack-row:last-child {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Edit/Delete buttons */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-button-root {
    padding: 4px 12px;
    min-height: 32px;
    font-size: 0.8rem;
}

/* Divider between timers */
[b-a0ba6sqtnp] .mud-expansion-panel .mud-divider {
    margin: 4px 8px;
    opacity: 0.4;
}

/* Group header chip (count badge) */
[b-a0ba6sqtnp] .mud-expand-panel-header .mud-chip {
    font-weight: 700;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
}

/* Urgent group styling (red) */
[b-a0ba6sqtnp] .timer-group-urgent {
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.03);
}

/* Soon group styling (orange) */
[b-a0ba6sqtnp] .timer-group-soon {
    border-left: 4px solid #ff9800;
    background: rgba(255, 152, 0, 0.03);
}

/* Upcoming group styling (blue) */
[b-a0ba6sqtnp] .timer-group-upcoming {
    border-left: 4px solid #2196f3;
    background: rgba(33, 150, 243, 0.03);
}

/* Later group styling (gray) */
[b-a0ba6sqtnp] .timer-group-later {
    border-left: 4px solid #9e9e9e;
    background: rgba(158, 158, 158, 0.02);
}

/* Header section with title and New Timer button */
.header-section[b-a0ba6sqtnp] {
    margin-bottom: 16px;
}

/* Filter tabs */
[b-a0ba6sqtnp] .mud-tabs {
    margin-bottom: 16px;
}

/* Tab content area */
[b-a0ba6sqtnp] .mud-tab-panel {
    padding: 8px 0;
}

/* Empty state alert */
[b-a0ba6sqtnp] .mud-alert {
    margin: 16px 8px;
    border-radius: 8px;
}

/* History tab list */
[b-a0ba6sqtnp] .mud-tab-panel:last-child .mud-list-item {
    padding: 12px 16px !important;
    margin: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease-in-out;
}

[b-a0ba6sqtnp] .mud-tab-panel:last-child .mud-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

/* History item icon */
[b-a0ba6sqtnp] .mud-tab-panel:last-child .mud-list-item img {
    border-radius: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    [b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item {
        padding: 10px 12px !important;
        margin: 4px 6px;
    }

    [b-a0ba6sqtnp] .mud-expand-panel-header {
        padding: 10px 12px !important;
    }

    [b-a0ba6sqtnp] .mud-expansion-panel .mud-list-item .mud-button-root {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}
/* _content/HnHMapperServer.Web/Components/Map/Sidebar/LayersPanel.razor.rz.scp.css */
/* ============================================
   LAYERS PANEL STYLING
   Component-specific styles for layer visibility toggles
   ============================================ */

/* Container with glassmorphism background for better visibility against map */
.layers-container[b-5c5anmno2i] {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Base layer row styling */
[b-5c5anmno2i] .layer-row {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect for all layer rows */
[b-5c5anmno2i] .layer-row:hover {
    background-color: rgba(100, 181, 246, 0.08);
}

/* Primary layer rows - more prominent with left border accent */
[b-5c5anmno2i] .layer-row-primary {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--mud-palette-primary);
    padding-left: 9px; /* Adjusted for border */
}

/* Primary layer hover - more prominent */
[b-5c5anmno2i] .layer-row-primary:hover {
    background-color: rgba(100, 181, 246, 0.15);
    transform: translateX(2px);
}

/* Sub-toggle rows - indented and subdued */
[b-5c5anmno2i] .layer-row-sub {
    margin-left: 32px;
    padding: 6px 10px;
    font-size: 0.95em;
    background-color: rgba(255, 255, 255, 0.04);
}

/* Sub-toggle hover */
[b-5c5anmno2i] .layer-row-sub:hover {
    background-color: rgba(100, 181, 246, 0.12);
}

/* Disabled state for sub-toggles when parent layer is off */
[b-5c5anmno2i] .layer-row-disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Disabled text styling */
[b-5c5anmno2i] .layer-row-disabled .mud-typography {
    color: rgba(66, 66, 66, 0.5) !important;
}

/* Icon styling for layer labels */
[b-5c5anmno2i] .layer-icon {
    color: var(--mud-palette-text-secondary);
}

/* Switch enhancement - ensure proper sizing for Medium switches */
[b-5c5anmno2i] .layer-switch {
    flex-shrink: 0; /* Prevent switch from shrinking */
}

/* Override any global Small size issues for switches in this component */
[b-5c5anmno2i] .layer-switch .mud-switch-thumb {
    /* Ensure thumb is properly sized */
}

/* Ensure switch track is visible on glassmorphism background */
[b-5c5anmno2i] .layer-switch .mud-switch-track {
    opacity: 0.5;
}

/* Active switch track - more visible */
[b-5c5anmno2i] .layer-switch.mud-switch-checked .mud-switch-track {
    opacity: 0.7;
}

/* Spacing improvements */
[b-5c5anmno2i] .mud-stack > *:not(:last-child) {
    margin-bottom: 4px;
}

/* Divider styling - subtle in glassmorphism context */
[b-5c5anmno2i] .mud-divider {
    margin: 8px 0 !important;
    opacity: 0.3;
}

/* Improve switch visibility on hover */
[b-5c5anmno2i] .layer-row:hover .layer-switch {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

/* Active layer row (when switch is on) - subtle glow */
[b-5c5anmno2i] .layer-row:has(.mud-switch-checked) {
    box-shadow: 0 0 8px rgba(100, 181, 246, 0.2);
}

/* Sub-toggle active state */
[b-5c5anmno2i] .layer-row-sub:has(.mud-switch-checked) {
    box-shadow: 0 0 6px rgba(100, 181, 246, 0.15);
    background-color: rgba(100, 181, 246, 0.1);
}
/* _content/HnHMapperServer.Web/Components/Map/Sidebar/MapSidebar.razor.rz.scp.css */
/* Drawer header with mode selection buttons */
[b-8jxnvot724] .drawer-header {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent; /* Let glassmorphism show through */
}

/* Mode selection buttons (Players, Markers, Layers, Maps) */
[b-8jxnvot724] .mode-button {
    min-height: 80px;
    text-transform: none;
    transition: all 0.2s ease-in-out;
}

[b-8jxnvot724] .mode-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Make the drawer a flex container for proper height distribution */
[b-8jxnvot724] .map-sidebar.mud-drawer {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header should not shrink */
[b-8jxnvot724] .drawer-header {
    flex-shrink: 0;
}

/* Drawer content area with scrolling and padding */
.drawer-content[b-8jxnvot724] {
    padding: 16px;
    overflow-y: auto;
    overflow-x: visible; /* Allow popovers to overflow horizontally */
    flex: 1; /* Take remaining vertical space */
    min-height: 0; /* Critical for flex scroll behavior */
    position: relative; /* Create positioning context for popovers */
}

/* Selected item in player/marker lists */
[b-8jxnvot724] .mud-selected-item {
    background-color: rgba(var(--mud-palette-success-rgb), 0.08) !important;
    border-left: 3px solid var(--mud-palette-success);
}

/* Lighten the drawer overlay for better map visibility on mobile/tablet */
[b-8jxnvot724] .mud-drawer-overlay,
[b-8jxnvot724] .mud-overlay,
[b-8jxnvot724] .mud-overlay-dark {
    background-color: rgba(0,0,0,0.25) !important; /* Lighter than default (~0.5-0.6) */
}

/* Close button for mobile - hidden by default */
.mobile-close-button[b-8jxnvot724] {
    display: none;
}

/* Phone-specific adjustments (screens ≤600px) */
@media (max-width: 600px) {
    /* Make drawer full-width on phones */
    [b-8jxnvot724] .map-sidebar.mud-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    /* Show close button on phones */
    .mobile-close-button[b-8jxnvot724] {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 8px;
    }
    
    /* Compact mode buttons to save vertical space */
    [b-8jxnvot724] .mode-button {
        min-height: 56px;
    }

    /* Drawer content uses flexbox, no height adjustment needed */
}

/* Tablet-specific adjustments (601px - 960px) */
@media (min-width: 601px) and (max-width: 960px) {
    /* On tablets, keep the responsive width (85vw max) */
    /* Close button stays hidden on tablets */
}

/* _content/HnHMapperServer.Web/Components/Map/Sidebar/MapsPanel.razor.rz.scp.css */
/* Container with glassmorphism background for better visibility against map */
.maps-panel-container[b-8gsryd7xki] {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Inline dropdown styling to keep the list anchored under the trigger */
.select-wrapper[b-8gsryd7xki] {
    position: relative;
}

.select-dropdown[b-8gsryd7xki] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    z-index: 2001; /* above drawer content */
}

/* Paper surface styling for dropdown */
[b-8gsryd7xki] .select-dropdown .mud-paper {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    box-shadow: var(--mud-elevation-8);
    overflow: hidden;
}

/* Constrain list height and make it scrollable */
[b-8gsryd7xki] .select-dropdown .mud-list {
    max-height: 300px;
    overflow-y: auto;
}

/* Hover feedback for items */
[b-8gsryd7xki] .select-dropdown .mud-list-item:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.08);
}


/* _content/HnHMapperServer.Web/Components/Pages/Map.razor.rz.scp.css */
/* Map page container - fixed positioning to escape MudMainContent padding */
.map-page[b-ouzf29q9ld] {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    overflow: hidden;
    z-index: 0;
}

/* Loading screen shown when permission is missing or data is loading */
.map-loading[b-ouzf29q9ld] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
}

/* Context menu styling (for tile and marker actions) */
.context-menu[b-ouzf29q9ld] {
    min-width: 200px;
}

/* Drawer container for the right-side sidebar */
.map-drawer-container[b-ouzf29q9ld] {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Fullscreen map view container behind the sidebar */
.map-view-container-fullscreen[b-ouzf29q9ld] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1); /* Match MudBlazor drawer animation */
}

/* When sidebar is open, reduce map width to reveal background behind sidebar */
.map-view-container-fullscreen.sidebar-open[b-ouzf29q9ld] {
    width: calc(100% - min(400px, 85vw)); /* Match MapSidebar width from MapSidebar.razor */
}

/* Mobile: Keep map full width since sidebar is overlay mode (covers map) */
@media (max-width: 600px) {
    .map-view-container-fullscreen.sidebar-open[b-ouzf29q9ld] {
        width: 100%;
    }
}

/* Custom scrollbar styling for map page */
.map-page[b-ouzf29q9ld], .map-page *[b-ouzf29q9ld] {
    scrollbar-width: thin;
    scrollbar-color: #404040 #000;
}

.map-page *[b-ouzf29q9ld]::-webkit-scrollbar {
    width: 8px;
}

.map-page *[b-ouzf29q9ld]::-webkit-scrollbar-track {
    background: #000;
}

.map-page *[b-ouzf29q9ld]::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

.map-page *[b-ouzf29q9ld]::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Phone-specific: Hide menu FAB when sidebar is open (user can use close button in sidebar) */
@media (max-width: 600px) {
    .map-page[b-ouzf29q9ld] {
        --fab-visibility: hidden;
    }
}
/* _content/HnHMapperServer.Web/Components/Shared/NotificationCenter.razor.rz.scp.css */
.notification-item[b-i75rdvkjku] {
    transition: background-color 0.2s ease;
}

.notification-item:hover[b-i75rdvkjku] {
    background-color: rgba(0, 0, 0, 0.04);
}

.notification-item.unread[b-i75rdvkjku] {
    background-color: rgba(33, 150, 243, 0.08);
}

.notification-item.unread:hover[b-i75rdvkjku] {
    background-color: rgba(33, 150, 243, 0.12);
}

.notification-item.read[b-i75rdvkjku] {
    opacity: 0.7;
}

.notification-header[b-i75rdvkjku] {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}
