/* /Components/Layout/MainLayout.razor.rz.scp.css */
html[b-pui3qmsk44],
body[b-pui3qmsk44] {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.main-layout[b-pui3qmsk44] {
    width: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #6E79DD 0%, #102b7c 100%);
    overflow: hidden;
}

.public-layout[b-pui3qmsk44] {
    display: block;
}

#blazor-error-ui[b-pui3qmsk44] {
    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-pui3qmsk44] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== Responsive shell unlock ===== */
@media (max-width: 1120px) {
    html[b-pui3qmsk44],
    body[b-pui3qmsk44] {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .main-layout[b-pui3qmsk44] {
        height: auto;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hgipbxfltw],
.components-reconnect-repeated-attempt-visible[b-hgipbxfltw],
.components-reconnect-failed-visible[b-hgipbxfltw],
.components-pause-visible[b-hgipbxfltw],
.components-resume-failed-visible[b-hgipbxfltw],
.components-rejoining-animation[b-hgipbxfltw] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-retrying[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-failed[b-hgipbxfltw],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-hgipbxfltw] {
    display: block;
}

#components-reconnect-modal[b-hgipbxfltw] {
    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: opacity 0.5s ease-in-out;
    animation: components-reconnect-modal-fadeOutOpacity-b-hgipbxfltw 0.5s both;
}

    #components-reconnect-modal[open][b-hgipbxfltw] {
        animation: components-reconnect-modal-slideUp-b-hgipbxfltw 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-hgipbxfltw 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

    #components-reconnect-modal[b-hgipbxfltw]::backdrop {
        background-color: rgba(0, 0, 0, 0.4);
        animation: components-reconnect-modal-fadeInOpacity-b-hgipbxfltw 0.5s ease-in-out;
        opacity: 1;
    }

@keyframes components-reconnect-modal-slideUp-b-hgipbxfltw {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-hgipbxfltw {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-hgipbxfltw {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hgipbxfltw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-hgipbxfltw] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-hgipbxfltw] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-hgipbxfltw] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-hgipbxfltw] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-hgipbxfltw] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-hgipbxfltw] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-hgipbxfltw 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-hgipbxfltw] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-hgipbxfltw {
    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: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ChangePassword.razor.rz.scp.css */

.welcome-title[b-uyg36k65cu] {
    color: var(--portal-white);
    margin-top: 3rem;
    margin-right: 1.5rem;
}

.btns-header[b-uyg36k65cu] {
    display: flex;
    gap: 2rem;
    /*    width: min(21vw, 100%);*/
}

.today-strip[b-uyg36k65cu] {
    /*    width: 300px;*/
    min-width: 170px;
    border-radius: 15px;
    background: var(--primary);
    color: var(--portal-text-on-primary-soft);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-align: center;
    padding: 0 20px;
    margin: 5px 0;
}
.dashboard-action[b-uyg36k65cu] {
    background: var(--primary);
    border: 0;
    border-radius: 15px;
    color: var(--portal-white);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    /*    min-height: 44px;*/
    min-width: 150px;
    padding: 0 1rem;
    margin: 5px 0;
    height: 100%;
}
.dashboard-main[b-uyg36k65cu] {
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--portal-shadow-page);
    background: var(--panel-bg);
    overflow-y: hidden;
    height: fit-content;
}

[b-uyg36k65cu] .change-password-input {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--portal-border-input);
    padding: 0.5rem 0.8rem;
    background: var(--portal-white);
    color: var(--portal-text-strong-alt);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

    [b-uyg36k65cu] .change-password-input:focus {
        border-color: var(--portal-focus-primary);
        box-shadow: 0 0 0 3px var(--portal-focus-ring-soft);
    }

    [b-uyg36k65cu] .change-password-input:disabled {
        background: var(--portal-text-on-primary-soft);
        cursor: not-allowed;
    }
.btn-dashboard[b-uyg36k65cu] {
    min-width: 120px;
    border-radius: 15px;
    background: var(--primary);
    color: var(--portal-text-on-primary-soft);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-align: center;
    padding: 0 20px;
    margin: 5px 0;
}

.buttons-change-password[b-uyg36k65cu] {
    height: 50px;
}

.change-password-grid[b-uyg36k65cu] {
    background: #ababf2;
    border-radius: 25px;
}

@media (max-width: 1400px) {
}

@media (max-width: 1120px) {
    .dashboard-main[b-uyg36k65cu] {

        max-width: 80%;
    }
    .user-strip p[b-uyg36k65cu] {
        font-size: 1rem;
    }

}
@media (max-width: 914px) {
    .today-strip[b-uyg36k65cu] {
        width: 180px;
    }
}
@media (max-width: 760px) {
    .dashboard-main[b-uyg36k65cu] {
        max-width: 100%;
    }
    .header-dashboard[b-uyg36k65cu] {
        flex-wrap: wrap;
    }
    .btns-header[b-uyg36k65cu]{
        gap: 1rem;
    }
    .btn-dashboard[b-uyg36k65cu]{
        width:130px;
    }
    .today-strip[b-uyg36k65cu] {
        margin-left: 10vw;
    }
}

@media (max-width: 591px) {
    .user-strip[b-uyg36k65cu] {
        justify-content: right;
    }

        .user-strip p[b-uyg36k65cu] {
            font-size: .95rem;
        }
}

@media (max-width: 484px) {
    .header-dashboard[b-uyg36k65cu] {
        flex-direction: column;
        gap: 1rem;
    }



    .admin-toolbar-header[b-uyg36k65cu] {
        flex-wrap: wrap;
    }
    .btn-dashboard[b-uyg36k65cu] {
        width: 120px;
    }

    .today-strip[b-uyg36k65cu] {
        width:150px;
    }
}

.change-password-grid[b-uyg36k65cu] {
    grid-template-columns: 1fr;
}

.change-password-card[b-uyg36k65cu] {
    padding: 1.5rem;
    text-align: right;
}

.change-password-alert[b-uyg36k65cu] {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.change-password-alert-success[b-uyg36k65cu] {
    background: var(--portal-surface-success);
    color: var(--portal-text-success);
}

.change-password-alert-error[b-uyg36k65cu] {
    background: var(--portal-surface-error-strong);
    color: var(--portal-text-danger);
}

.change-password-field[b-uyg36k65cu] {
    margin-bottom: 1rem;
}

.change-password-field-last[b-uyg36k65cu] {
    margin-bottom: 1.2rem;
}

.change-password-label[b-uyg36k65cu] {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--portal-white);
}

.change-password-input[b-uyg36k65cu] {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--portal-border-input);
    padding: 0.5rem 0.8rem;
}

.change-password-field-error[b-uyg36k65cu] {
    margin-top: 0.35rem;
    color: var(--portal-text-danger-soft);
    font-size: 0.9rem;
}

.change-password-cancel-button[b-uyg36k65cu] {
    background-color: var(--portal-white);
    color: var(--panel-bg);
    border: none;
    padding: .7rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: inherit;
    min-width: 100px;
    margin: 5px 0;
    /*    min-height: 44px;*/
    height: 100%;
    margin-right: 10px;
    font-weight: 400;
    font-size: 1rem;
}

/* ===== Phase 9 responsive change-password page ===== */
@media (max-width: 1120px), (max-height: 760px) {
    .dashboard-main[b-uyg36k65cu] {
        width: 100%;
        max-width: 100%;
        height: auto;
        overflow: visible;
        padding: clamp(0.9rem, 2.5vw, 1.5rem);
    }

    .service-grid.change-password-grid[b-uyg36k65cu] {
        display: block;
        padding: clamp(0.8rem, 2.5vw, 1.25rem);
        overflow: visible;
    }

    .buttons-change-password[b-uyg36k65cu] {
        height: auto;
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .buttons-change-password .dashboard-action[b-uyg36k65cu],
    .change-password-cancel-button[b-uyg36k65cu] {
        min-height: 44px;
    }
}

@media (max-width: 560px) {
    .btns-header[b-uyg36k65cu],
    .buttons-change-password[b-uyg36k65cu] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-dashboard[b-uyg36k65cu],
    .buttons-change-password .dashboard-action[b-uyg36k65cu],
    .change-password-cancel-button[b-uyg36k65cu] {
        width: 100%;
    }

    .today-strip[b-uyg36k65cu] {
        width: 100%;
        margin-left: 0;
    }
}

/* ===== Password-change success dialog ===== */
[b-uyg36k65cu] .password-change-success-dialog {
    width: min(520px, calc(100vw - 2rem));
}

.password-change-success-content[b-uyg36k65cu] {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0;
    text-align: center;
}

.password-change-success-icon[b-uyg36k65cu] {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--portal-surface-success);
    color: var(--portal-text-success);
    font-size: 2.4rem;
    font-weight: 800;
}

.password-change-success-title[b-uyg36k65cu] {
    margin: 0;
    color: var(--portal-text-strong);
    font-size: 1.1rem;
    font-weight: 800;
}

.password-change-success-description[b-uyg36k65cu] {
    max-width: 430px;
    margin: 0;
    color: var(--portal-text-secondary);
    line-height: 2;
}
/* /Components/Pages/Complaint.razor.rz.scp.css */
/* Complaint styles moved to wwwroot/complaint.css because the page is split into child components. */
/* /Components/Pages/Cost.razor.rz.scp.css */
/* این صفحه در حال حاضر استایل اختصاصی ندارد؛ reports-panel در app.css مشترک شده است. */

/* Keep the main-list scrollbar in its flex slot so the sibling pager remains fully visible. */
@media (min-width: 1121px) {
    .reports-panel[b-vh9u6pst11] { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
    .reports-panel .company-name-title[b-vh9u6pst11] { flex: 0 0 auto; }
    .reports-panel[b-vh9u6pst11]  .table-scroll-container.paged-table-scroll-container {
        flex: 1 1 auto; min-height: 0; max-height: none;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* Dashboard page only. Shell layout belongs to app.css/MainLayout. */
.header-dashboard[b-hxrri8dbm1] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    max-width: 100%;
}

.user-profile-link[b-hxrri8dbm1] {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.user-profile-link:focus-visible[b-hxrri8dbm1] {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
    border-radius: 18px;
}

.user-strip[b-hxrri8dbm1] {
    min-width: 0;
}

.user-strip p[b-hxrri8dbm1] {
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.3;
}

.user-avatar[b-hxrri8dbm1] {
    width: clamp(54px, 4.5vw, 64px);
    height: clamp(54px, 4.5vw, 64px);
    border-radius: 50%;
    border: 5px solid #fff;
    background: #fff;
    color: #132f7d;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.65rem;
}

.show-profile[b-hxrri8dbm1] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.show-profile span[b-hxrri8dbm1] {
    color: #f6fbff;
    font-size: 0.7rem;
    white-space: nowrap;
}

.today-strip[b-hxrri8dbm1] {
    flex: 0 1 460px;
    width: auto;
    max-width: min(46vw, 520px);
    min-height: 50px;
    margin: 5px 0;
    padding: 0 20px;
    border-radius: 15px;
    background: #d4deff;
    color: #132f7d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.82rem, 1vw, 1rem);
    font-weight: 700;
}

.welcome-title[b-hxrri8dbm1] {
    flex: 0 0 auto;
    margin: clamp(0.9rem, 2.1vh, 2rem) 0 clamp(1rem, 3vh, 3rem);
    color: #fff;
    font-size: clamp(1.25rem, 1.7vw, 2rem);
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}

.service-grid[b-hxrri8dbm1] {
    min-height: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: clamp(0.8rem, 1.6vw, 3rem);
    padding: clamp(1rem, 2vw, 40px);
    border-radius: 25px;
    background: linear-gradient(180deg, #ccd1ff 0%, #7e97e4 42%, #5371c8 100%);
    box-shadow: rgba(0, 0, 0, 0.1) 0 20px 25px -5px, rgba(0, 0, 0, 0.04) 0 10px 10px -5px;
    overflow: hidden;
}

.service-grid[b-hxrri8dbm1]  .service-card {
    position: relative;
    min-width: 0;
    min-height: clamp(116px, 17vh, 214px);
    overflow: hidden;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.75rem;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0 20px 25px -5px, rgba(0, 0, 0, 0.04) 0 10px 10px -5px;
}

.service-grid[b-hxrri8dbm1]  .service-card::before,
.service-grid[b-hxrri8dbm1]  .service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 350ms ease-in-out;
}

.service-grid[b-hxrri8dbm1]  .service-card::before {
    background: #fffcfc;
    opacity: 1;
    box-shadow: rgba(231, 230, 251, 0.58) 0 -23px 25px 0 inset, rgba(209, 221, 251, 0.46) 0 -36px 30px 0 inset, rgba(229, 235, 255, 0.72) 0 -79px 40px 0 inset;
}

.service-grid[b-hxrri8dbm1]  .service-card::after {
    background: linear-gradient(90deg, #ededff, #e4e4fc);
    opacity: 0;
}

.service-grid[b-hxrri8dbm1]  .service-card:hover::after {
    opacity: 1;
}

.service-grid[b-hxrri8dbm1]  .service-card:hover::before {
    opacity: 0;
}

/* حالت غیرفعال شکایات: کارت از نظر بصری نیز غیرقابل‌استفاده دیده می‌شود. */
.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card {
    border: 1px dashed rgba(66, 79, 125, 0.38);
    cursor: not-allowed;
    filter: grayscale(0.92) saturate(0.35);
    opacity: 0.66;
    user-select: none;
}

.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card::before {
    background: linear-gradient(180deg, #f1f2f6 0%, #d9dce6 100%);
    box-shadow: none;
}

.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card:hover::after {
    opacity: 0;
}

.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card:hover::before {
    opacity: 1;
}

.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card .service-icon {
    opacity: 0.58;
}

.service-grid[b-hxrri8dbm1]  .service-card.disabled-service-card h3 {
    color: #667085;
    font-weight: 500;
}

.disabled-service-badge[b-hxrri8dbm1] {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 2;
    padding: 0.18rem 0.55rem;
    border: 1px solid rgba(73, 85, 124, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #697386;
    font-size: clamp(0.65rem, 0.78vw, 0.78rem);
    font-weight: 700;
    line-height: 1.4;
}

.service-grid[b-hxrri8dbm1]  .service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon[b-hxrri8dbm1] {
    width: clamp(54px, 6vw, 84px);
    height: clamp(54px, 6vw, 84px);
    object-fit: contain;
}

.service-card h3[b-hxrri8dbm1] {
    margin: 0;
    color: #132f7d;
    text-align: center;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: 300;
    line-height: 1.5;
}

.dashboard-state[b-hxrri8dbm1] {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: #dfe2f1;
    text-align: center;
}

.dashboard-state h1[b-hxrri8dbm1] {
    margin-bottom: 0.75rem;
    color: #12348f;
}

.dashboard-state p[b-hxrri8dbm1] {
    margin-bottom: 1.2rem;
    color: #435690;
}

.dashboard-action[b-hxrri8dbm1] {
    min-width: 170px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #13378f 0%, #5f73d8 100%);
    color: #fff;
    cursor: pointer;
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 600;
}

@media (min-width: 1121px) and (max-height: 900px) {
    .welcome-title[b-hxrri8dbm1] {
        margin: 0.75rem 0 1rem;
    }

    .service-grid[b-hxrri8dbm1] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        padding: 0.9rem;
    }

    .service-grid[b-hxrri8dbm1]  .service-card {
        min-height: clamp(92px, 14vh, 126px);
        padding: 0.55rem;
    }

    .service-icon[b-hxrri8dbm1] {
        width: clamp(42px, 5vh, 58px);
        height: clamp(42px, 5vh, 58px);
    }
}

@media (max-width: 1120px) {
    .header-dashboard[b-hxrri8dbm1] {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .today-strip[b-hxrri8dbm1] {
        flex: 1 1 50px;
        max-width: none;
    }

    .welcome-title[b-hxrri8dbm1] {
        margin: 1rem 0 1.25rem;
        font-size: clamp(1.15rem, 3.8vw, 1.6rem);
    }

    .service-grid[b-hxrri8dbm1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        overflow: visible;
    }

    .service-grid[b-hxrri8dbm1]  .service-card {
        min-height: clamp(116px, 18dvh, 170px);
    }
}

@media (max-width: 591px) {
    .header-dashboard[b-hxrri8dbm1] {
        flex-direction: column;
        gap: 1rem;
    }

    .service-grid[b-hxrri8dbm1] {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 0.85rem;
    }

    .service-grid[b-hxrri8dbm1]  .service-card {
        min-height: 112px;
    }

    .user-strip p[b-hxrri8dbm1] {
        font-size: 1.1rem;
    }

    .user-avatar[b-hxrri8dbm1] {
        width: 58px;
        height: 58px;
    }
}
/* /Components/Pages/Finance.razor.rz.scp.css */
.btn-dashboard img[b-31hjwklea9] {
    pointer-events: none;
}
/* Finance footer visibility must be global because the footer is projected into DynamicTable. */
.mobile-totals-row[b-31hjwklea9],
.workflow-table .mobile-totals-row[b-31hjwklea9] {
    display: none !important;
}

@media (min-width: 901px) {
    .workflow-table .table-totals-row[b-31hjwklea9] {
        display: table-row !important;
    }

    .workflow-table .mobile-totals-row[b-31hjwklea9] {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .workflow-table .table-totals-row[b-31hjwklea9] {
        display: none !important;
    }

    .workflow-table .mobile-totals-row[b-31hjwklea9] {
        display: block !important;
        margin-bottom: 10px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

        .workflow-table .mobile-totals-row > td[b-31hjwklea9] {
            display: block !important;
            width: 100% !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
        }

            .workflow-table .mobile-totals-row > td[b-31hjwklea9]::before {
                content: none !important;
            }

    .workflow-table .mobile-totals-card[b-31hjwklea9] {
        display: block !important;
        padding: 12px;
        border: 1px solid #cfd6f2;
        border-radius: 12px;
        background: #e9ecff;
        box-shadow: 0 6px 14px rgba(19, 47, 125, 0.08);
        direction: rtl;
    }

        .workflow-table .mobile-totals-card h3[b-31hjwklea9] {
            margin: 0 0 8px;
            color: #132f7d;
            font-size: 0.95rem;
            font-weight: 800;
            text-align: right;
        }

    .workflow-table .mobile-totals-item[b-31hjwklea9] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-top: 1px solid #dce2fb;
        color: #132f7d;
    }

        .workflow-table .mobile-totals-item span[b-31hjwklea9] {
            flex: 0 0 auto;
            font-weight: 700;
            text-align: right;
        }

        .workflow-table .mobile-totals-item strong[b-31hjwklea9] {
            min-width: 0;
            font-weight: 800;
            text-align: left;
            font-variant-numeric: tabular-nums;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

            .workflow-table .mobile-totals-item strong.negative-amount[b-31hjwklea9] {
                color: red;
            }
}
/* /Components/Pages/FollowUpTesting.razor.rz.scp.css */
/* ===== FollowUp Testing Dialog specifics ===== */

.followup-testing-dialog[b-03ee6naigc] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.followup-testing-dialog .report-dialog-body[b-03ee6naigc] {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* ===== Sample Cards ===== */

.sample-list[b-03ee6naigc] {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sample-card[b-03ee6naigc] {
    overflow: hidden;
    border: 1px solid var(--portal-border-soft);
    border-radius: 18px;
    background: var(--portal-card-gradient);
    box-shadow: var(--portal-shadow-card);
}

.sample-card-header[b-03ee6naigc] {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-bottom: 1px solid var(--portal-border-header);
    background: var(--portal-surface-soft);
}

.sample-images[b-03ee6naigc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    align-items: stretch;
    gap: 14px;
}

.sample-image-box[b-03ee6naigc] {
    min-height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--portal-border-image);
    border-radius: 14px;
    background: var(--portal-surface);
}

.sample-image[b-03ee6naigc] {
    width: 100%;
    height: 150px;
    display: block;
    object-fit: contain;
    background: var(--portal-surface);
}

.sample-image-placeholder[b-03ee6naigc] {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--portal-placeholder-pattern);
    color: var(--portal-text-help);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.sample-info-grid[b-03ee6naigc] {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    align-content: center;
    gap: 12px;
}

.sample-info-item[b-03ee6naigc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--portal-border-soft);
    border-radius: 14px;
    background: var(--portal-surface);
    text-align: center;
}

.sample-info-item-3[b-03ee6naigc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sample-info-label[b-03ee6naigc] {
    color: var(--portal-text-info-label);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.sample-info-item strong[b-03ee6naigc] {
    color: var(--portal-text-strong);
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
    text-align: center;
}

/* ===== Tests Table ===== */

.sample-tests-wrapper[b-03ee6naigc] {
    padding: 0 18px 18px;
    overflow-x: auto;
}

.sample-empty-tests[b-03ee6naigc] {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: var(--portal-surface)8e6;
    color: var(--portal-text-warning);
    text-align: center;
    font-weight: 600;
}

.sample-tests-table[b-03ee6naigc] {
    width: 100%;
    min-width: 760px;
    margin-top: 18px;
    overflow: hidden;
    border-collapse: collapse;
    border-radius: 12px;
    direction: rtl;
    font-size: 0.86rem;
    text-align: center;
}

.sample-tests-table th[b-03ee6naigc],
.sample-tests-table td[b-03ee6naigc] {
    border: 1px solid var(--portal-border-table);
    padding: 10px 8px;
    white-space: nowrap;
}

.sample-tests-table th[b-03ee6naigc] {
    background-color: var(--portal-surface-table-head);
    color: var(--portal-text-strong);
    font-weight: bold;
}

.sample-tests-table tbody tr:nth-child(even)[b-03ee6naigc] {
    background-color: var(--portal-surface)fff;
}

.sample-tests-table tbody tr:nth-child(odd)[b-03ee6naigc] {
    background-color: var(--portal-surface-table-odd);
}

.sample-tests-table tbody tr:hover[b-03ee6naigc] {
    background-color: var(--portal-surface-table-hover);
}

/* ===== Media queries: large to small ===== */

@media (max-width: 1100px) {
    .sample-card-header[b-03ee6naigc] {
        grid-template-columns: 1fr;
    }

    .sample-info-grid[b-03ee6naigc] {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
}

@media (max-width: 760px) {
    .sample-card-header[b-03ee6naigc] {
        padding: 14px;
    }

    .sample-images[b-03ee6naigc] {
        grid-template-columns: 1fr;
    }

    .sample-image[b-03ee6naigc],
    .sample-image-placeholder[b-03ee6naigc] {
        height: 130px;
        min-height: 130px;
    }

    .sample-info-grid[b-03ee6naigc] {
        grid-template-columns: 1fr;
    }

    .sample-tests-wrapper[b-03ee6naigc] {
        padding: 0 14px 14px;
    }
}

/* ===== Phase 9 responsive follow-up dialogs ===== */
@media (max-width: 1120px), (max-height: 760px) {
    .followup-testing-dialog[b-03ee6naigc] {
        max-height: calc(100dvh - 24px);
    }
}

@media (max-width: 760px) {
    .sample-info-grid[b-03ee6naigc] {
        grid-template-columns: 1fr;
    }

    .sample-tests-wrapper[b-03ee6naigc] {
        -webkit-overflow-scrolling: touch;
    }
}

/* Keep the main-list scrollbar in its flex slot so the sibling pager remains fully visible. */
@media (min-width: 1121px) {
    .reports-panel[b-03ee6naigc] { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
    .reports-panel .company-name-title[b-03ee6naigc] { flex: 0 0 auto; }
    .reports-panel[b-03ee6naigc]  .table-scroll-container.paged-table-scroll-container {
        flex: 1 1 auto; min-height: 0; max-height: none;
    }
}
/* /Components/Pages/InvoicesIssued.razor.rz.scp.css */
[b-alqbzd72lz] .invoice-amount {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

[b-alqbzd72lz] .invoice-amount-unit {
    direction: rtl;
    unicode-bidi: isolate;
}

[b-alqbzd72lz] .invoice-amount-value {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-layout[b-iq1362wwd4] {
    background: #fff;
    display: grid;
    grid-template-columns: minmax(350px, 1fr) minmax(420px, 1fr);
    min-height: 100vh;
}

.brand-panel[b-iq1362wwd4] {
    background: #6E79DD;
    background: linear-gradient(184deg, rgba(110, 121, 221, 1) 13%, rgba(2, 31, 102, 1) 97%);
    color: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.logo-rasf[b-iq1362wwd4] {
    display: block;
    width: min(300px, 100%);
    max-height: min(260px, 30vh);
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
}
.brand-content[b-iq1362wwd4] {
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-title[b-iq1362wwd4] {
    margin-top: 0.25rem;
    font-size: clamp(1.8rem, 1.6rem + 1vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-subtitle[b-iq1362wwd4] {
    margin-top: 0.7rem;
    opacity: 0.9;
    font-size: 1.02rem;
}

.brand-copyright[b-iq1362wwd4] {
    margin-top: 1.25rem;
    opacity: 0.78;
    font-size: 0.85rem;
}

.form-panel[b-iq1362wwd4] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
}

.login-card[b-iq1362wwd4] {
    width: min(480px, 100%);
}

    .login-card h1[b-iq1362wwd4] {
        color: #10204c;
        font-size: clamp(1.8rem, 1.6rem + 0.6vw, 2.4rem);
        font-weight: 700;
        margin-bottom: 5rem;
        text-align: center;
    }

.field-block[b-iq1362wwd4] {
    margin-bottom: 1rem;
}

/*.portal-input {
    background: #f0f1fd;
    border: 0;
    border-radius: 0.75rem;
    color: #4f578f;
    font-size: 1.35rem;
    min-height: 68px;
    padding: 0 1.6rem;
    text-align: right;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

    .portal-input:focus {
        box-shadow: 0 0 0 4px rgba(92, 126, 255, 0.25);
        outline: 0;
        transform: translateY(-1px);
    }*/

.ghost-link[b-iq1362wwd4] {
    background: transparent;
    border: 0;
    color: #14326f;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.7rem 0 2rem;
    padding: 0;
}

    .ghost-link:disabled[b-iq1362wwd4] {
        cursor: not-allowed;
        opacity: 0.75;
    }

.login-button[b-iq1362wwd4] {
    cursor: pointer;
    border: 0;
    border-radius: 25px;
    color: #fff;
    width: 100%;
    font-size: 2rem;
    font-weight: 500;
    min-height: 74px;
    background: linear-gradient(90deg, #10328d 0%, #6473da 100%);
    box-shadow: 0 16px 28px rgba(20, 45, 126, 0.27);
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

    .login-button:hover:enabled[b-iq1362wwd4] {
        transform: translateY(-2px);
        box-shadow: 0 20px 34px rgba(20, 45, 126, 0.34);
    }

    .login-button:disabled[b-iq1362wwd4] {
        cursor: wait;
        opacity: 0.8;
    }

.login-success[b-iq1362wwd4] {
    color: #136b3e;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.login-error[b-iq1362wwd4] {
    color: #bf2d2d;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.validation-message[b-iq1362wwd4] {
    display: block;
    color: #b52020;
    margin-top: 0.45rem;
    margin-inline: 0.6rem;
}

@media (max-width: 1024px) {
    .login-layout[b-iq1362wwd4] {
        grid-template-columns: 1fr;
    }
    .logo-rasf[b-iq1362wwd4] {
        width: min(220px, 72vw);
        max-height: 180px;
    }
    .brand-panel[b-iq1362wwd4] {
        min-height: 34vh;
        padding: 2rem 1.5rem;
    }

    .brand-title[b-iq1362wwd4] {
        font-size: 1.1rem;
    }

    .brand-subtitle[b-iq1362wwd4] {
        font-size: .9rem;
        margin-top: 0;
    }

    .form-panel[b-iq1362wwd4] {
        padding: 2rem 1.25rem 3rem;
    }

    .login-card h1[b-iq1362wwd4] {
        margin-bottom: 1.8rem;
        font-size: 1.8rem;
    }

    .portal-input[b-iq1362wwd4] {
        min-height: 60px;
        font-size: 1.15rem;
    }

    .login-button[b-iq1362wwd4] {
        min-height: 62px;
        font-size: 1.6rem;
    }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.not-found-page[b-tq4mm8qw9x] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(180deg, #6E79DD 0%, #102b7c 100%);
}

.not-found-card[b-tq4mm8qw9x] {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(16, 32, 76, 0.22);
}

.not-found-code[b-tq4mm8qw9x] {
    color: #6473da;
    font-size: clamp(4rem, 3rem + 4vw, 7rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.not-found-card h1[b-tq4mm8qw9x] {
    color: #10204c;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.not-found-card p[b-tq4mm8qw9x] {
    color: #4f578f;
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 2rem;
}

.not-found-action[b-tq4mm8qw9x] {
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 48px;
    min-width: 180px;
    padding: 0 1.5rem;
    background: linear-gradient(90deg, #10328d 0%, #6473da 100%);
    box-shadow: 0 12px 24px rgba(20, 45, 126, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .not-found-action:hover[b-tq4mm8qw9x] {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(20, 45, 126, 0.32);
    }
/* /Components/Pages/ReceiveReports.razor.rz.scp.css */
.details-grid-dialog[b-fmj3waxcmw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 14px;
}

.details-item-dialog[b-fmj3waxcmw] {
    border: 1px solid var(--portal-border-subtle);
    border-radius: 14px;
    padding: 14px;
    background: var(--portal-surface-soft);
}

.details-item-dialog span[b-fmj3waxcmw] {
    display: block;
    margin-bottom: 8px;
    color: var(--portal-text-secondary);
    font-size: 0.85rem;
}

.details-item-dialog strong[b-fmj3waxcmw] {
    display: block;
    color: var(--portal-text-strong);
    font-size: 1.05rem;
}

.dialog-note[b-fmj3waxcmw] {
    margin-top: 16px;
    padding: 12px;
    border-radius: 12px;
    background: var(--portal-surface-muted);
    color: var(--portal-text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
}

.reports-pagination[b-fmj3waxcmw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.reports-pagination button[b-fmj3waxcmw] {
    min-width: 42px;
    min-height: 38px;
    border: 1px solid var(--portal-border-subtle);
    border-radius: 9px;
    background: var(--portal-surface);
    color: var(--portal-text-strong);
    cursor: pointer;
}

.reports-pagination button.active[b-fmj3waxcmw] {
    background: var(--portal-focus-primary);
    color: var(--portal-text-on-primary);
}

.reports-pagination button:disabled[b-fmj3waxcmw] {
    cursor: default;
    opacity: 0.55;
}

.reports-pagination span[b-fmj3waxcmw] {
    color: var(--portal-text-secondary);
}

.reports-pagination-dialog[b-fmj3waxcmw] {
    margin-bottom: 4px;
}

@media (max-width: 1100px) {
    .reports-header[b-fmj3waxcmw] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .reports-actions[b-fmj3waxcmw] {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .details-grid-dialog[b-fmj3waxcmw] {
        grid-template-columns: 1fr;
    }

    .reports-pagination span[b-fmj3waxcmw] {
        flex-basis: 100%;
        text-align: center;
    }
}
/* /Components/Pages/Survey.razor.rz.scp.css */

/* استایل‌های اختصاصی و مدرن برای فرم نظرسنجی */
    .survey-form-wrapper[b-rpvergvip2] {
        direction: rtl;
        font-family: 'IRANSans', 'Tahoma', sans-serif;
    }

    .survey-card[b-rpvergvip2] {
        background: #fff;
        border-radius: 24px;
        border: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.05);
        transition: all 0.2s ease;
        overflow: hidden;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .survey-card:hover[b-rpvergvip2] {
        box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    }

    .card-header h5[b-rpvergvip2] {
        font-size: 1.2rem;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        /* padding-bottom: 20px; */
    }
    .text-muted[b-rpvergvip2]{

    }
    .card-body[b-rpvergvip2]{
        padding: 15px 0;
    }
    .required-star[b-rpvergvip2] {
        color: #e53e3e;
        font-size: 1.3rem;
        line-height: 1;
        margin-left: 0.2rem;
    }

    .rating-group[b-rpvergvip2] {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        align-items: center;
    }

    .rating-option[b-rpvergvip2] {
        flex: 1 0 auto;
    }

    .rating-label[b-rpvergvip2] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #f8fafc;
        padding: 0.5rem 1.2rem;
        border-radius: 60px;
        transition: all 0.2s;
        cursor: pointer;
        border: 1px solid #e2e8f0;
        font-weight: 500;
    }

    .rating-label:hover[b-rpvergvip2] {
        background: #f1f5f9;
        transform: translateY(-2px);
        border-color: #cbd5e1;
    }

    input[type="radio"][b-rpvergvip2] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid #cbd5e1;
        border-radius: 50%;
        margin: 0;
        position: relative;
        cursor: pointer;
        transition: 0.1s;
    }

    input[type="radio"]:checked[b-rpvergvip2] {
        border-color: #2b24ba;
        background-color: #2b24ba;
        box-shadow: inset 0 0 0 3px white;
    }
    .valid.modified:not([type="checkbox"])[b-rpvergvip2] {

        width: 0;
        padding: 15px;
        border-radius: 50px;
}
    .rating-text[b-rpvergvip2] {
        font-size: 0.9rem;
        color: #334155;
    }

    .checkbox-group[b-rpvergvip2] {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .modern-check[b-rpvergvip2] {
        /* background: #f9fafb; */
        padding: 0.4rem 1rem;
        border-radius: 40px;
        /* border: 1px solid #e4e7ec; */
        transition: 0.1s;
    }

    .modern-check:hover[b-rpvergvip2] {
        /* background: #f1f4f9; */
        border-color: #cbd5e1;
    }

    .form-check-input:checked[b-rpvergvip2] {
        background-color: #2b24ba;
        border-color: #2b24ba;
    }

    .modern-textarea[b-rpvergvip2] {
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        padding: 1rem;
        font-size: 0.95rem;
        background: #fefefe;
        transition: 0.2s;
        width: 100%;
        margin-bottom: 10px;
    }

    .modern-textarea:focus[b-rpvergvip2] {
        border-color: #2b24ba;
        box-shadow: 0 0 0 3px rgba(43, 36, 186, 0.1);
        outline: none;
    }

    .btn-primary[b-rpvergvip2] {
        background: linear-gradient(135deg, #2b24ba 0%, #1e1a8a 100%);
        border: none;
        font-weight: 500;
        transition: 0.2s;
    }

    .btn-primary:hover[b-rpvergvip2] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(43, 36, 186, 0.3);
        background: linear-gradient(135deg, #3129ce 0%, #221d9c 100%);
    }

    .btn-outline-secondary[b-rpvergvip2] {
        border-radius: 40px;
        border: 1px solid #cbd5e1;
        color: #475569;
    }

    .btn-outline-secondary:hover[b-rpvergvip2] {
        background-color: #f1f5f9;
        border-color: #94a3b8;
    }

    .alert-success[b-rpvergvip2] {
        background: linear-gradient(105deg, #10b981 0%, #059669 100%);
        border: none;
        border-radius: 20px;
        color: white;
    }

    .validation-summary-errors[b-rpvergvip2] {
        border-radius: 16px;
        background: #fff5f5;
        border-right: 4px solid #e53e3e;
        padding: 1rem;
    }
    .reset-btn[b-rpvergvip2] , .btn-submit[b-rpvergvip2]{
        padding:10px 15px;
        border-radius: 10px;
        cursor: pointer;

    }

    .btn-submit[b-rpvergvip2]{
        color: #fff;
    }

    @media (max-width: 768px) {
        .rating-group[b-rpvergvip2] {
            flex-direction: column;
            align-items: stretch;
        }
        .rating-option[b-rpvergvip2] {
            width: 100%;
        }
        .btn-primary[b-rpvergvip2], .btn-outline-secondary[b-rpvergvip2] {
            width: 100%;
        }
        .d-flex[b-rpvergvip2] {
            flex-direction: column;
        }
    }

/* ===== Phase 9 responsive survey page ===== */
@media (max-width: 1120px), (max-height: 760px) {
    .survey-form-wrapper[b-rpvergvip2],
    .survey-card[b-rpvergvip2] {
        overflow: visible;
    }
}

@media (max-width: 560px) {
    .survey-card[b-rpvergvip2] {
        border-radius: 18px;
        padding: 0 12px;
    }
}
/* /Components/Pages/UserManagement.razor.rz.scp.css */
.portal-users[b-5g9gda2r7j] {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.users-main[b-5g9gda2r7j] {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.users-header[b-5g9gda2r7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #fff;
    flex: 0 0 auto;
    margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
    flex-wrap: wrap;
}

    .users-header h1[b-5g9gda2r7j] {
        margin: 0 0 0.5rem 0;
        font-size: 2rem;
        font-weight: 700;
    }

    .users-header p[b-5g9gda2r7j] {
        margin: 0;
        opacity: 0.9;
    }

.header-buttons[b-5g9gda2r7j] {
    display: flex;
    gap: 0.75rem;
}
.dashboard-action[b-5g9gda2r7j] {
    padding: 8px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: #2b24ba;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 400;
    justify-content: center;
    transition: background ease-in-out .2s;
}
    .dashboard-action:hover[b-5g9gda2r7j] {
        background: #2942a4;
    }
.icon-dashboard[b-5g9gda2r7j] {
    width: 2rem;
    filter: brightness(0) invert(1);
    padding-left: .4rem;
    height: fit-content;
}
.users-card[b-5g9gda2r7j] {
    container-name: users-card;
    container-type: inline-size;
    flex: 1 1 auto;
    min-height: 0;
    background: #acacf3;
    border-radius: 24px;
    padding: clamp(0.75rem, 1.2vw, 1.25rem);
    margin-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.12) 0 20px 25px -5px, rgba(0, 0, 0, 0.05) 0 10px 10px -5px;
}

.users-card-title[b-5g9gda2r7j] {
    margin-bottom: 1rem;
}

    .users-card-title h2[b-5g9gda2r7j] {
        color: #132f7d;
        font-size: 1.25rem;
        margin: 0 0 0.35rem 0;
    }

    .users-card-title p[b-5g9gda2r7j] {
        color: #52649d;
        margin: 0;
    }

.users-card-title-row[b-5g9gda2r7j] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}
.users-list[b-5g9gda2r7j] {
    display: flex;
    justify-content: space-between;
}
.users-form-grid[b-5g9gda2r7j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

    .users-form-grid label[b-5g9gda2r7j] {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        color: #132f7d;
        font-weight: 600;
    }

    .users-form-grid input[b-5g9gda2r7j],
    .users-form-grid select[b-5g9gda2r7j] {
        min-height: 44px;
        border: 1px solid #cbd3f3;
        border-radius: 14px;
        padding: 0 0.8rem;
        font-size: 0.95rem;
        outline: none;
        background: #fff;
        color: #102b7c;
        width: 100%;
    }

        .users-form-grid input:focus[b-5g9gda2r7j],
        .users-form-grid select:focus[b-5g9gda2r7j] {
            border-color: #5f73d8;
            box-shadow: 0 0 0 3px rgba(95, 115, 216, 0.18);
        }

.users-check[b-5g9gda2r7j] {
    flex-direction: row !important;
    align-items: center;
    min-height: 44px;
}

    .users-check input[b-5g9gda2r7j] {
        min-height: auto;
        width: 18px;
        height: 18px;
    }

.users-form-actions[b-5g9gda2r7j] {
    display: flex;
    gap: 0.75rem;
}

/* دکمه‌ها */
.users-primary-button[b-5g9gda2r7j],
.users-secondary-button[b-5g9gda2r7j],
.users-icon-button[b-5g9gda2r7j] {
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 44px;
    padding: 0 1.2rem;
}

.users-primary-button[b-5g9gda2r7j] {
    color: #fff;
    background: #2942a4;
}

.users-secondary-button[b-5g9gda2r7j] {
    color: #132f7d;
    background: #d4deff;
}

.users-icon-button[b-5g9gda2r7j] {
    background: #eef2ff;
    color: #132f7d;
    padding: 0 1rem;
}

button:disabled[b-5g9gda2r7j] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* آلرت‌ها */
.users-alert[b-5g9gda2r7j] {
    border-radius: 18px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.users-alert-success[b-5g9gda2r7j] {
    background: #e9f9ef;
    color: #0c7a35;
    border: 1px solid #bce8ca;
}

.users-alert-error[b-5g9gda2r7j] {
    background: #fff0f0;
    color: #b42318;
    border: 1px solid #f4c7c3;
}

.users-empty[b-5g9gda2r7j] {
    min-height: 110px;
    display: grid;
    place-items: center;
    color: #52649d;
    font-weight: 600;
}

/* جدول */
.users-table-wrap[b-5g9gda2r7j] {
    max-height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    overflow-x: auto;
}

.users-table[b-5g9gda2r7j] {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

    .users-table th[b-5g9gda2r7j],
    .users-table td[b-5g9gda2r7j] {
        padding: 0.85rem;
        text-align: right;
        border-bottom: 1px solid #e4e8f8;
        vertical-align: middle;
    }

    .users-table th[b-5g9gda2r7j] {
        color: #132f7d;
        background: #eef2ff;
        font-weight: 800;
    }

    .users-table td[b-5g9gda2r7j] {
        color: #25345f;
    }

/* نشانگرها */
.users-badge[b-5g9gda2r7j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #132f7d;
    font-size: 0.85rem;
    font-weight: 700;
}

.users-badge-success[b-5g9gda2r7j] {
    background: #e9f9ef;
    color: #0c7a35;
}

.users-badge-danger[b-5g9gda2r7j] {
    background: #fff0f0;
    color: #b42318;
}

.users-badge-warning[b-5g9gda2r7j] {
    background: #fff8e1;
    color: #9a6700;
}

/* دکمه‌های عملیات داخل جدول */
.users-actions[b-5g9gda2r7j] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .users-actions button[b-5g9gda2r7j] {
        border: 0;
        border-radius: 15px;
        background: #eef2ff;
        color: #132f7d;
        cursor: pointer;
        font-size: 0.82rem;
        font-weight: 700;
        min-height: 34px;
        padding: 0 0.75rem;
    }

        .users-actions button:hover[b-5g9gda2r7j] {
            background: #d4deff;
        }

/* صفحه بارگذاری و خطا */
.users-state[b-5g9gda2r7j] {
    min-height: 100vh;
    background: #dfe2f1;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
}

    .users-state h1[b-5g9gda2r7j] {
        color: #12348f;
        margin-bottom: 0.75rem;
    }

    .users-state p[b-5g9gda2r7j] {
        color: #435690;
        margin-bottom: 1.2rem;
    }

/* مودال یکسان برای ایجاد و ویرایش */
.modal-overlay[b-5g9gda2r7j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    direction: rtl;
}

.modal-container[b-5g9gda2r7j] {
    background: white;
    border-radius: 28px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
/*    overflow-y: auto;*/
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn-b-5g9gda2r7j 0.2s ease-out;
}

    .modal-container.small-modal[b-5g9gda2r7j] {
        max-width: 500px;
    }

@keyframes modalFadeIn-b-5g9gda2r7j {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header[b-5g9gda2r7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eef2ff;
}

    .modal-header h3[b-5g9gda2r7j] {
        margin: 0;
        color: #132f7d;
        font-size: 1.35rem;
    }

.modal-close[b-5g9gda2r7j] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #7c8bc0;
    transition: color 0.2s;
    line-height: 1;
}

    .modal-close:hover[b-5g9gda2r7j] {
        color: #b42318;
    }

.modal-body[b-5g9gda2r7j] {
    padding: 1.5rem;
}
.reset-password-input[b-5g9gda2r7j] {
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    margin-top: 20px;
}
.modal-footer[b-5g9gda2r7j] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #eef2ff;
}

    .modal-footer button[b-5g9gda2r7j] {
        min-width: 100px;
    }

.search-area[b-5g9gda2r7j] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.users-search-input[b-5g9gda2r7j] {
    min-height: 44px;
    border: 1px solid #cbd3f3;
    border-radius: 15px;
    padding: 0 1rem;
    font-size: 0.95rem;
    background: #fff;
    color: #102b7c;
    outline: none;
    flex-grow: 2;
}

    .users-search-input:focus[b-5g9gda2r7j] {
        border-color: #5f73d8;
        box-shadow: 0 0 0 3px rgba(95, 115, 216, 0.18);
    }
.users-search-button[b-5g9gda2r7j] {
    padding: 13px 15px;
    background: #2942a4;
    color: #fff;
    border-radius:15px;
    border: 0;
    min-width:10%;
    cursor: pointer;
}


.required[b-5g9gda2r7j] {
    color: #b42318;
    font-weight: bold;
    margin-left: 0.25rem;
}

/* جعبه جستجوی شرکت */
.company-search[b-5g9gda2r7j] {
    position: relative;
}

    .company-search input[type="text"]:disabled[b-5g9gda2r7j] {
        background: #f9f9ff;
        color: #25345f;
    }

.selected-company-label[b-5g9gda2r7j] {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-weight: 600;
    color: #132f7d;
    background: #f9f9ff;
    padding: 0 0.5rem;
}

.clear-company[b-5g9gda2r7j] {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #b42318;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.25rem;
}

/* دراپ‌داون نتایج جستجو */
.company-dropdown-wrap[b-5g9gda2r7j] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cbd3f3;
    border-radius: 14px;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.15);
    z-index: 10;
    margin-top: 0.35rem;
}

.company-dropdown-list[b-5g9gda2r7j] {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .company-dropdown-list li[b-5g9gda2r7j] {
        padding: 0.6rem 1rem;
        cursor: pointer;
        font-weight: 500;
        color: #25345f;
        transition: background 0.15s;
    }

        .company-dropdown-list li:hover[b-5g9gda2r7j] {
            background: #eef2ff;
        }

.company-dropdown-empty[b-5g9gda2r7j] {
    padding: 0.8rem 1rem;
    color: #7c8bc0;
    font-weight: 500;
    text-align: center;
}

/* واکنش‌گرایی */
@media (max-width: 1120px) {
    .users-frame[b-5g9gda2r7j] {
        flex-direction: column;
        padding: 1.5rem;
    }

    .users-main[b-5g9gda2r7j] {
        max-width: 100%;
    }

    .users-form-grid[b-5g9gda2r7j] {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 720px) {
    .users-header[b-5g9gda2r7j],
    .users-card-title-row[b-5g9gda2r7j] {
        flex-direction: column;
        align-items: stretch;
    }

    .users-form-grid[b-5g9gda2r7j] {
        grid-template-columns: 1fr;
    }

    .header-buttons[b-5g9gda2r7j] {
        justify-content: flex-start;
    }
    .search-area[b-5g9gda2r7j] {
        width: 100%;
    }

    .users-search-input[b-5g9gda2r7j] {
    }

}

.users-action-note[b-5g9gda2r7j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.users-help-text[b-5g9gda2r7j] {
    display: block;
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.7;
}

/* ===== Phase 9 responsive user-management page ===== */
@media (max-width: 1120px), (max-height: 760px) {
    .portal-users[b-5g9gda2r7j],
    .users-main[b-5g9gda2r7j] {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .users-card[b-5g9gda2r7j] {
        overflow: visible;
    }

    .users-table-wrap[b-5g9gda2r7j] {
        max-height: 60dvh;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 720px) {
    .users-header h1[b-5g9gda2r7j] {
        font-size: 1.45rem;
    }

    .users-list[b-5g9gda2r7j],
    .search-area[b-5g9gda2r7j],
    .header-buttons[b-5g9gda2r7j],
    .users-form-actions[b-5g9gda2r7j],
    .modal-footer[b-5g9gda2r7j] {
        flex-direction: column;
        align-items: stretch;
    }

    .users-list > div:last-child[b-5g9gda2r7j],
    .header-buttons[b-5g9gda2r7j],
    .search-area[b-5g9gda2r7j] {
        display: flex;
        gap: 0.6rem;
    }

    .users-secondary-button[b-5g9gda2r7j],
    .users-icon-button[b-5g9gda2r7j],
    .users-search-button[b-5g9gda2r7j],
    .dashboard-action[b-5g9gda2r7j] {
        width: 100%;
        justify-content: center;
    }

    .users-table[b-5g9gda2r7j] {
        min-width: 720px;
    }

    .modal-container[b-5g9gda2r7j] {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
    }
}

/* وقتی عرض واقعی بخش فهرست برای جدول کافی نیست، هر سطر به کارت تبدیل می‌شود. */
@container users-card (max-width: 820px) {
    .users-table-wrap[b-5g9gda2r7j] {
        overflow-x: hidden;
    }

    .users-table[b-5g9gda2r7j] {
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .users-table thead[b-5g9gda2r7j] {
        display: none;
    }

    .users-table[b-5g9gda2r7j],
    .users-table tbody[b-5g9gda2r7j],
    .users-table tr[b-5g9gda2r7j],
    .users-table td[b-5g9gda2r7j] {
        display: block;
        width: 100%;
    }

    .users-table tbody[b-5g9gda2r7j] {
        display: grid;
        gap: 0.85rem;
        padding: 0.1rem;
    }

    .users-table tr[b-5g9gda2r7j] {
        overflow: hidden;
        padding: 0.35rem 0.85rem;
        border: 1px solid rgba(19, 47, 125, 0.16);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.52);
        box-shadow: 0 8px 20px rgba(19, 47, 125, 0.08);
    }

    .users-table td[b-5g9gda2r7j] {
        display: grid;
        grid-template-columns: minmax(7rem, 0.75fr) minmax(0, 1.25fr);
        gap: 0.75rem;
        align-items: center;
        padding: 0.65rem 0;
        border-bottom: 1px solid rgba(19, 47, 125, 0.12);
        text-align: right;
        overflow-wrap: anywhere;
    }

    .users-table td[b-5g9gda2r7j]::before {
        content: attr(data-label);
        color: #132f7d;
        font-weight: 800;
    }

    .users-table td:last-child[b-5g9gda2r7j] {
        border-bottom: 0;
    }

    .users-table td[data-label="عملیات"][b-5g9gda2r7j] {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .users-table td[data-label="عملیات"][b-5g9gda2r7j]::before {
        margin-bottom: 0.15rem;
    }

    .users-actions[b-5g9gda2r7j] {
        width: 100%;
    }

    .users-actions button[b-5g9gda2r7j],
    .users-action-note[b-5g9gda2r7j] {
        flex: 1 1 8.5rem;
    }
}

@container users-card (max-width: 480px) {
    .users-table td[b-5g9gda2r7j] {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        align-items: stretch;
    }

    .users-table td[b-5g9gda2r7j]::before {
        font-size: 0.82rem;
    }

/*    .users-actions {
        flex-direction: column;
    }*/

    .users-actions button[b-5g9gda2r7j],
    .users-action-note[b-5g9gda2r7j] {
        width: 100%;
    }
}
/* /Components/Shared/CompanyListPaginator.razor.rz.scp.css */
.reports-pagination[b-3pbsxk4w5p] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.reports-pagination button[b-3pbsxk4w5p] {
    min-width: 42px;
    min-height: 38px;
    border: 1px solid var(--portal-border-subtle);
    border-radius: 9px;
    background: var(--portal-surface);
    color: var(--portal-text-strong);
    cursor: pointer;
}

.reports-pagination button.active[b-3pbsxk4w5p] {
    background: var(--portal-focus-primary);
    color: var(--portal-text-on-primary);
}

.reports-pagination button:disabled[b-3pbsxk4w5p] {
    cursor: default;
    opacity: 0.55;
}

.reports-pagination span[b-3pbsxk4w5p] {
    color: var(--portal-text-secondary);
}


.reports-pagination[b-3pbsxk4w5p] { flex: 0 0 auto; padding: 0 8px 12px; box-sizing: border-box; }
.reports-pagination button:focus-visible[b-3pbsxk4w5p] { outline: 3px solid var(--portal-focus-primary); outline-offset: 2px; }
@media (max-width: 760px) {
    .reports-pagination span[b-3pbsxk4w5p] { flex-basis: 100%; text-align: center; }
}
/* /Components/Shared/DashboardSidebar.razor.rz.scp.css */
/* Dashboard Sidebar */
.dashboard-side[b-cty2z0qi39] {
    flex: 0 0 clamp(260px, 21vw, 340px);
    width: clamp(260px, 21vw, 340px);
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    padding: clamp(1rem, 1.3vw, 1.65rem) clamp(1.1rem, 1.4vw, 1.75rem) 1.25rem;
    border: 1px solid rgba(13, 32, 102, 0.72);
    border-radius: 28px;
    background: linear-gradient(180deg, #ccd1ff 0%, #7e97e4 42%, #5371c8 100%);
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 3px, rgba(0, 0, 0, 0.24) 0 1px 2px;
    color: #fff;
}

.side-top[b-cty2z0qi39] {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
}

.side-logo[b-cty2z0qi39] {
    display: block;
    width: min(100%, clamp(104px, 9vw, 150px));
    max-height: clamp(108px, 16vh, 180px);
    height: auto;
    margin: clamp(0.35rem, 1.5vh, 2rem) auto;
    padding: 0;
    object-fit: contain;
    object-position: center;
}

.side-menu[b-cty2z0qi39] {
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.12rem;
    margin: 0;
    padding: 0;
    list-style: none;
    direction: rtl;
    text-align: right;
    font-size: clamp(0.78rem, 0.9vw, 1.02rem);
    line-height: 1.35;
    scrollbar-width: thin;
}

.side-menu li[b-cty2z0qi39],
.side-menu li.p-1[b-cty2z0qi39] {
    padding: 0 5px !important;
}

.side-link[b-cty2z0qi39] {
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0.34rem 0;
    line-height: 1.35;
    text-align: right;
    text-decoration: none;
    text-shadow: 0 0 3px rgba(50, 60, 196, 0.85);
    font: inherit;
}

.side-link:hover[b-cty2z0qi39],
.side-link:focus[b-cty2z0qi39] {
    color: #fff;
    text-decoration: none;
}

/* حالت غیرفعال شکایت در سایدمنو: ظاهر خنثی و غیرقابل‌تعامل دارد. */
.side-link-disabled[b-cty2z0qi39],
.side-link-disabled:hover[b-cty2z0qi39],
.side-link-disabled:focus[b-cty2z0qi39] {
    color: rgba(255, 255, 255, 0.58);
    cursor: not-allowed;
}

.side-link-disabled-title[b-cty2z0qi39] {
    min-width: 0;
}

.side-link-disabled-badge[b-cty2z0qi39] {
    flex: 0 0 auto;
    padding: 0.1rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68em;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

.side-link:focus-visible[b-cty2z0qi39] {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
    border-radius: 8px;
}

.side-link.active-link[b-cty2z0qi39] {
    color: #132f7d;
    font-weight: 700;
    text-shadow: none;
}

.side-exit[b-cty2z0qi39] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    text-align: right;
    text-shadow: 0 0 3px rgba(50, 60, 196, 1);
}

.icon-logout[b-cty2z0qi39] {
    width: 1.7rem;
    filter: brightness(0) invert(1);
}

.hamburger-btn[b-cty2z0qi39] {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    z-index: 1001;
    display: none;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50px;
    background: #99abec;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.49);
}

.hamburger-icon[b-cty2z0qi39],
.hamburger-icon[b-cty2z0qi39]::before,
.hamburger-icon[b-cty2z0qi39]::after {
    position: relative;
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

.hamburger-icon[b-cty2z0qi39]::before,
.hamburger-icon[b-cty2z0qi39]::after {
    content: '';
    position: absolute;
}

.hamburger-icon[b-cty2z0qi39]::before {
    top: -8px;
}

.hamburger-icon[b-cty2z0qi39]::after {
    bottom: -8px;
}

.menu-backdrop[b-cty2z0qi39] {
    position: fixed;
    inset: 0;
    z-index: 999;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

@media (max-width: 1400px) and (min-width: 1121px) {
    .dashboard-side[b-cty2z0qi39] {
        flex-basis: 300px;
        width: 300px;
    }
}

@media (min-width: 1121px) and (max-height: 900px) {
    .side-logo[b-cty2z0qi39] {
        width: min(100%, 110px);
        margin: 0.35rem auto;
        padding: 0;
    }

    .side-menu[b-cty2z0qi39] {
        gap: 0.06rem;
        font-size: 0.78rem;
        line-height: 1.26;
    }

    .side-link[b-cty2z0qi39] {
        padding: 0.3rem 0;
        line-height: 1.26;
    }
}

@media (max-width: 1120px) {
    .hamburger-btn[b-cty2z0qi39] {
        display: inline-flex;
    }

    .dashboard-side[b-cty2z0qi39] {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        z-index: 1000;
        flex-basis: auto;
        width: min(86vw, 330px);
        max-width: 330px;
        height: 100dvh;
        min-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 0;
        padding: 1.2rem 1.25rem;
        transition: right 0.4s ease-in-out;
    }

    .dashboard-side.show-menu[b-cty2z0qi39] {
        right: 0;
    }

    .side-top[b-cty2z0qi39] {
        min-height: min-content;
        flex: 0 0 auto;
    }

    .side-menu[b-cty2z0qi39] {
        flex: 1 1 auto;
        max-height: none;
        padding-bottom: 1rem;
    }

    .side-exit[b-cty2z0qi39] {
        margin-top: 0;
    }
}

@media (max-width: 420px) {
    .dashboard-side[b-cty2z0qi39] {
        width: min(88vw, 300px);
        padding: 1rem;
    }

    .side-logo[b-cty2z0qi39] {
        width: min(100%, 104px);
        margin: 0.35rem auto;
        padding: 0;
    }

    .side-menu[b-cty2z0qi39] {
        font-size: 0.78rem;
    }
}
/* /Components/Shared/DynamicHeader.razor.rz.scp.css */
.dynamic-header[b-1blazfinx0] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: clamp(10px, 1vw, 12px);
    border-radius: 8px;
/*    margin-bottom: 16px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    direction: rtl;
}

.dynamic-header-title[b-1blazfinx0] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #132f7d;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dynamic-header-buttons[b-1blazfinx0] {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.dynamic-header-button[b-1blazfinx0] {
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background-color: #2b24ba;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.25;
    white-space: nowrap;
    flex: 0 0 auto;
}

.dynamic-header-button:disabled[b-1blazfinx0] {
    opacity: 0.65;
    cursor: not-allowed;
}

.dynamic-header-button span[b-1blazfinx0] {
    display: inline-block;
    min-width: 0;
}

.dynamic-header-icon-left[b-1blazfinx0] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.dynamic-header-icon-right[b-1blazfinx0] {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
    .dynamic-header[b-1blazfinx0] {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .dynamic-header-title[b-1blazfinx0] {
        text-align: right;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .dynamic-header-buttons[b-1blazfinx0] {
        width: 100%;
        justify-content: center;
    }

    .dynamic-header-button[b-1blazfinx0] {
        flex: 1 1 150px;
    }
}

@media (max-width: 520px) {
    .dynamic-header-buttons[b-1blazfinx0] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dynamic-header-button[b-1blazfinx0] {
        width: 100%;
    }
}
/* /Components/Shared/DynamicTable.razor.rz.scp.css */
/* DynamicTable: stable readable table with internal scroll only when needed. */
.table-scroll-container[b-aftrd8orhy] {
    width: 100%;
    max-width: 100%;
    max-height: 76vh;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.table-scroll-container.complaint-table-scroll-container[b-aftrd8orhy] {
    max-height: 52.5vh;
}

.workflow-table[b-aftrd8orhy] {
    width: 100%;
    min-width: 760px;
    direction: rtl;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    color: #132f7d;
    font-weight: 200;
    text-align: center;
}

.workflow-table thead[b-aftrd8orhy] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.workflow-table th[b-aftrd8orhy] {
    font-weight: 300;
}

.workflow-table th[b-aftrd8orhy],
.workflow-table td[b-aftrd8orhy] {
    border: 1px solid #ddd;
    background-clip: padding-box;
/*    vertical-align: middle;*/
}

.workflow-table tbody tr[b-aftrd8orhy] {
    border-bottom: 1px solid #ddd;
}

.workflow-table tbody tr:nth-child(odd) td[b-aftrd8orhy] {
    background-color: #f0f2fb;
}

.workflow-table tbody tr:nth-child(even) td[b-aftrd8orhy] {
    background-color: #fff;
}

.workflow-table tbody tr:hover td[b-aftrd8orhy] {
    background-color: #e2e6f9;
}

.workflow-table tbody td[b-aftrd8orhy] {
    padding: 8px;
    background: #fff;
    direction: rtl;
    text-align: center;
}

.table-header-cell[b-aftrd8orhy] {
    min-width: 110px;
    padding: 0;
    vertical-align: top;
    background: #fff;
    white-space: nowrap;
}

.row-number-header[b-aftrd8orhy] {
    width: 60px;
    min-width: 60px;
}

.header-title[b-aftrd8orhy] {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    border-bottom: 1px solid #ddd;
    background: #fff;
    white-space: nowrap;
}

.header-filter[b-aftrd8orhy] {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #fff;
}

.date-filter-wrapper[b-aftrd8orhy] {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.date-filter-input-wrapper[b-aftrd8orhy] {
    position: relative;
    width: 100%;
    display: block;
}

.filter-input[b-aftrd8orhy] {
    width: 100%;
    min-width: 80px;
    padding: 6px 28px 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
    color: #132f7d;
    font-size: 0.85rem;
    text-align: center;
}

.filter-input[readonly][b-aftrd8orhy] {
    cursor: pointer;
}

.clear-date-btn[b-aftrd8orhy] {
    position: absolute;
    top: 50%;
    right: 6px;
    z-index: 2;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #e74c3c;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.clear-date-btn:hover[b-aftrd8orhy] {
    color: #c0392b;
}

.sort-btn[b-aftrd8orhy] {
    border: none;
    background: none;
    color: #3d57bf;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

.row-number-cell[b-aftrd8orhy],
.state-cell[b-aftrd8orhy] {
    text-align: center;
}

.row-number-cell[b-aftrd8orhy] {
    width: 60px;
    min-width: 60px;
}

.state-cell[b-aftrd8orhy] {
    padding: 14px;
    background: #fff;
}

.amount-cell[b-aftrd8orhy],
.numeric-cell[b-aftrd8orhy],
.money-cell[b-aftrd8orhy] {
    min-width: 118px;
    direction: ltr;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.negative-amount[b-aftrd8orhy] {
    color: red;
}

.totals-row[b-aftrd8orhy] {
    background: #e9ecff !important;
    font-weight: 700;
}

.totals-row td[b-aftrd8orhy] {
    background: #e9ecff !important;
}

.cell-content[b-aftrd8orhy] {
    display: block;
    max-width: 100%;
    margin-inline: auto;
}

.cell-content-nowrap[b-aftrd8orhy] {
    white-space: nowrap;
}

.cell-content-wrap[b-aftrd8orhy] {
    max-width: min(260px, 28vw);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.75;
}

.amount-cell .cell-content[b-aftrd8orhy],
.numeric-cell .cell-content[b-aftrd8orhy],
.money-cell .cell-content[b-aftrd8orhy],
.negative-amount .cell-content[b-aftrd8orhy] {
    direction: ltr;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 1024px) {
    .table-scroll-container[b-aftrd8orhy] {
        max-height: 65vh;
    }

    .workflow-table[b-aftrd8orhy] {
        min-width: 760px;
    }

    .table-header-cell[b-aftrd8orhy] {
        min-width: 100px;
    }

    .amount-cell[b-aftrd8orhy],
    .numeric-cell[b-aftrd8orhy],
    .money-cell[b-aftrd8orhy] {
        min-width: 110px;
    }

    .filter-input[b-aftrd8orhy] {
        font-size: 0.78rem;
    }
}

@media (max-width: 760px) {
    .workflow-table[b-aftrd8orhy] {
        min-width: 680px;
    }

    .workflow-table tbody td[b-aftrd8orhy] {
        padding: 7px 6px;
        line-height: 1.55;
    }

    .cell-content-wrap[b-aftrd8orhy] {
        max-width: 210px;
    }
}

/* Card mode: when the available screen width is not enough for wide tables,
   filters are shown as small cards and each data row becomes one vertical card. */
.mobile-table-filter-panel[b-aftrd8orhy] {
    display: none;
}

@media (max-width: 900px) {
    .table-scroll-container[b-aftrd8orhy] {
        max-height: 72vh;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .table-scroll-container.complaint-table-scroll-container[b-aftrd8orhy] {
        max-height: 68vh;
    }

    .mobile-table-filter-panel[b-aftrd8orhy] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
        margin-bottom: 10px;
        direction: rtl;
    }

    .mobile-filter-card[b-aftrd8orhy] {
        min-width: 0;
        padding: 8px;
        border: 1px solid #d6dcf2;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(19, 47, 125, 0.08);
    }

    .mobile-filter-title[b-aftrd8orhy] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 28px;
        margin-bottom: 6px;
        color: #132f7d;
        font-size: 0.82rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .mobile-sort-btn[b-aftrd8orhy] {
        font-size: 0.85rem;
    }

    .workflow-table[b-aftrd8orhy],
    .workflow-table thead[b-aftrd8orhy],
    .workflow-table tbody[b-aftrd8orhy],
    .workflow-table tr[b-aftrd8orhy],
    .workflow-table th[b-aftrd8orhy],
    .workflow-table td[b-aftrd8orhy] {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .workflow-table[b-aftrd8orhy] {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    .workflow-table thead[b-aftrd8orhy] {
        display: none;
    }

    .workflow-table tbody tr[b-aftrd8orhy] {
        margin-bottom: 10px;
        padding: 8px;
        border: 1px solid #d6dcf2;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 6px 14px rgba(19, 47, 125, 0.08);
        overflow: hidden;
    }

    .workflow-table tbody tr:nth-child(odd) td[b-aftrd8orhy],
    .workflow-table tbody tr:nth-child(even) td[b-aftrd8orhy],
    .workflow-table tbody tr:hover td[b-aftrd8orhy] {
        background: transparent;
    }

    .workflow-table tbody td[b-aftrd8orhy] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 4px;
        border: 0;
        border-bottom: 1px solid #eef1fb;
        text-align: left;
        line-height: 1.7;
        white-space: normal;
    }

    .workflow-table tbody td:last-child[b-aftrd8orhy] {
        border-bottom: 0;
    }

    .workflow-table tbody td[b-aftrd8orhy]::before {
        content: attr(data-label);
        flex: 0 0 42%;
        max-width: 42%;
        color: #132f7d;
        font-weight: 700;
        text-align: right;
        white-space: normal;
    }

    .workflow-table tbody td > .cell-content[b-aftrd8orhy] {
        flex: 1 1 auto;
        min-width: 0;
        margin-inline: 0;
        color: #132f7d;
        text-align: left;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .workflow-table tbody td[dir="ltr"] > .cell-content[b-aftrd8orhy],
    .amount-cell .cell-content[b-aftrd8orhy],
    .numeric-cell .cell-content[b-aftrd8orhy],
    .money-cell .cell-content[b-aftrd8orhy],
    .negative-amount .cell-content[b-aftrd8orhy] {
        direction: ltr;
        text-align: left;
        white-space: normal;
    }

    .negative-amount .cell-content[b-aftrd8orhy] {
        color: red;
    }

    .row-number-cell[b-aftrd8orhy] {
        width: 100%;
        min-width: 0;
    }

    .state-cell[b-aftrd8orhy] {
        display: block !important;
        padding: 14px !important;
        border: 1px solid #d6dcf2 !important;
        border-radius: 12px;
        background: #fff !important;
        text-align: center !important;
    }

    .state-cell[b-aftrd8orhy]::before {
        content: none !important;
    }

    .totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.totals-row) {
        display: block !important;
        margin-bottom: 10px;
        padding: 8px;
        border: 1px solid #cfd6f2;
        border-radius: 12px;
        background: #e9ecff !important;
        box-shadow: 0 6px 14px rgba(19, 47, 125, 0.08);
        overflow: hidden;
    }

    .totals-row td[b-aftrd8orhy],
    [b-aftrd8orhy](.totals-row td) {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 8px 4px !important;
        border: 0 !important;
        border-bottom: 1px solid #dce2fb !important;
        background: transparent !important;
        color: #132f7d;
        line-height: 1.7;
        white-space: normal !important;
    }

    .totals-row td:first-child[b-aftrd8orhy],
    [b-aftrd8orhy](.totals-row td:first-child) {
        display: block !important;
        padding: 8px 4px 10px !important;
        color: #132f7d;
        font-weight: 800;
        text-align: center !important;
        border-bottom: 1px solid #cfd6f2 !important;
    }

    .totals-row td:last-child[b-aftrd8orhy],
    [b-aftrd8orhy](.totals-row td:last-child) {
        border-bottom: 0 !important;
    }

    .totals-row td:first-child[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:first-child::before) {
        content: none !important;
    }

    .totals-row td:nth-child(2)[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:nth-child(2)::before) {
        content: "جمع بدهکاری";
    }

    .totals-row td:nth-child(3)[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:nth-child(3)::before) {
        content: "جمع بستانکاری";
    }

    .totals-row td:nth-child(4)[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:nth-child(4)::before) {
        content: "مانده خطی";
    }

    .totals-row td:nth-child(5)[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:nth-child(5)::before) {
        content: "مانده";
    }

    .totals-row td:not(:first-child)[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.totals-row td:not(:first-child)::before) {
        flex: 0 0 42%;
        max-width: 42%;
        color: #132f7d;
        font-weight: 700;
        text-align: right;
        white-space: normal;
    }

    .totals-row td:not(:first-child)[b-aftrd8orhy],
    [b-aftrd8orhy](.totals-row td:not(:first-child)) {
        direction: ltr;
        text-align: left !important;
        font-variant-numeric: tabular-nums;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .filter-input[b-aftrd8orhy] {
        min-width: 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 520px) {
    .mobile-table-filter-panel[b-aftrd8orhy] {
        grid-template-columns: 1fr;
    }

    .workflow-table tbody td[b-aftrd8orhy] {
        gap: 8px;
    }

    .workflow-table tbody td[b-aftrd8orhy]::before {
        flex-basis: 46%;
        max-width: 46%;
        font-size: 0.82rem;
    }

    .workflow-table tbody td > .cell-content[b-aftrd8orhy] {
        font-size: 0.84rem;
    }
}

/* Finance totals: table mode keeps values under their own columns; card mode uses a separate readable summary card. */
.mobile-totals-row[b-aftrd8orhy] {
    display: none;
}

.mobile-totals-card[b-aftrd8orhy] {
    display: none;
}

@media (max-width: 900px) {
    .table-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.table-totals-row) {
        display: none !important;
    }

    .mobile-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-row) {
        display: block !important;
        margin-bottom: 10px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mobile-totals-row > td[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-row > td) {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .mobile-totals-row > td[b-aftrd8orhy]::before,
    [b-aftrd8orhy](.mobile-totals-row > td::before) {
        content: none !important;
    }

    .mobile-totals-card[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-card) {
        display: block;
        padding: 10px;
        border: 1px solid #cfd6f2;
        border-radius: 12px;
        background: #e9ecff;
        box-shadow: 0 6px 14px rgba(19, 47, 125, 0.08);
        direction: rtl;
    }

    .mobile-totals-card h3[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-card h3) {
        margin: 0 0 8px;
        color: #132f7d;
        font-size: 0.95rem;
        font-weight: 800;
        text-align: right;
    }

    .mobile-totals-item[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-item) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-top: 1px solid #dce2fb;
        color: #132f7d;
    }

    .mobile-totals-item span[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-item span) {
        flex: 0 0 auto;
        font-weight: 700;
        text-align: right;
    }

    .mobile-totals-item strong[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-item strong) {
        min-width: 0;
        font-weight: 800;
        text-align: left;
        font-variant-numeric: tabular-nums;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .mobile-totals-item strong.negative-amount[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-item strong.negative-amount) {
        color: red;
    }
}

/* Fix: Finance has two separate footer renderings.
   - table-totals-row is only for normal table mode.
   - mobile-totals-row is only for card mode.
   These selectors are intentionally strong because FooterTemplate content can come from the parent page. */
.mobile-totals-row[b-aftrd8orhy],
.workflow-table .mobile-totals-row[b-aftrd8orhy],
[b-aftrd8orhy](.mobile-totals-row),
[b-aftrd8orhy](.workflow-table .mobile-totals-row) {
    display: none !important;
}

@media (min-width: 901px) {
    .table-totals-row[b-aftrd8orhy],
    .workflow-table .table-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.table-totals-row),
    [b-aftrd8orhy](.workflow-table .table-totals-row) {
        display: table-row !important;
    }

    .mobile-totals-row[b-aftrd8orhy],
    .workflow-table .mobile-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-row),
    [b-aftrd8orhy](.workflow-table .mobile-totals-row) {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .table-totals-row[b-aftrd8orhy],
    .workflow-table .table-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.table-totals-row),
    [b-aftrd8orhy](.workflow-table .table-totals-row) {
        display: none !important;
    }

    .mobile-totals-row[b-aftrd8orhy],
    .workflow-table .mobile-totals-row[b-aftrd8orhy],
    [b-aftrd8orhy](.mobile-totals-row),
    [b-aftrd8orhy](.workflow-table .mobile-totals-row) {
        display: block !important;
    }
}

/* Server-paged pages keep their pager inside the fixed desktop workspace. */
@media (min-width: 901px) {
    .table-scroll-container.paged-table-scroll-container[b-aftrd8orhy] {
        max-height: min(76vh, calc(100dvh - 280px));
    }
}
/* /Components/Shared/PageContainer.razor.rz.scp.css */
.workflow-panel[b-f0tj1u70t7] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    padding: clamp(0.75rem, 1.7vw, 2.5rem);
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 20px 25px -5px, rgba(0, 0, 0, 0.04) 0 10px 10px -5px;
    background: #ababf2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



/* ===== Phase 9 responsive PageContainer ===== */
@media (max-width: 1120px) {
    .workflow-panel[b-f0tj1u70t7] {
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
        padding: clamp(0.75rem, 2vw, 1.25rem);
    }
}

@media (max-width: 560px) {
    .workflow-panel[b-f0tj1u70t7] {
        border-radius: 18px;
        padding: 0.75rem;
    }
}
/* /Components/Shared/PortalDialog.razor.rz.scp.css */
.report-dialog-title-wrap[b-hnn1tthuxk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.report-dialog-title[b-hnn1tthuxk] {
    margin: 0;
}

.report-dialog-subtitle[b-hnn1tthuxk] {
    margin: 0;
    color: var(--portal-text-muted, inherit);
    font-size: 0.9rem;
}
/* /Components/Shared/PortalErrorBoundary.razor.rz.scp.css */
.portal-error-boundary[b-s8rz4xr5j3] {
    width: 100%;
    min-height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    direction: rtl;
    text-align: center;
}

.portal-error-boundary__card[b-s8rz4xr5j3] {
    width: min(100%, 34rem);
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1rem 2.5rem rgba(16, 43, 124, 0.18);
}

.portal-error-boundary__card h2[b-s8rz4xr5j3] {
    margin: 0 0 0.75rem;
    color: #102b7c;
    font-size: 1.25rem;
}

.portal-error-boundary__card p[b-s8rz4xr5j3] {
    margin: 0;
    color: #334155;
    line-height: 1.9;
}

.portal-error-boundary__reload[b-s8rz4xr5j3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    background: #102b7c;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.portal-error-boundary__reload:hover[b-s8rz4xr5j3],
.portal-error-boundary__reload:focus-visible[b-s8rz4xr5j3] {
    text-decoration: none;
    filter: brightness(1.08);
}

@media (max-width: 640px) {
    .portal-error-boundary[b-s8rz4xr5j3] {
        min-height: 14rem;
        padding: 1rem;
    }

    .portal-error-boundary__card[b-s8rz4xr5j3] {
        padding: 1.25rem;
    }
}
/* /Components/Shared/PortalStateMessage.razor.rz.scp.css */
.portal-state-message[b-wglj9i371l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 25px 16px 0;
    border-radius: 16px;
    border: 1px solid var(--portal-border-input);
    background: var(--portal-surface);
    color: var(--portal-text-state);
    font-size: 0.92rem;
    line-height: 1.9;
    margin: 16px;
}

.portal-state-message strong[b-wglj9i371l] {
    font-weight: 800;
}

.portal-state-message span[b-wglj9i371l] {
    color: inherit;
}

.portal-state-message-error[b-wglj9i371l] {
    border-color: var(--portal-text-danger);
    background: var(--portal-surface-error);
    color: var(--portal-text-danger);
}

.portal-state-message-warning[b-wglj9i371l] {
    border-color: var(--portal-text-warning);
    background: var(--portal-surface-warning);
    color: var(--portal-text-warning);
}

.portal-state-message-success[b-wglj9i371l] {
    border-color: var(--success);
    background: var(--portal-surface-success);
    color: var(--portal-text-success);
}

.portal-state-message-empty[b-wglj9i371l] {
    border-style: dashed;
}
