/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* RTL Modern Layout */
.page[b-mbio2a4zlx] {
    position: relative;
    display: flex;
    flex-direction: row-reverse; /* RTL */
}

main[b-mbio2a4zlx] {
    flex: 1;
}

.sidebar[b-mbio2a4zlx] {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
    width: 260px;
}

.top-row[b-mbio2a4zlx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start; /* RTL */
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.top-row[b-mbio2a4zlx]  a, 
.top-row[b-mbio2a4zlx]  .btn-link {
    white-space: nowrap;
    margin-right: 1.5rem; /* RTL */
    text-decoration: none;
}

.top-row[b-mbio2a4zlx]  a:hover, 
.top-row[b-mbio2a4zlx]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-mbio2a4zlx]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .page[b-mbio2a4zlx] {
        flex-direction: column;
    }

    .sidebar[b-mbio2a4zlx] {
        width: 100%;
    }

    .top-row[b-mbio2a4zlx] {
        justify-content: space-between;
    }

    .top-row[b-mbio2a4zlx]  a, 
    .top-row[b-mbio2a4zlx]  .btn-link {
        margin-right: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mbio2a4zlx] {
        flex-direction: row-reverse; /* RTL */
    }

    .sidebar[b-mbio2a4zlx] {
        position: sticky;
        top: 0;
        width: 260px;
        height: 100vh;
        overflow-y: auto;
    }

    main[b-mbio2a4zlx] {
        margin-right: 0; /* RTL */
    }

    main > div[b-mbio2a4zlx] {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
}

#blazor-error-ui[b-mbio2a4zlx] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
    display: none;
    right: 0; /* RTL */
    left: auto;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-mbio2a4zlx] {
    cursor: pointer;
    position: absolute;
    left: 0.75rem; /* RTL */
    right: auto;
    top: 0.5rem;
}

.blazor-error-boundary[b-mbio2a4zlx] {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjA4MTUgMjM2LjEyMyA5My41MTMgMjM2LjM0NCA5Mi45OTZMMjM2LjQ1NSA5Mi43OTUgMjM2LjgxNSA5Mi4xODMxIDI1OS40NjEgNTMuNjI4MyAyNTkuOTQ4IDUyLjc5ODcgMjYwLjM5NCA1Mi4yNjU4QzI2MS4xODcgNTEuNDgzNyAyNjIuMjgzIDUxIDI2My41MDYgNTFaTTI2My41ODYgNjYuMTg0MkMyNjEuMzc0IDY2LjE4NDIgMjU5LjU4NiA2Ny45NzA0IDI1OS41ODYgNzAuMTg0MkwyNTkuNTg2IDc1LjIxMjYgMjU5LjU4NiA3OS44NzkyIDU5LjU4NiA4Mi43MzcgMjU5LjU4NiA4Ny43NDI3QzI1OS41ODYgODkuOTU2NCAyNjEuMzc0IDkxLjc0MjcgMjYzLjU4NiA5MS43NDI3IDI2NS43OTggOTEuNzQyNyAyNjcuNTg2IDg5Ljk1NjQgMjY3LjU4NiA4Ny43NDI3IDI2Ny41ODYgODIuNzM3IDI2Ny41ODYgNzkuODc5MiAyNjcuNTg2IDc1LjIxMjYgMjY3LjU4NiA3MC4xODQyQzI2Ny41ODYgNjcuOTcwNCAyNjUuNzk4IDY2LjE4NDIgMjYzLjU4NiA2Ni4xODQyWiIgZmlsbD0iI0ZGMTEyRiIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem,
        #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary[b-mbio2a4zlx]::after {
    content: "حدث خطأ.";
}

.loading-progress[b-mbio2a4zlx] {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle[b-mbio2a4zlx] {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child[b-mbio2a4zlx] {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text[b-mbio2a4zlx] {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text[b-mbio2a4zlx]:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code[b-mbio2a4zlx] {
    color: #c02d76;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern RTL Admin Navigation */
.top-row[b-ipzyovx6rh] {
    background-color: #1F2937;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
    min-height: 3.5rem;
}

.top-row a[b-ipzyovx6rh],
.top-row .btn-link[b-ipzyovx6rh] {
    white-space: nowrap;
    margin-right: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.top-row a:hover[b-ipzyovx6rh],
.top-row .btn-link:hover[b-ipzyovx6rh] {
    color: #4F46E5;
}

.navbar-brand[b-ipzyovx6rh] {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i[b-ipzyovx6rh] {
    color: #4F46E5;
}

.navbar-toggler[b-ipzyovx6rh] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    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-ipzyovx6rh] {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-scrollable[b-ipzyovx6rh] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ipzyovx6rh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ipzyovx6rh] {
        display: none;
    }

    .nav-scrollable[b-ipzyovx6rh] {
        display: block;
        overflow-y: auto;
        height: calc(100vh - 3.5rem);
    }
}

.nav-item[b-ipzyovx6rh] {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-ipzyovx6rh] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-ipzyovx6rh] {
    padding-bottom: 1rem;
}

.nav-item[b-ipzyovx6rh]  .nav-link {
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 3rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    width: calc(100% - 1rem);
}

.nav-item[b-ipzyovx6rh]  .nav-link i {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.nav-item[b-ipzyovx6rh]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item[b-ipzyovx6rh]  a.active {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5ty6axxfna],
.components-reconnect-repeated-attempt-visible[b-5ty6axxfna],
.components-reconnect-failed-visible[b-5ty6axxfna],
.components-pause-visible[b-5ty6axxfna],
.components-resume-failed-visible[b-5ty6axxfna],
.components-rejoining-animation[b-5ty6axxfna] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-retrying[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-failed[b-5ty6axxfna],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-5ty6axxfna] {
    display: block;
}


#components-reconnect-modal[b-5ty6axxfna] {
    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-5ty6axxfna 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5ty6axxfna 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5ty6axxfna 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-5ty6axxfna]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-5ty6axxfna 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-5ty6axxfna {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-5ty6axxfna {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-5ty6axxfna {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-5ty6axxfna] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-5ty6axxfna] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-5ty6axxfna] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-5ty6axxfna] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-5ty6axxfna] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-5ty6axxfna] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-5ty6axxfna] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-5ty6axxfna 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-5ty6axxfna] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-5ty6axxfna {
    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;
    }
}
