/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-g5gwxchj1q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-g5gwxchj1q] {
    flex: 1;
}

.sidebar[b-g5gwxchj1q] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-g5gwxchj1q] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-g5gwxchj1q]  a, .top-row[b-g5gwxchj1q]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-g5gwxchj1q]  a:hover, .top-row[b-g5gwxchj1q]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-g5gwxchj1q]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-g5gwxchj1q] {
        justify-content: space-between;
    }

        .top-row[b-g5gwxchj1q]  a, .top-row[b-g5gwxchj1q]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-g5gwxchj1q] {
        flex-direction: row;
    }

    .sidebar[b-g5gwxchj1q] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-g5gwxchj1q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-g5gwxchj1q]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-g5gwxchj1q], article[b-g5gwxchj1q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-g5gwxchj1q] {
    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-g5gwxchj1q] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.dropdown-menu[b-g5gwxchj1q] {
    position: absolute !important;
    background-color: white !important;
    z-index: 1051 !important;
    display: none;
    max-height: calc(100vh - 120px);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    min-width: 200px;
}

.dropdown-submenu[b-g5gwxchj1q] {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu[b-g5gwxchj1q] {
        top: 0;
        left: 100%;
        display: none;
        min-width: 200px;
        z-index: 1060;
        max-height: none !important;
        overflow-y: visible !important;
        position: absolute !important;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .dropdown-hover:hover > .dropdown-menu[b-g5gwxchj1q],
    .dropdown-submenu:hover > .dropdown-menu[b-g5gwxchj1q] {
        display: block;
    }

    .dropdown-hover > .dropdown-toggle:active[b-g5gwxchj1q],
    .dropdown-submenu > .dropdown-toggle:active[b-g5gwxchj1q] {
        pointer-events: none;
    }

    .dropdown-menu .dropdown-item[b-g5gwxchj1q],
    .dropdown-submenu .dropdown-item[b-g5gwxchj1q] {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #333 !important;
        font-size: 0.9rem;
        transition: background-color 0.2s;
    }

        .dropdown-menu .dropdown-item .biIcon[b-g5gwxchj1q],
        .dropdown-submenu .dropdown-item .biIcon[b-g5gwxchj1q] {
            margin-right: 10px;
            font-size: 0.9rem;
            color: #555;
        }

        .dropdown-menu .dropdown-item.active .biIcon[b-g5gwxchj1q],
        .dropdown-submenu .dropdown-item.active .biIcon[b-g5gwxchj1q] {
            margin-right: 10px;
            font-size: 0.9rem;
            color: #fff;
        }

        .dropdown-menu .dropdown-item:hover[b-g5gwxchj1q],
        .dropdown-submenu .dropdown-item:hover[b-g5gwxchj1q],
        .dropdown-menu .dropdown-item:focus[b-g5gwxchj1q],
        .dropdown-submenu .dropdown-item:focus[b-g5gwxchj1q] {
            background-color: #f1f1f1 !important;
            color: #000 !important;
        }

        .dropdown-menu .dropdown-item.active[b-g5gwxchj1q],
        .dropdown-submenu .dropdown-item.active[b-g5gwxchj1q] {
            background-color: #6495ed !important;
            color: white !important;
        }

.dropdown-menu > .dropdown-submenu > a[b-g5gwxchj1q]:after {
    float: right;
    margin-left: 10px;
    font-size: 0.9em;
}

.topbar-container[b-g5gwxchj1q] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
    background-color: #6495ed;
    z-index: 1100;
}

.container-fluid[b-g5gwxchj1q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-collapse[b-g5gwxchj1q] {
    flex-grow: 1;
    justify-content: flex-start;
}

.navbar-nav[b-g5gwxchj1q] {
    margin-right: auto;
    justify-content: flex-start !important;
}

.nav-link[b-g5gwxchj1q] {
    color: white !important;
    padding: 0.45rem 1.5rem;
    font-size: 0.95rem;
}


.navbar-toggler[b-g5gwxchj1q] {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
}

.dropdown-item.active[b-g5gwxchj1q], .dropdown-item:active[b-g5gwxchj1q] {
    background-color: #6495ed !important;
    color: white !important;
}


@media (max-width: 768px) {
    .container-fluid[b-g5gwxchj1q] {
        justify-content: space-between;
    }


    .navbar-collapse[b-g5gwxchj1q] {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        background-color: rgba(18, 143, 139, 0.95);
        border-radius: 0.375rem;
        padding: 1rem;
    }

    .navbar-nav[b-g5gwxchj1q] {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .nav-item[b-g5gwxchj1q] {
        width: 100%;
    }

    .nav-link[b-g5gwxchj1q] {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
    }

    .dropdown-menu[b-g5gwxchj1q] {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.25rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        box-shadow: none;
        padding: 0.5rem 0;
    }

    .dropdown-submenu .dropdown-menu[b-g5gwxchj1q] {
        position: static !important;
        left: 0 !important;
        width: 100%;
        margin: 0.25rem 0 0 1rem;
        background-color: #e9ecef;
    }

    .topbar-container[b-g5gwxchj1q] {
        padding: 5px 10px;
    }

    .navbar-collapse[b-g5gwxchj1q] {
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #6495ed;
        /*        padding: 10px;*/
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1099;
    }

    .navbar-nav .dropdown-menu[b-g5gwxchj1q],
    .navbar-nav .dropdown-submenu[b-g5gwxchj1q] {
        position: static !important;
        width: 100%;
        max-height: none !important;
        overflow-y: visible !important;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        left: auto !important;
        transform: none !important;
        background-color: white !important;
    }

    .dropdown-item[b-g5gwxchj1q] {
        font-size: 0.9em;
        padding: 8px 15px;
    }

        .dropdown-item.active[b-g5gwxchj1q], .dropdown-item:active[b-g5gwxchj1q] {
            background-color: #6495ed !important;
            color: white !important;
        }


    .navbar-toggler[b-g5gwxchj1q] {
        padding: 5px;
    }
}

.nav-item:last-child .btn[b-g5gwxchj1q] {
    margin-right: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}


.logout-btn-container[b-g5gwxchj1q] {
    margin-right: 10px;
}

.logout-btn[b-g5gwxchj1q] {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .navbar-collapse[b-g5gwxchj1q] {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logout-btn-container[b-g5gwxchj1q] {
        margin-left: auto;
        margin-right: 5px;
    }

    .logout-btn[b-g5gwxchj1q] {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .dropdown-menu.show[b-g5gwxchj1q] {
        display: block !important;
    }
}

.dropdown-submenu[b-g5gwxchj1q] {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu[b-g5gwxchj1q] {
        top: 0;
        left: 100%;
        right: auto;
    }

        .dropdown-submenu > .dropdown-menu.open-left[b-g5gwxchj1q] {
            left: auto !important;
            right: 100% !important;
        }

        .dropdown-submenu > .dropdown-menu.open-left[b-g5gwxchj1q] {
            left: auto !important;
            right: 100% !important;
        }



/* Floating trigger button */
.quick-menu-btn[b-g5gwxchj1q] {
    position: fixed;
    top: 52px;
    right: 15px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #6495ed;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.quick-menu-btn:hover[b-g5gwxchj1q] {
    transform: scale(1.08);
}

/* White floating card */
.quick-menu[b-g5gwxchj1q] {
    position: fixed;
    top: 100px;
    right: -280px;
    width: 220px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid #e9ecef;
    transition: 0.35s ease;
    z-index: 99998;
    overflow: hidden;
}

.quick-menu.show[b-g5gwxchj1q] {
    right: 20px;
}

/* Vertical stack */
.quick-grid[b-g5gwxchj1q] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Solid #6495ed buttons */
.quick-btn[b-g5gwxchj1q] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    background: #6495ed;                    /* solid color */
    border: none;
    box-shadow:
        0 5px 0 #4a7ad0,
        0 8px 16px rgba(100, 149, 237, 0.35),
        inset 0 2px 3px rgba(255, 255, 255, 0.25);
    transition: all 0.18s ease;
}

.quick-btn i[b-g5gwxchj1q] {
    font-size: 17px;
    width: 22px;
    text-align: center;
    color: #ffffff;
}

.quick-btn span[b-g5gwxchj1q] {
    font-size: 14.5px;
    font-weight: 600;
}

/* Hover – slightly darker solid */
.quick-btn:hover[b-g5gwxchj1q] {
    background: #5585e0;
    transform: translateY(-2px);
    box-shadow:
        0 7px 0 #4a7ad0,
        0 12px 20px rgba(100, 149, 237, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Pressed */
.quick-btn:active[b-g5gwxchj1q] {
    transform: translateY(3px);
    box-shadow:
        0 2px 0 #4a7ad0,
        0 4px 10px rgba(100, 149, 237, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .quick-menu[b-g5gwxchj1q] {
        width: calc(100% - 24px);
        right: -110%;
        top: 75px;
    }

    .quick-menu.show[b-g5gwxchj1q] {
        right: 12px;
    }

    .quick-btn[b-g5gwxchj1q] {
        height: 48px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kf0kqq1ncv],
.components-reconnect-repeated-attempt-visible[b-kf0kqq1ncv],
.components-reconnect-failed-visible[b-kf0kqq1ncv],
.components-pause-visible[b-kf0kqq1ncv],
.components-resume-failed-visible[b-kf0kqq1ncv],
.components-rejoining-animation[b-kf0kqq1ncv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-retrying[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-failed[b-kf0kqq1ncv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kf0kqq1ncv] {
    display: block;
}


#components-reconnect-modal[b-kf0kqq1ncv] {
    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-kf0kqq1ncv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kf0kqq1ncv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kf0kqq1ncv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kf0kqq1ncv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kf0kqq1ncv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kf0kqq1ncv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kf0kqq1ncv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kf0kqq1ncv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kf0kqq1ncv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kf0kqq1ncv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kf0kqq1ncv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kf0kqq1ncv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kf0kqq1ncv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kf0kqq1ncv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kf0kqq1ncv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kf0kqq1ncv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kf0kqq1ncv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kf0kqq1ncv {
    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;
    }
}
