/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-v4dilcaazy] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-v4dilcaazy] {
    flex: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.sidebar[b-v4dilcaazy] {
    background: linear-gradient(180deg, #7f8fa6 0%, #485563 50%, #2c3e50 100%);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.sidebar[b-v4dilcaazy]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.top-row[b-v4dilcaazy] {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(192, 192, 192, 0.3);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

    .top-row[b-v4dilcaazy]  a, .top-row[b-v4dilcaazy]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #7f8fa6;
        transition: color 0.3s ease;
    }

    .top-row[b-v4dilcaazy]  a:hover, .top-row[b-v4dilcaazy]  .btn-link:hover {
        color: #c0c0c0;
    }

    .top-row[b-v4dilcaazy]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-v4dilcaazy] {
        justify-content: space-between;
    }

    .top-row[b-v4dilcaazy]  a, .top-row[b-v4dilcaazy]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-v4dilcaazy] {
        flex-direction: row;
    }

    .sidebar[b-v4dilcaazy] {
        width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-v4dilcaazy] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-v4dilcaazy]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-v4dilcaazy], article[b-v4dilcaazy] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-v4dilcaazy] {
    color-scheme: light only;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    bottom: 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.8rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    border-radius: 8px 8px 0 0;
}

    #blazor-error-ui .dismiss[b-v4dilcaazy] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.8rem;
        font-size: 1.5rem;
        color: white;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    #blazor-error-ui .dismiss:hover[b-v4dilcaazy] {
        opacity: 1;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-casxs0l3md] {
    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.3);
    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.8%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);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:checked[b-casxs0l3md] {
    background-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:hover[b-casxs0l3md] {
    background-color: rgba(255, 255, 255, 0.2);
}

.top-row[b-casxs0l3md] {
    min-height: 3.5rem;
    background: linear-gradient(90deg, rgba(127, 143, 166, 0.9) 0%, rgba(72, 85, 99, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.navbar-brand[b-casxs0l3md] {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: white !important;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1rem;
    margin-right: auto;
    margin-left: auto;
}

.bi[b-casxs0l3md] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.bi-house-door-fill-nav-menu[b-casxs0l3md] {
    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-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-envelope-heart-fill-nav-menu[b-casxs0l3md] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-envelope-heart-fill' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555l-4.2 2.568-.051-.105c-.666-1.3-2.363-1.917-3.699-1.25-1.336-.667-3.033-.05-3.699 1.25l-.05.105L.05 3.555ZM11.584 8.91a5.602 5.602 0 0 1-4.708 2.588 5.6 5.6 0 0 1-4.708-2.588L0 9.828V14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9.828l-2.168-1.084ZM4.85 5.97c.48-.94 1.584-1.277 2.423-.776.84-.501 1.944-.164 2.424.776.48.94.142 2.07-.749 2.533a3.744 3.744 0 0 1-3.349 0c-.891-.462-1.229-1.593-.749-2.533Z'/%3E%3C/svg%3E");
}

.bi-calendar-heart-fill-nav-menu[b-casxs0l3md] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calendar-heart-fill' viewBox='0 0 16 16'%3E%3Cpath d='M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4V.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9.828l-2.168-1.084ZM8 7.993c1.664-1.711 5.825 1.283 0 5.132-5.825-3.85-1.664-6.843 0-5.132z'/%3E%3C/svg%3E");
}

.bi-images-nav-menu[b-casxs0l3md] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-images' viewBox='0 0 16 16'%3E%3Cpath d='M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3Cpath d='M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1h-10z'/%3E%3C/svg%3E");
}

.nav-item[b-casxs0l3md] {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-casxs0l3md] {
        padding-top: 1.5rem;
    }

    .nav-item:last-of-type[b-casxs0l3md] {
        padding-bottom: 1rem;
    }

    .nav-item[b-casxs0l3md]  .nav-link {
        color: rgba(255, 255, 255, 0.85);
        background: none;
        border: none;
        border-radius: 10px;
        height: 3.5rem;
        display: flex;
        align-items: center;
        line-height: 3.5rem;
        width: 100%;
        transition: all 0.3s ease;
        font-weight: 300;
        letter-spacing: 0.5px;
        padding-left: 1rem;
        margin: 0.25rem 0;
    }

.nav-item[b-casxs0l3md]  a.active {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    color: white;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.nav-item[b-casxs0l3md]  .nav-link:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    transform: translateX(5px);
}

.nav-scrollable[b-casxs0l3md] {
    display: none;
    position: relative;
}

.navbar-toggler:checked ~ .nav-scrollable[b-casxs0l3md] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-casxs0l3md] {
        display: none;
    }

    .nav-scrollable[b-casxs0l3md] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    /* Scrollbar styling */
    .nav-scrollable[b-casxs0l3md]::-webkit-scrollbar {
        width: 8px;
    }

    .nav-scrollable[b-casxs0l3md]::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    .nav-scrollable[b-casxs0l3md]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

    .nav-scrollable[b-casxs0l3md]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6qt2qnkiud],
.components-reconnect-repeated-attempt-visible[b-6qt2qnkiud],
.components-reconnect-failed-visible[b-6qt2qnkiud],
.components-pause-visible[b-6qt2qnkiud],
.components-resume-failed-visible[b-6qt2qnkiud],
.components-rejoining-animation[b-6qt2qnkiud] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-retrying[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-failed[b-6qt2qnkiud],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6qt2qnkiud] {
    display: block;
}


#components-reconnect-modal[b-6qt2qnkiud] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-6qt2qnkiud 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-6qt2qnkiud 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-6qt2qnkiud 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-6qt2qnkiud]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-6qt2qnkiud 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-6qt2qnkiud {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-6qt2qnkiud {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-6qt2qnkiud {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-6qt2qnkiud] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-6qt2qnkiud] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-6qt2qnkiud] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-6qt2qnkiud] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-6qt2qnkiud] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-6qt2qnkiud] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-6qt2qnkiud] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-6qt2qnkiud 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-6qt2qnkiud] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-6qt2qnkiud {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
