/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-owde6xqbzz] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-owde6xqbzz] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content[b-owde6xqbzz] {
    flex: 1;
}

.sidebar[b-owde6xqbzz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-owde6xqbzz] {
    background-image: linear-gradient(90deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    border-bottom: none;
    justify-content: flex-end;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
}

    .top-row[b-owde6xqbzz]  a, .top-row[b-owde6xqbzz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #8ab4f8;
        font-weight: 500;
    }

    .top-row[b-owde6xqbzz]  a:hover, .top-row[b-owde6xqbzz]  .btn-link:hover {
        text-decoration: underline;
        color: #fff;
    }

    .top-row[b-owde6xqbzz]  .nav-link {
        color: #8ab4f8 !important;
        font-weight: 500;
    }

    .top-row[b-owde6xqbzz]  .nav-link:hover {
        color: #fff !important;
    }

    .top-row[b-owde6xqbzz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* CSS-only dropdown for My Account */
[b-owde6xqbzz] .account-dropdown {
    position: relative;
    display: inline-block;
}

[b-owde6xqbzz] .account-dropdown-toggle {
    cursor: pointer;
    color: #8ab4f8 !important;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
}

[b-owde6xqbzz] .account-dropdown-toggle:hover {
    color: #fff !important;
}

/* Pulsing unread indicator next to "My Account" */
[b-owde6xqbzz] .account-unread-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 4px;
    vertical-align: middle;
    background-color: #dc3545;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(220, 53, 69, 0.7);
    animation: account-unread-pulse-b-owde6xqbzz 1.5s infinite;
}

@keyframes account-unread-pulse-b-owde6xqbzz {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Light mode dropdown (default) */
[b-owde6xqbzz] .account-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 200px;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 1050;
}

[b-owde6xqbzz] .account-dropdown-menu.show {
    display: block;
}

/* Open on hover (desktop) — keep a hover bridge so the menu stays open
   while moving the cursor from the toggle down into the menu. */
[b-owde6xqbzz] .account-dropdown:hover .account-dropdown-menu {
    display: block;
}

[b-owde6xqbzz] .account-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 0.5rem;
}

/* Override top-row inherited styles for dropdown items */
[b-owde6xqbzz] .account-dropdown-menu a.account-dropdown-item,
[b-owde6xqbzz] .account-dropdown-menu button.account-dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    margin-left: 0 !important;
    color: #212529 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 400 !important;
    white-space: nowrap;
    box-sizing: border-box;
}

[b-owde6xqbzz] .account-dropdown-menu a.account-dropdown-item:hover,
[b-owde6xqbzz] .account-dropdown-menu button.account-dropdown-item:hover {
    background-color: #e9ecef !important;
    color: #000 !important;
    text-decoration: none !important;
}

[b-owde6xqbzz] .account-dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* User info header at the top of the dropdown */
[b-owde6xqbzz] .account-dropdown-header {
    padding: 0.5rem 1rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-owde6xqbzz] .account-dropdown-header .fw-bold {
    color: #212529;
}

/* Chat link rendered via MessageNotification inside the dropdown */
[b-owde6xqbzz] .account-dropdown-menu li.account-dropdown-item a {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0;
    color: #212529 !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 400 !important;
    white-space: nowrap;
    box-sizing: border-box;
}

[b-owde6xqbzz] .account-dropdown-menu li.account-dropdown-item a:hover {
    background-color: #e9ecef !important;
    color: #000 !important;
    text-decoration: none !important;
}

/* Dark mode dropdown */
:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu {
    background: #2b2b2b !important;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu a.account-dropdown-item,
:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu button.account-dropdown-item {
    color: #e0e0e0 !important;
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu a.account-dropdown-item:hover,
:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu button.account-dropdown-item:hover {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.15);
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-header,
:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-header .fw-bold {
    color: #e0e0e0;
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu li.account-dropdown-item a {
    color: #e0e0e0 !important;
}

:global([data-theme="dark"])[b-owde6xqbzz]  .account-dropdown-menu li.account-dropdown-item a:hover {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
}

@media (max-width: 640.98px) {
    .top-row[b-owde6xqbzz] {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .top-row[b-owde6xqbzz]  a, .top-row[b-owde6xqbzz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-owde6xqbzz] {
        flex-direction: row;
    }

    .sidebar[b-owde6xqbzz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    main[b-owde6xqbzz] {
        min-height: 100vh;
    }

    .top-row[b-owde6xqbzz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-owde6xqbzz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-owde6xqbzz], article[b-owde6xqbzz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-owde6xqbzz] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-owde6xqbzz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pjodx8wlog] {
    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-pjodx8wlog] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-pjodx8wlog] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pjodx8wlog] {
    font-size: 1.1rem;
}

.navbar-brand img[b-pjodx8wlog] {
    max-width: 100%;
    max-height: 3rem;
    object-fit: contain;
}

.nav-icon[b-pjodx8wlog] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    vertical-align: middle;
    background-image: none !important;
}

.nav-item[b-pjodx8wlog] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pjodx8wlog] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pjodx8wlog] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pjodx8wlog]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-pjodx8wlog]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-pjodx8wlog]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-pjodx8wlog] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-pjodx8wlog] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pjodx8wlog] {
        display: none;
    }

    .nav-scrollable[b-pjodx8wlog] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/LocationIndicator.razor.rz.scp.css */
/* Clickable location button styled to match the navbar links */
.location-indicator[b-snr4et7xlb] {
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(138, 180, 248, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    color: #8ab4f8;
    font-weight: 500;
    line-height: 1.2;
    max-width: 16rem;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.location-indicator:hover[b-snr4et7xlb],
.location-indicator:focus[b-snr4et7xlb] {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}

/* Truncate long "City, State, Country" strings gracefully */
.location-indicator-text[b-snr4et7xlb] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem;
}

.location-indicator .bi-geo-alt-fill[b-snr4et7xlb] {
    color: #ea4335; /* map-pin red for quick recognition */
}

.location-indicator:hover .bi-geo-alt-fill[b-snr4et7xlb] {
    color: #ff6f60;
}

/* Ensure the modal sits above the navbar/dropdowns */
.modal[b-snr4et7xlb] {
    z-index: 1080;
}

.modal-backdrop[b-snr4et7xlb] {
    z-index: 1070;
}

/* Make the modal body's LocationPicker suggestion dropdowns visible */
.modal-body[b-snr4et7xlb] {
    overflow: visible;
}

@media (max-width: 575.98px) {
    .location-indicator-text[b-snr4et7xlb] {
        max-width: 7rem;
    }
}
