/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1sheihqdkq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1sheihqdkq] {
    flex: 1;
}

.sidebar[b-1sheihqdkq] {
    /* light mode: silver gradient */
    background: linear-gradient(180deg, #f7f9fb 0%, #e6eef5 100%);
    width: 250px;
    min-width: 250px;
    transition: width 0.25s ease, min-width 0.25s ease;
    overflow: hidden;
}

/* dark mode: dark silver gradient */
html.theme-dark .sidebar[b-1sheihqdkq] {
    background: linear-gradient(180deg, #4a4a4c 0%, #2f3032 100%);
}

.sidebar-collapsed[b-1sheihqdkq] {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.sidebar-toggler-fixed[b-1sheihqdkq] {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    /* light mode: match sidebar silver */
    background: linear-gradient(180deg, #dfe7ed 0%, #c8d4dd 100%);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* dark mode toggler */
html.theme-dark .sidebar-toggler-fixed[b-1sheihqdkq] {
    background: linear-gradient(180deg, #4a4a4c 0%, #2f3032 100%);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.sidebar-toggler-fixed:hover[b-1sheihqdkq] {
    opacity: 0.85;
}

.hamburger-icon[b-1sheihqdkq] {
    display: inline-block;
    width: 1.25rem;
    height: 0.9rem;
    background: linear-gradient(to bottom,
        currentColor 0%, currentColor 15%,
        transparent 15%, transparent 40%,
        currentColor 40%, currentColor 55%,
        transparent 55%, transparent 80%,
        currentColor 80%, currentColor 95%,
        transparent 95%);
}

.top-row[b-1sheihqdkq] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.format-toggle-btn[b-1sheihqdkq],
.unit-toggle-btn[b-1sheihqdkq] {
    appearance: none;
    border: 1px solid rgba(0,0,0,0.18);
    background: transparent; /* match the top row panel background */
    border-radius: 10px;
    padding: 0.25rem 0.55rem;
    font-weight: 700;
    color: #0d6efd;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1;
}

.format-toggle-btn:hover[b-1sheihqdkq],
.unit-toggle-btn:hover[b-1sheihqdkq] {
    background: rgba(13,110,253,0.08);
}

.format-toggle-btn:focus-visible[b-1sheihqdkq],
.unit-toggle-btn:focus-visible[b-1sheihqdkq] {
    outline: 2px solid rgba(13,110,253,0.45);
    outline-offset: 2px;
}

.toggle-icon[b-1sheihqdkq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle-text[b-1sheihqdkq] {
    display: inline-block;
    min-width: 2.1rem;
    text-align: center;
}

html.theme-dark .format-toggle-btn[b-1sheihqdkq],
html.theme-dark .unit-toggle-btn[b-1sheihqdkq] {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    color: #9ecbff;
}

html.theme-dark .format-toggle-btn:hover[b-1sheihqdkq],
html.theme-dark .unit-toggle-btn:hover[b-1sheihqdkq] {
    background: rgba(255,255,255,0.08);
}

    .theme-toggle-btn[b-1sheihqdkq] {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.25rem;
        margin-right: 0.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: inherit;
    }

    .theme-toggle-btn:hover[b-1sheihqdkq] {
        opacity: 0.8;
    }

    .theme-icon[b-1sheihqdkq] {
        display: inline-flex;
        align-items: center;
    }

    .top-row[b-1sheihqdkq]  a, .top-row .btn-link[b-1sheihqdkq] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-1sheihqdkq] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-1sheihqdkq] {
        display: none;
    }

    .top-row.auth[b-1sheihqdkq] {
        justify-content: space-between;
    }

    .top-row a[b-1sheihqdkq], .top-row .btn-link[b-1sheihqdkq] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1sheihqdkq] {
        flex-direction: row;
    }

    .sidebar[b-1sheihqdkq] {
        width: 250px;
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .sidebar-collapsed[b-1sheihqdkq] {
        width: 0 !important;
        min-width: 0 !important;
    }

    .top-row[b-1sheihqdkq] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-1sheihqdkq], article[b-1sheihqdkq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dysi7x7xyl] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dysi7x7xyl] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    padding-left: 4rem !important; /* Clear fixed hamburger icon */
}

.navbar-brand[b-dysi7x7xyl] {
    font-size: 1.1rem;
}

.oi[b-dysi7x7xyl] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-dysi7x7xyl] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dysi7x7xyl] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dysi7x7xyl] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dysi7x7xyl]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-dysi7x7xyl]  a.active {
    background-color: rgba(255,255,255,0.12);
    color: white;
    /* selected indicator: blue instead of red */
    border-top: 3px solid #0d6efd !important;
}

.nav-item[b-dysi7x7xyl]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dysi7x7xyl] {
        display: none;
    }

    .collapse[b-dysi7x7xyl] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
/* /Pages/Components/WorldMap.razor.rz.scp.css */
.map-container.world-map-container[b-o4yq79zl01] {
	/* ocean */
	background: radial-gradient(1200px 500px at 50% 40%, rgba(43,120,214,0.18) 0%, rgba(3,24,46,0.92) 55%, rgba(0,10,20,0.98) 100%) !important;
}

.world-map-base[b-o4yq79zl01] {
	position: relative;
	z-index: 1;
}

/* City markers (unselected) in very light blue */
.world-map-container .city-marker:not(.active-marker)[b-o4yq79zl01] {
	background-color: rgba(207, 230, 255, 0.92) !important;
	border-color: rgba(255, 255, 255, 0.95) !important;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.world-map-container .city-marker:not(.active-marker):hover[b-o4yq79zl01] {
	background-color: rgba(230, 246, 255, 0.98) !important;
	border-color: rgba(255, 255, 255, 1) !important;
}

.world-map-click-layer[b-o4yq79zl01] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: pointer;
	background: transparent;
}
