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

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

.sidebar[b-2od96pp6rs] {
    background-color: var(--bs-primary, #c8102e);
}

.top-row[b-2od96pp6rs] {
    background-color: var(--bs-primary, #c8102e);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-2od96pp6rs]  a, .top-row[b-2od96pp6rs]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--bs-secondary-color);
    transition: color 0.2s ease-in-out;
}

.top-row[b-2od96pp6rs]  a:hover, .top-row[b-2od96pp6rs]  .btn-link:hover {
    text-decoration: underline;
    color: var(--bs-primary);
}

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

.auth-section[b-2od96pp6rs] {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.auth-section .btn[b-2od96pp6rs] {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
}
@media (max-width: 640.98px) {
    .top-row[b-2od96pp6rs] {
        justify-content: space-between;
    }

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

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

    .sidebar[b-2od96pp6rs] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

    .top-row[b-2od96pp6rs], article[b-2od96pp6rs] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2od96pp6rs] {
    color-scheme: light only;
    background: var(--bs-warning);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-2od96pp6rs] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Navigation menu styling - Using Bootstrap variables */
.navbar-toggler[b-kh7cgz01cn] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-kh7cgz01cn] {
    background-color: rgba(255, 255, 255, 0.25);
}

.top-row[b-kh7cgz01cn] {
    height: 3.5rem;
    background-color: var(--bs-primary, #c8102e);
}

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

.bi[b-kh7cgz01cn] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
}

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

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

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

.nav-link[b-kh7cgz01cn] {
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    padding: 0 1rem;
    background: none;
    border: none;
    text-align: left;
    color: #d7d7d7;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav-link:focus[b-kh7cgz01cn] {
    outline: none;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-link.active[b-kh7cgz01cn] {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

/* Group toggle button styling */
.nav-group-toggle[b-kh7cgz01cn] {
    position: relative;
    justify-content: space-between;
    font-weight: 500;
}

.nav-group-toggle:hover .submenu-arrow i[b-kh7cgz01cn] {
    transform: rotate(90deg);
}

.submenu-arrow[b-kh7cgz01cn] {
    transition: transform 0.2s ease;
    margin-left: auto;
}

.submenu-arrow i[b-kh7cgz01cn] {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.navbar-toggler:checked[b-kh7cgz01cn] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-kh7cgz01cn] {
    min-height: 3.5rem;
    background-color: var(--bs-primary);
}

.navbar-brand[b-kh7cgz01cn] {
    font-size: 1.1rem;
    color: white !important;
    font-weight: 600;
    background: transparent !important;
}

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

.bi-house-door-fill-nav-menu[b-kh7cgz01cn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0L.646 6.146a.5.5 0 0 0-.146.354v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-info-circle-fill-nav-menu[b-kh7cgz01cn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-info-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E");
}

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

.bi-list-nested-nav-menu[b-kh7cgz01cn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

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

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

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

.nav-item[b-kh7cgz01cn]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.nav-item[b-kh7cgz01cn]  a.active {
    background-color: var(--bs-secondary);
    color: white;
}

.nav-item[b-kh7cgz01cn]  .nav-link:hover {
    background-color: var(--bs-warning);
    color: var(--bs-body-color);
}

/* Multi-level navigation styles */
.nav-menu-group[b-kh7cgz01cn] {
    width: 100%;
}

.nav-group-toggle[b-kh7cgz01cn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: #d7d7d7;
    background: none;
    border-radius: 4px;
    height: 3rem;
    line-height: 3rem;
    transition: all 0.2s ease-in-out;
}

.nav-group-toggle:hover[b-kh7cgz01cn] {
    background-color: var(--bs-warning);
    color: var(--bs-body-color);
}

.submenu-arrow[b-kh7cgz01cn] {
    margin-left: auto;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.submenu-arrow i[b-kh7cgz01cn] {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
}

/* When button is expanded, rotate the arrow */
.nav-group-toggle.expanded .submenu-arrow i[b-kh7cgz01cn] {
    transform: rotate(90deg);
}

.nav-submenu[b-kh7cgz01cn] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    background-color: var(--bs-dark);
    margin-left: 1rem;
    border-left: 2px solid var(--bs-secondary);
    opacity: 0;
}

.nav-submenu.expanded[b-kh7cgz01cn] {
    max-height: 300px;
    opacity: 1;
}

.nav-submenu .nav-item[b-kh7cgz01cn] {
    padding-bottom: 0.25rem;
}

.nav-submenu .nav-sublink[b-kh7cgz01cn] {
    padding-left: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease-in-out;
}

.nav-submenu .nav-sublink:hover[b-kh7cgz01cn] {
    background-color: var(--bs-secondary);
    color: white;
}

/* Add new icons for weather-related items */
.bi-cloud-drizzle-fill-nav-menu[b-kh7cgz01cn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-cloud-drizzle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M4.158 12.025a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm6 0a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm-3.5 1.5a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm6 0a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317zm.747-8.498a5.001 5.001 0 0 0-9.499-1.004A3.5 3.5 0 1 0 3.5 11H13a3 3 0 0 0 .405-5.973z'/%3E%3C/svg%3E");
}

.nav-scrollable[b-kh7cgz01cn] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-kh7cgz01cn] {
    display: block;
}

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

    .nav-scrollable[b-kh7cgz01cn] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Additional styling for better visual appearance */
.nav-link[b-kh7cgz01cn] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu-group[b-kh7cgz01cn] {
    width: 100%;
}

.nav-sublink.active[b-kh7cgz01cn] {
    background-color: var(--bs-secondary);
    color: white;
    border-left: 3px solid var(--bs-warning);
}
