/* /Components/Layout/MainLayout.razor.rz.scp.css */

/* ==========================================
   FORCE ACTIVE MUDBLAZOR NAVIGATION STYLING
   ========================================== */

.portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.mud-nav-link-active,
.portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.active {
    background: #2563eb !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
}

    /* Active navigation icon */
    .portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.mud-nav-link-active .mud-nav-link-icon,
    .portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.active .mud-nav-link-icon {
        color: #ffffff !important;
    }

    /* Active navigation text */
    .portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.mud-nav-link-active .mud-nav-link-text,
    .portal-sidebar[b-lk9kdp28ou]  a.mud-nav-link.active .mud-nav-link-text {
        color: #ffffff !important;
    }









.page[b-lk9kdp28ou] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lk9kdp28ou] {
    flex: 1;
}

.sidebar[b-lk9kdp28ou] {
    background: #10213d;
}

.top-row[b-lk9kdp28ou] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lk9kdp28ou]  a, .top-row[b-lk9kdp28ou]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-lk9kdp28ou]  a:hover, .top-row[b-lk9kdp28ou]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-lk9kdp28ou]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-lk9kdp28ou] {
        justify-content: space-between;
    }

    .top-row[b-lk9kdp28ou]  a, .top-row[b-lk9kdp28ou]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lk9kdp28ou] {
        flex-direction: row;
    }

    .sidebar[b-lk9kdp28ou] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lk9kdp28ou] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-lk9kdp28ou]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-lk9kdp28ou], article[b-lk9kdp28ou] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-lk9kdp28ou] {
    color-scheme: light only;
    background: lightyellow;
    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-lk9kdp28ou] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* =====================================
   CustomersPortal - Right Sidebar
   Step 12.28.A4
   ===================================== */

/* Desktop layout */
@media (min-width: 641px) {

    .portal-rtl-layout[b-lk9kdp28ou] {
        display: flex;
        flex-direction: row-reverse;
        width: 100%;
        min-height: 100vh;
    }

        .portal-rtl-layout > .sidebar[b-lk9kdp28ou] {
            flex: 0 0 250px;
            width: 250px;
            min-width: 250px;
            order: 0;
        }

        .portal-rtl-layout > main[b-lk9kdp28ou] {
            flex: 1 1 0;
            min-width: 0;
            order: 0;
        }
}

/* Main content keeps its own direction */
.portal-rtl-layout > main[b-lk9kdp28ou] {
    direction: ltr;
}

/* Sidebar content uses RTL */
.portal-rtl-layout > .sidebar[b-lk9kdp28ou] {
    direction: rtl;
}

/* /Components/Layout/NavMenu.razor.rz.scp.css */

/* =========================================
   CUSTOMERS PORTAL SIDEBAR
   ========================================= */

.portal-sidebar[b-5pi5ekcipu] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: linear-gradient( 180deg, #10213d 0%, #172b4d 55%, #10213d 100% );
    color: #ffffff;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

/* BRAND */

.portal-brand[b-5pi5ekcipu] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.portal-brand-icon[b-5pi5ekcipu] {
    font-size: 34px !important;
    color: #60a5fa;
}

.portal-brand-title[b-5pi5ekcipu] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.portal-brand-subtitle[b-5pi5ekcipu] {
    margin-top: 3px;
    font-size: 11px;
    color: #a9bdd7;
    letter-spacing: 0.7px;
}

/* USER PROFILE */

.portal-user-card[b-5pi5ekcipu] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 14px;
    padding: 14px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.07);
}

.portal-avatar[b-5pi5ekcipu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
}

.portal-user-info[b-5pi5ekcipu] {
    min-width: 0;
}

.portal-user-name[b-5pi5ekcipu] {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-user-role[b-5pi5ekcipu] {
    margin-top: 3px;
    font-size: 12px;
    color: #a9bdd7;
}

/* NAVIGATION CONTENT */

.portal-nav-content[b-5pi5ekcipu] {
    flex: 1;
    overflow-y: auto;
    padding: 6px 12px 18px;
}

.portal-section-title[b-5pi5ekcipu] {
    margin: 24px 12px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #8ea5c6;
}

/* MUDBLAZOR NAV LINKS */

.portal-sidebar[b-5pi5ekcipu]  .portal-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 3px 0;
    padding: 10px 12px;
    border-radius: 9px;
    color: #d5e2f3;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}

    .portal-sidebar[b-5pi5ekcipu]  .portal-nav-link:hover {
        background: rgba(255,255,255,0.10);
        color: #ffffff;
    }


/* =========================================
   ACTIVE NAVIGATION LINK
   ========================================= */

.portal-sidebar[b-5pi5ekcipu]  .mud-nav-link.portal-nav-link.mud-nav-link-active {
    background-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

    /* Active link icon */

    .portal-sidebar[b-5pi5ekcipu]  .mud-nav-link.portal-nav-link.mud-nav-link-active .mud-nav-link-icon {
        color: #ffffff !important;
    }

    /* Active link text */

    .portal-sidebar[b-5pi5ekcipu]  .mud-nav-link.portal-nav-link.mud-nav-link-active .mud-nav-link-text {
        color: #ffffff !important;
    }

/* Hover effect for inactive links */

.portal-sidebar[b-5pi5ekcipu]  .mud-nav-link.portal-nav-link:not(.mud-nav-link-active):hover {
    background-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}


    .portal-sidebar[b-5pi5ekcipu]  .portal-nav-link .mud-nav-link-icon {
        color: #a9bdd7;
        margin-right: 12px;
    }

    .portal-sidebar[b-5pi5ekcipu]  .portal-nav-link.active .mud-nav-link-icon {
        color: #ffffff;
    }

/* FOOTER */

.portal-sidebar-footer[b-5pi5ekcipu] {
    padding: 16px;
    text-align: center;
    font-size: 11px;
    color: #91a6c2;
    border-top: 1px solid rgba(255,255,255,0.10);
}

/* SCROLLBAR */

.portal-nav-content[b-5pi5ekcipu]::-webkit-scrollbar {
    width: 5px;
}

.portal-nav-content[b-5pi5ekcipu]::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
}


/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uexpp10h42],
.components-reconnect-repeated-attempt-visible[b-uexpp10h42],
.components-reconnect-failed-visible[b-uexpp10h42],
.components-pause-visible[b-uexpp10h42],
.components-resume-failed-visible[b-uexpp10h42],
.components-rejoining-animation[b-uexpp10h42] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-retrying[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-failed[b-uexpp10h42],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-uexpp10h42] {
    display: block;
}


#components-reconnect-modal[b-uexpp10h42] {
    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-uexpp10h42 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-uexpp10h42 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-uexpp10h42 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-uexpp10h42]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-uexpp10h42 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-uexpp10h42 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-uexpp10h42 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-uexpp10h42 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-uexpp10h42] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-uexpp10h42] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-uexpp10h42] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-uexpp10h42] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-uexpp10h42] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-uexpp10h42] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-uexpp10h42] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-uexpp10h42 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-uexpp10h42] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-uexpp10h42 {
    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;
    }
}
