/* /Components/Layout/BottomNav.razor.rz.scp.css */
/* ============================
   Mobile Bottom Navigation Bar
   ============================ */

.phos-bottom-nav[b-p755641dlq] {
    display: none;
}

@media (max-width: 767.98px) {
    .phos-bottom-nav-create[b-p755641dlq] {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        flex: 0 0 72px;
        align-self: stretch;
        overflow: visible;
    }

    .phos-bottom-nav[b-p755641dlq] {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #ffffff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
        padding: 0 0 0.5rem;
        height: 62px;
        justify-content: space-around;
        align-items: center;
        overflow: visible;
    }

    /* FAB — New Order button */
    .phos-bottom-nav-fab[b-p755641dlq] {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        border-radius: 32px;
        background: var(--phos-primary);
        color: #ffffff;
        font-size: 1.6rem;
        text-decoration: none;
        box-shadow: 0 6px 20px rgba(111, 66, 193, 0.5);
        margin-top: -26px; /* protrudes above the nav bar */
        transition: background 0.25s ease,
                    box-shadow 0.25s ease,
                    transform 0.15s ease;
        border: 4px solid #ffffff;
        flex-shrink: 0;
        z-index: 2;
        overflow: visible;
    }

    /* Mode-change pulse — fires once when a mode class is applied */
    .phos-bottom-nav-fab--save[b-p755641dlq],
    .phos-bottom-nav-fab--submit[b-p755641dlq],
    .phos-bottom-nav-fab--back[b-p755641dlq] {
        animation: phosNavFabModeChange-b-p755641dlq 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    /* Save mode — green */
    .phos-bottom-nav-fab--save[b-p755641dlq] {
        background: #22c55e;
        box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
    }

    .phos-bottom-nav-fab--save[b-p755641dlq]::before {
        border-color: #22c55e;
    }

    .phos-bottom-nav-fab--save:hover[b-p755641dlq],
    .phos-bottom-nav-fab--save:focus[b-p755641dlq] {
        background: #16a34a;
        color: #ffffff;
        box-shadow: 0 8px 24px rgba(22, 163, 74, 0.55);
        outline: none;
    }

    /* Submit mode — primary purple */
    .phos-bottom-nav-fab--submit[b-p755641dlq] {
        background: var(--phos-primary);
        box-shadow: 0 6px 20px rgba(111, 66, 193, 0.5);
    }

    .phos-bottom-nav-fab--submit:hover[b-p755641dlq],
    .phos-bottom-nav-fab--submit:focus[b-p755641dlq] {
        background: var(--phos-primary-dark);
        color: #ffffff;
        box-shadow: 0 8px 24px rgba(111, 66, 193, 0.6);
        outline: none;
    }

    /* Back mode — neutral grey */
    .phos-bottom-nav-fab--back[b-p755641dlq] {
        background: #6c757d;
        box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    }

    .phos-bottom-nav-fab--back[b-p755641dlq]::before {
        border-color: #6c757d;
    }

    .phos-bottom-nav-fab--back:hover[b-p755641dlq],
    .phos-bottom-nav-fab--back:focus[b-p755641dlq] {
        background: #5a6268;
        color: #ffffff;
        box-shadow: 0 8px 24px rgba(90, 98, 104, 0.5);
        outline: none;
    }

    /* Busy/disabled state */
    .phos-bottom-nav-fab:disabled[b-p755641dlq] {
        opacity: 0.75;
        cursor: not-allowed;
        transform: none !important;
    }

    .phos-bottom-nav-fab[b-p755641dlq]::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid var(--phos-primary);
        opacity: 0;
        animation: phosNavFabRipple-b-p755641dlq 10s ease-out infinite;
        pointer-events: none;
    }

    .phos-bottom-nav-fab[b-p755641dlq]::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
        pointer-events: none;
    }

    @keyframes phosNavFabModeChange-b-p755641dlq {
        0%   { transform: scale(0.75); }
        60%  { transform: scale(1.15); }
        80%  { transform: scale(0.95); }
        100% { transform: scale(1); }
    }

    @keyframes phosNavFabRipple-b-p755641dlq {
        0% {
            transform: scale(0.9);
            opacity: 0.7;
        }

        15% {
            transform: scale(1.6);
            opacity: 0;
        }

        100% {
            transform: scale(1.6);
            opacity: 0;
        }
    }

    @keyframes phosNavFabPellet-b-p755641dlq {
        0% {
            transform: translate(-50%, -50%) scale(0.2);
            opacity: 0;
        }

        18% {
            transform: translate(-50%, -80%) scale(0.9);
            opacity: 0.95;
        }

        100% {
            transform: translate(-50%, -980%) scale(0.55);
            opacity: 0;
        }
    }

    .phos-bottom-nav-fab:hover[b-p755641dlq],
    .phos-bottom-nav-fab:focus[b-p755641dlq] {
        background: var(--phos-primary-dark);
        color: #ffffff;
        text-decoration: none;
        transform: scale(1.08);
        box-shadow: 0 8px 24px rgba(111, 66, 193, 0.6);
        outline: none;
    }

    .phos-bottom-nav-fab:active[b-p755641dlq] {
        transform: scale(0.95);
    }

    .phos-bottom-nav-fab.is-open[b-p755641dlq] {
        background: var(--phos-primary-dark);
        box-shadow: 0 10px 28px rgba(111, 66, 193, 0.58);
    }

    .phos-bottom-nav-fab.is-open i[b-p755641dlq] {
        transform: rotate(135deg);
    }

    .phos-bottom-nav-fab.is-open[b-p755641dlq]::after {
        animation: phosNavFabPellet-b-p755641dlq 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .phos-bottom-nav-fab i[b-p755641dlq] {
        transition: transform 0.28s ease;
    }

    .phos-bottom-nav-radial[b-p755641dlq] {
        position: absolute;
        left: 50%;
        bottom: 1.9rem;
        width: 360px;
        height: 224px;
        transform: translateX(-50%);
        pointer-events: none;
        z-index: 1;
    }

    .phos-bottom-nav-radial-title[b-p755641dlq] {
        position: absolute;
        left: 50%;
        top: 8rem;
        transform: translate(-50%, 0.5rem) scale(0.96);
        padding: 0.32rem 0.8rem;
        border-radius: 999px;
        background: rgba(18, 25, 38, 0.92);
        color: #fff;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        opacity: 0;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
        transition: opacity 0.22s ease, transform 0.28s ease;
        white-space: nowrap;
        z-index: 1;
    }

    .phos-radial-option[b-p755641dlq] {
        --tx: 0px;
        --ty: 0px;
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0;
        pointer-events: none;
        width: 76px;
        aspect-ratio: 1;
        border: none;
        border-radius: 50%;
        background: #ffffff;
        color: var(--phos-primary);
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.55rem;
        transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.24s ease, box-shadow 0.18s ease;
        -webkit-tap-highlight-color: transparent;
        text-decoration: none;
        cursor: pointer;
    }

    .phos-radial-option i[b-p755641dlq] {
        font-size: 1rem;
    }

    .phos-radial-option span[b-p755641dlq] {
        font-size: 0.63rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }

    .phos-radial-option:active[b-p755641dlq] {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.95);
    }

    .phos-radial-option-order[b-p755641dlq] { --tx: -138px; --ty: -84px; }
    .phos-radial-option-organization[b-p755641dlq] { --tx: -76px; --ty: -144px; }
    .phos-radial-option-location[b-p755641dlq] { --tx: 0px; --ty: -168px; }
    .phos-radial-option-department[b-p755641dlq] { --tx: 76px; --ty: -144px; }
    .phos-radial-option-category[b-p755641dlq] { --tx: 138px; --ty: -84px; }

    .phos-bottom-nav-create.is-open .phos-bottom-nav-radial-title[b-p755641dlq] {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .phos-bottom-nav-create.is-open .phos-radial-option[b-p755641dlq] {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* Add bottom padding so content doesn't hide behind the nav + FAB protrusion */
}

/* ============================
   Bottom Nav: button reset + avatar item
   ============================ */
@media (max-width: 767.98px) {
    button.phos-bottom-nav-item[b-p755641dlq] {
        background: none;
        border: none;
        outline: none;
        cursor: pointer;
    }

    button.phos-bottom-nav-item.active[b-p755641dlq] {
        background: var(--phos-primary);
        color: #ffffff;
    }

    .phos-bnav-avatar-circle[b-p755641dlq] {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background-color: var(--phos-primary-dark);
        color: #fff;
        font-weight: 700;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.15rem;
        border: 1.5px solid var(--phos-primary);
        letter-spacing: 0.03em;
    }
}

/* ============================
   Off-Canvas Bottom Sheets (mobile nav)
   ============================ */

.phos-oc-backdrop[b-p755641dlq] {
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.phos-oc-backdrop.is-open[b-p755641dlq] {
    opacity: 1;
    pointer-events: auto;
}

.phos-offcanvas-bottom[b-p755641dlq] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040; /* intentionally below bottom-nav at 1050 */
    background: #ffffff;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12), 0 -2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overflow: hidden;
    max-height: min(70vh, 32rem);
}

.phos-offcanvas-bottom.is-open[b-p755641dlq] {
    transform: translateY(0);
}

.phos-oc-handle[b-p755641dlq] {
    width: 2.5rem;
    height: 0.25rem;
    background: #d8d8d8;
    border-radius: 9999px;
    margin: 0.6rem auto 0;
}

.phos-oc-header[b-p755641dlq] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem 0.625rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #212529;
    border-bottom: 1px solid #f2f2f2;
}

.phos-oc-close[b-p755641dlq] {
    margin-left: auto;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1rem;
    padding: 0.25rem 0.375rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: color 0.15s ease, background 0.15s ease;
}

.phos-oc-close:hover[b-p755641dlq] {
    color: #555;
    background: rgba(0, 0, 0, 0.06);
}

.phos-oc-items[b-p755641dlq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.375rem;
    padding: 0.875rem 0.875rem 0;
    overflow-y: auto;
}

.phos-oc-item[b-p755641dlq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: #343a40;
    border-radius: 0.875rem;
    transition: background 0.15s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.phos-oc-item:hover[b-p755641dlq],
.phos-oc-item:focus[b-p755641dlq] {
    background: rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: #343a40;
    outline: none;
}

.phos-oc-item:active[b-p755641dlq] {
    transform: scale(0.93);
    background: rgba(0, 0, 0, 0.08);
}

.phos-oc-icon[b-p755641dlq] {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--phos-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.phos-oc-item span[b-p755641dlq] {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: #555;
    line-height: 1.25;
}

.phos-oc-nav-spacer[b-p755641dlq] {
    height: 68px;
}
/* /Components/Layout/LoginDisplay.razor.rz.scp.css */
/* ============================
   User Avatar Button (desktop navbar)
   ============================ */
.phos-avatar-wrapper[b-1wyfvwdoms] {
    position: relative;
}

.phos-avatar-btn[b-1wyfvwdoms] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: var(--phos-primary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.phos-avatar-btn:hover[b-1wyfvwdoms] {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/* Bottom nav avatar circle (mobile) */
.phos-bnav-avatar-circle[b-1wyfvwdoms] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--phos-primary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
    border: 1.5px solid var(--phos-primary);
    letter-spacing: 0.03em;
}

/* ============================
   User Info Overlay
   ============================ */
.phos-user-overlay[b-1wyfvwdoms] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.25);
    animation: phosOverlayIn-b-1wyfvwdoms 0.15s ease;
}

@keyframes phosOverlayIn-b-1wyfvwdoms {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================
   User Info Dialog
   ============================ */
.phos-user-dialog[b-1wyfvwdoms] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-width: 300px;
    background: #fff;
    border-radius: 16px;
    z-index: 1050;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.1), 0 4px 5px 0 rgba(0,0,0,.07), 0 1px 10px 0 rgba(0,0,0,.06);
    animation: phosDialogIn-b-1wyfvwdoms 0.2s ease;
}

@keyframes phosDialogIn-b-1wyfvwdoms {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.phos-user-dialog-body[b-1wyfvwdoms] {
    padding: 1.5rem;
    text-align: center;
}

.phos-ud-avatar[b-1wyfvwdoms] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--phos-primary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.phos-ud-email[b-1wyfvwdoms] {
    margin: 0 0 0.375rem;
    font-size: 0.8125rem;
    color: #6c757d;
    word-break: break-all;
}

.phos-ud-role[b-1wyfvwdoms] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--phos-primary, #6f42c1);
    border-radius: 999px;
    padding: 0.2rem 0.85rem;
    margin-bottom: 1rem;
}

.phos-ud-actions[b-1wyfvwdoms] {
    text-align: left;
    border-top: 1px solid #e9ecef;
    margin: 0 -1.5rem;
    padding: 0.375rem 0;
}

.phos-ud-action[b-1wyfvwdoms] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.5rem;
    color: #212529;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.15s ease;
}

.phos-ud-action:hover[b-1wyfvwdoms] {
    background-color: #f5f5f5;
    color: #212529;
    text-decoration: none;
}

.phos-ud-action span[b-1wyfvwdoms] {
    flex: 1;
}

.phos-ud-chevron[b-1wyfvwdoms] {
    font-size: 0.7rem;
    color: #adb5bd;
}

.phos-ud-action.phos-ud-danger[b-1wyfvwdoms] {
    color: #dc3545;
}

.phos-ud-action.phos-ud-danger:hover[b-1wyfvwdoms] {
    background-color: #fff5f5;
    color: #dc3545;
}

.phos-ud-action.phos-ud-danger .phos-ud-chevron[b-1wyfvwdoms] {
    color: #e4a0a7;
}

.phos-ud-footer[b-1wyfvwdoms] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    border-top: 1px solid #e9ecef;
    margin: 0 -1.5rem;
    padding: 0.75rem 1.5rem 0;
    font-size: 0.6875rem;
    color: #adb5bd;
}

.phos-ud-footer-link[b-1wyfvwdoms] {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.phos-ud-footer-link:hover[b-1wyfvwdoms] {
    color: #6c757d;
}

/* Mobile: dialog anchors above the bottom nav */
@media (max-width: 767.98px) {
    .phos-user-dialog-mobile[b-1wyfvwdoms] {
        position: fixed;
        top: auto;
        right: auto;
        bottom: calc(62px + 0.75rem);
        left: 50%;
        transform: translateX(-50%);
        width: min(300px, calc(100vw - 1.5rem));
        z-index: 1052;
        max-height: 80vh;
        overflow-y: auto;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.phos-navbar-actions[b-2yz4t5lcot] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.phos-navbar-tenant-name[b-2yz4t5lcot] {
    font-size: 0.95rem;
    font-weight: 700;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.92;
}

.phos-layout-logo[b-2yz4t5lcot] {
    object-fit: contain;
    transition: max-height 0.2s ease, max-width 0.2s ease;
}

.phos-layout-logo-small[b-2yz4t5lcot] {
    max-height: 32px;
    max-width: 120px;
}

.phos-layout-logo-medium[b-2yz4t5lcot] {
    max-height: 42px;
    max-width: 160px;
}

.phos-layout-logo-large[b-2yz4t5lcot] {
    max-height: 52px;
    max-width: 200px;
}

.page[b-2yz4t5lcot] {
    display: flex;
    flex-direction: column;
}

main[b-2yz4t5lcot] {
    flex: 1;
}

.sidebar[b-2yz4t5lcot] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2yz4t5lcot] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2yz4t5lcot]  a, .top-row[b-2yz4t5lcot]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2yz4t5lcot]  a:hover, .top-row[b-2yz4t5lcot]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2yz4t5lcot]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2yz4t5lcot] {
        justify-content: space-between;
    }

    .top-row[b-2yz4t5lcot]  a, .top-row[b-2yz4t5lcot]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2yz4t5lcot] {
        flex-direction: row;
    }

    .sidebar[b-2yz4t5lcot] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2yz4t5lcot] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2yz4t5lcot]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2yz4t5lcot], article[b-2yz4t5lcot] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .phos-main-content[b-2yz4t5lcot] {
        padding-bottom: 5.5rem !important;
    }

    .phos-navbar[b-2yz4t5lcot] {
        justify-content: center;
        position: relative;
        z-index: 50;
    }

    .phos-navbar .navbar-brand[b-2yz4t5lcot] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .phos-navbar-actions[b-2yz4t5lcot] {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

#blazor-error-ui[b-2yz4t5lcot] {
    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-2yz4t5lcot] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-item[b-8ji307y92p]  .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-item[b-8ji307y92p]  .nav-link:hover,
.nav-item[b-8ji307y92p]  .nav-link:focus {
    color: white;
}

.nav-item[b-8ji307y92p]  a.active,
.nav-item[b-8ji307y92p]  .nav-link.active {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
    background-color: transparent;
    border-radius: 0;
}
/* /Components/Layout/NotificationBell.razor.rz.scp.css */
.nb-wrapper[b-1lsfcvz42x] {
    position: relative;
}

/* Bell button */
.nb-bell-btn[b-1lsfcvz42x] {
    background: none;
    border: none;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
}

.nb-bell-btn:hover[b-1lsfcvz42x] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nb-icon-wrap[b-1lsfcvz42x] {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Badge */
.nb-badge[b-1lsfcvz42x] {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #f44336;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Bell shake animation */
@@keyframes bell-shake {
    0%[b-1lsfcvz42x]   { transform: rotate(0deg); }
    10%[b-1lsfcvz42x]  { transform: rotate(15deg); }
    20%[b-1lsfcvz42x]  { transform: rotate(-13deg); }
    30%[b-1lsfcvz42x]  { transform: rotate(11deg); }
    40%[b-1lsfcvz42x]  { transform: rotate(-9deg); }
    50%[b-1lsfcvz42x]  { transform: rotate(7deg); }
    60%[b-1lsfcvz42x]  { transform: rotate(-5deg); }
    70%[b-1lsfcvz42x]  { transform: rotate(3deg); }
    80%[b-1lsfcvz42x]  { transform: rotate(-2deg); }
    90%[b-1lsfcvz42x]  { transform: rotate(1deg); }
    100%[b-1lsfcvz42x] { transform: rotate(0deg); }
}

.nb-ringing[b-1lsfcvz42x] {
    animation: bell-shake 0.8s ease-in-out;
    transform-origin: top center;
    display: inline-block;
}

/* Overlay */
.nb-overlay[b-1lsfcvz42x] {
    position: fixed;
    inset: 0;
    z-index: 1099;
}

/* Panel */
.nb-panel[b-1lsfcvz42x] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 480px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 375px) {
    .nb-panel[b-1lsfcvz42x] {
        width: calc(100vw - 1.5rem);
        right: -0.25rem;
    }
}

.nb-panel-header[b-1lsfcvz42x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    background: #fafafa;
    flex-shrink: 0;
}

.nb-mark-read[b-1lsfcvz42x] {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--phos-primary, #6750a4);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.nb-mark-read:hover[b-1lsfcvz42x] {
    color: var(--phos-primary-dark, #4a3880);
}

/* Empty state */
.nb-empty[b-1lsfcvz42x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: #adb5bd;
    font-size: 0.85rem;
    gap: 0.25rem;
}

/* Notification list */
.nb-list[b-1lsfcvz42x] {
    overflow-y: auto;
    flex: 1;
}

.nb-item[b-1lsfcvz42x] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.nb-item:last-child[b-1lsfcvz42x] {
    border-bottom: none;
}

.nb-item-unseen[b-1lsfcvz42x] {
    background: #f3f0fb;
}

.nb-item:hover[b-1lsfcvz42x] {
    background: #f8f5ff;
}

.nb-item-icon[b-1lsfcvz42x] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.nb-icon-accessrequest[b-1lsfcvz42x] {
    background: #e8f5e9;
    color: #2e7d32;
}

.nb-icon-userrequest[b-1lsfcvz42x] {
    background: #e3f2fd;
    color: #1565c0;
}

.nb-item-body[b-1lsfcvz42x] {
    flex: 1;
    min-width: 0;
}

.nb-item-title[b-1lsfcvz42x] {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-item-text[b-1lsfcvz42x] {
    margin: 0;
    font-size: 0.78rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-item-time[b-1lsfcvz42x] {
    font-size: 0.7rem;
    color: #adb5bd;
}

.nb-item-action[b-1lsfcvz42x] {
    flex-shrink: 0;
    align-self: center;
    font-size: 0.73rem;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
}
/* /Components/Layout/PhosDatePickerPortal.razor.rz.scp.css */
.phos-dp-backdrop[b-nyq2oxdxba] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.25);
    cursor: default;
}

.phos-dp-portal[b-nyq2oxdxba] {
    position: fixed;
    z-index: 10001;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: 3px solid var(--phos-primary);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(111, 66, 193, 0.12);
    padding: 1rem;
    width: 320px;
    font-family: inherit;
    animation: phsDpPopIn-b-nyq2oxdxba 0.18s ease both;
}

@keyframes phsDpPopIn-b-nyq2oxdxba {
    from { opacity: 0; transform: scale(0.94) translateY(-4px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.phos-dp-nav[b-nyq2oxdxba] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -1rem -1rem 0.75rem -1rem;
    padding: 0.6rem 1rem;
    background: var(--phos-primary);
    border-radius: 3px 3px 0 0;
}

.phos-dp-nav-btn[b-nyq2oxdxba] {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    font-size: 0.85rem;
    line-height: 1;
    transition: background 0.15s;
}

.phos-dp-nav-btn:hover:not([disabled])[b-nyq2oxdxba] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.phos-dp-nav-btn[disabled][b-nyq2oxdxba] {
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

.phos-dp-month-label[b-nyq2oxdxba] {
    background: none;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    transition: background 0.15s;
    font-family: inherit;
    line-height: 1.2;
}

.phos-dp-month-label:hover:not([disabled])[b-nyq2oxdxba] {
    background: rgba(255, 255, 255, 0.2);
}

.phos-dp-month-label[disabled][b-nyq2oxdxba] {
    cursor: default;
    opacity: 0.7;
}

.phos-dp-month-grid[b-nyq2oxdxba],
.phos-dp-year-grid[b-nyq2oxdxba] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 0.5rem;
}

.phos-dp-mcell[b-nyq2oxdxba],
.phos-dp-ycell[b-nyq2oxdxba] {
    all: unset;
    box-sizing: border-box;
    display: block;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    color: #212529;
    transition: background 0.1s, color 0.1s;
    user-select: none;
}

.phos-dp-mcell:hover:not(.phos-dp-cell-disabled):not(.phos-dp-cell-selected)[b-nyq2oxdxba],
.phos-dp-ycell:hover:not(.phos-dp-cell-disabled):not(.phos-dp-cell-selected)[b-nyq2oxdxba] {
    background: var(--phos-primary);
    color: #fff;
}

.phos-dp-year-out[b-nyq2oxdxba] {
    color: #adb5bd;
}

@keyframes phsDpZoomOut-b-nyq2oxdxba {
    from { opacity: 0; transform: scale(1.1); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes phsDpZoomIn-b-nyq2oxdxba {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.phos-dp-zoom-out[b-nyq2oxdxba] { animation: phsDpZoomOut-b-nyq2oxdxba 0.18s ease both; }
.phos-dp-zoom-in[b-nyq2oxdxba]  { animation: phsDpZoomIn-b-nyq2oxdxba  0.18s ease both; }

.phos-dp-grid[b-nyq2oxdxba] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.phos-dp-dow[b-nyq2oxdxba] {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    padding: 0.3rem 0;
    letter-spacing: 0.03em;
}

.phos-dp-cell[b-nyq2oxdxba] {
    all: unset;
    box-sizing: border-box;
    display: block;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-radius: 4px;
    cursor: pointer;
    color: #212529;
    transition: background 0.1s, color 0.1s;
    user-select: none;
}

.phos-dp-cell:hover:not(.phos-dp-cell-disabled):not(.phos-dp-cell-blank):not(.phos-dp-cell-selected)[b-nyq2oxdxba] {
    background: var(--phos-primary);
    color: #fff;
}

.phos-dp-cell-blank[b-nyq2oxdxba] {
    pointer-events: none;
}

.phos-dp-cell-disabled[b-nyq2oxdxba] {
    color: #ced4da;
    cursor: not-allowed;
    pointer-events: none;
}

.phos-dp-cell-selected[b-nyq2oxdxba] {
    background: var(--phos-primary) !important;
    color: #fff !important;
    font-weight: 600;
}

.phos-dp-cell-today[b-nyq2oxdxba] {
    font-weight: 700;
    color: var(--phos-primary);
    box-shadow: inset 0 0 0 1.5px var(--phos-primary);
}

.phos-dp-footer[b-nyq2oxdxba] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.phos-dp-clear-btn[b-nyq2oxdxba] {
    background: none;
    border: none;
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
    color: #6c757d;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
}

.phos-dp-clear-btn:hover[b-nyq2oxdxba] {
    background: #f8f9fa;
    color: #495057;
}
/* /Components/Layout/PhosOverlay.razor.rz.scp.css */
/* ============================
   Global Overlay & Confirm Dialog
   ============================ */
@keyframes phosOverlayFadeIn-b-vieruqu5o0 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes phosSpinnerRotate-b-vieruqu5o0 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes phosContentScaleIn-b-vieruqu5o0 {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.phos-overlay[b-vieruqu5o0] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: phosOverlayFadeIn-b-vieruqu5o0 0.25s ease both;
}

.phos-overlay-content[b-vieruqu5o0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: phosContentScaleIn-b-vieruqu5o0 0.3s ease both;
}

.phos-spinner[b-vieruqu5o0] {
    width: 48px;
    height: 48px;
    border: 4px solid transparent;
    border-top-color: var(--phos-primary);
    border-right-color: var(--phos-primary);
    border-radius: 50%;
    animation: phosSpinnerRotate-b-vieruqu5o0 0.8s linear infinite;
}

.phos-overlay-message[b-vieruqu5o0] {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    user-select: none;
}

.phos-overlay-sub[b-vieruqu5o0] {
    margin: -0.5rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-align: center;
    user-select: none;
}

.phos-confirm-card[b-vieruqu5o0] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    max-width: 400px;
    width: 90vw;
    text-align: center;
}

.phos-confirm-message[b-vieruqu5o0] {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #212529;
}

.phos-confirm-sub[b-vieruqu5o0] {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.phos-confirm-card .phos-confirm-message:last-of-type:not(:has(~ .phos-confirm-sub))[b-vieruqu5o0] {
    margin-bottom: 1.25rem;
}

.phos-confirm-actions[b-vieruqu5o0] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.phos-btn[b-vieruqu5o0] {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.phos-btn:active[b-vieruqu5o0] {
    transform: scale(0.97);
}

.phos-btn-confirm[b-vieruqu5o0] {
    background: var(--phos-primary);
    color: #fff;
}

.phos-btn-confirm:hover[b-vieruqu5o0] {
    background: var(--phos-primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.phos-btn-cancel[b-vieruqu5o0] {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.phos-btn-cancel:hover[b-vieruqu5o0] {
    background: #f8f9fa;
    border-color: #adb5bd;
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
.ad-page[b-l9vdqr5u36] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem 4rem;
    min-height: 60vh;
    animation: adEnter-b-l9vdqr5u36 0.5s ease both;
}

@keyframes adEnter-b-l9vdqr5u36 {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Shield + lock icon stack ---- */
.ad-icon-stack[b-l9vdqr5u36] {
    position: relative;
    width: 9rem;
    height: 9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    animation: adPulse-b-l9vdqr5u36 3s ease-in-out infinite, adJiggle-b-l9vdqr5u36 0.7s ease 0.5s both;
}

@keyframes adPulse-b-l9vdqr5u36 {
    0%,  100% { filter: drop-shadow(0 0 0px  rgba(111,66,193,0));    }
    50%        { filter: drop-shadow(0 0 18px rgba(111,66,193,0.28)); }
}

@keyframes adJiggle-b-l9vdqr5u36 {
    0%   { transform: rotate(0deg);   }
    15%  { transform: rotate(-9deg);  }
    30%  { transform: rotate(9deg);   }
    45%  { transform: rotate(-6deg);  }
    60%  { transform: rotate(6deg);   }
    75%  { transform: rotate(-3deg);  }
    100% { transform: rotate(0deg);   }
}

.ad-shield[b-l9vdqr5u36] {
    font-size: 8rem;
    color: var(--phos-primary);
    opacity: 0.12;
    position: absolute;
}

.ad-lock[b-l9vdqr5u36] {
    font-size: 2.75rem;
    color: var(--phos-primary);
    position: relative;
    z-index: 1;
}

/* ---- Text ---- */
.ad-title[b-l9vdqr5u36] {
    font-size: 2rem;
    font-weight: 900;
    color: var(--phos-primary);
    margin-bottom: 0.4rem;
}

.ad-subtitle[b-l9vdqr5u36] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.ad-body[b-l9vdqr5u36] {
    color: #6c757d;
    max-width: 400px;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ---- Actions ---- */
.ad-actions[b-l9vdqr5u36] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
/* /Components/Pages/Admin/AccessRequests.razor.rz.scp.css */
.arm-request-surface > td[b-hvux66zczf] {
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.arm-request-surface-pending > td[b-hvux66zczf] {
    background: #fff7ed;
}

.arm-request-surface-approved > td[b-hvux66zczf] {
    background: #ecfdf5;
}

.arm-request-surface-rejected > td[b-hvux66zczf] {
    background: #fef2f2;
}

.arm-mobile-card[b-hvux66zczf] {
    padding: 1rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

.arm-mobile-card:first-child[b-hvux66zczf] {
    padding-top: 0.5rem;
}

.arm-mobile-card:last-child[b-hvux66zczf] {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.arm-mobile-card.arm-request-surface-pending[b-hvux66zczf] {
    background: #fff7ed;
}

.arm-mobile-card.arm-request-surface-approved[b-hvux66zczf] {
    background: #ecfdf5;
}

.arm-mobile-card.arm-request-surface-rejected[b-hvux66zczf] {
    background: #fef2f2;
}

.arm-request-surface td:first-child[b-hvux66zczf],
.arm-mobile-card[b-hvux66zczf] {
    position: relative;
}

/* ── Status badges ── */
.arm-badge-pending[b-hvux66zczf],
.arm-badge-approved[b-hvux66zczf],
.arm-badge-rejected[b-hvux66zczf] {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.65em;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.arm-badge-pending[b-hvux66zczf] {
    background: #fff3cd;
    color: #92400e;
    border: 1px solid #fde68a;
}

.arm-badge-approved[b-hvux66zczf] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.arm-badge-rejected[b-hvux66zczf] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Action buttons ── */
.arm-action-group[b-hvux66zczf] {
    display: inline-flex;
    gap: 0.375rem;
    justify-content: flex-end;
}

.arm-action-btn[b-hvux66zczf] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    white-space: nowrap;
}

.arm-action-btn--success[b-hvux66zczf] {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.arm-action-btn--success:hover[b-hvux66zczf] {
    background: #a7f3d0;
    border-color: #34d399;
}

.arm-action-btn--danger[b-hvux66zczf] {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.arm-action-btn--danger:hover[b-hvux66zczf] {
    background: #fecaca;
    border-color: #f87171;
}
/* /Components/Pages/Admin/AuditLogs.razor.rz.scp.css */
.audit-table-wrap[b-q2l74qk9sm] {
    overflow-x: auto;
}

.audit-table[b-q2l74qk9sm] {
    min-width: 800px;
    font-size: 0.8125rem;
}

.audit-table td[b-q2l74qk9sm] {
    vertical-align: middle;
}
/* /Components/Pages/Admin/CategoryEdit.razor.rz.scp.css */
.ce-section-tabs[b-t40h8zo5qb] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eceff1;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.ce-section-tab[b-t40h8zo5qb] {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--phos-text-muted, #607d8b);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.ce-section-tab:hover[b-t40h8zo5qb] {
    color: var(--phos-primary, #1976d2);
}

.ce-section-tab--active[b-t40h8zo5qb] {
    color: var(--phos-primary, #1976d2);
    border-bottom-color: var(--phos-primary, #1976d2);
    font-weight: 600;
}
/* /Components/Pages/Admin/DataTransfer.razor.rz.scp.css */
/* ─── Section wrapper ─── */
.dt-section[b-ffqevih0q4] {
    max-width: 780px;
}

.dt-intro[b-ffqevih0q4] {
    padding-bottom: .75rem;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 0;
}

/* ─── Flat selection rows (export options + import modes + upload) ─── */
.dt-row[b-ffqevih0q4],
.dt-upload-row[b-ffqevih0q4] {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .75rem 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    user-select: none;
    width: 100%;
    background: none;
    text-align: left;
}

.dt-row-icon[b-ffqevih0q4] {
    font-size: .9375rem;
    color: #bdbdbd;
    width: 1.125rem;
    text-align: center;
    flex-shrink: 0;
    transition: color .15s;
}

.dt-row--on .dt-row-icon[b-ffqevih0q4],
.dt-upload-row--loaded .dt-row-icon[b-ffqevih0q4] {
    color: var(--phos-primary, #1976d2);
}

.dt-row-body[b-ffqevih0q4] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    flex: 1;
    min-width: 0;
}

.dt-row-name[b-ffqevih0q4] {
    font-size: .8125rem;
    font-weight: 600;
    color: #212121;
    transition: color .15s;
}

.dt-row--on .dt-row-name[b-ffqevih0q4] {
    color: var(--phos-primary, #1976d2);
}

.dt-row-desc[b-ffqevih0q4] {
    font-size: .75rem;
    color: #9e9e9e;
}

/* ─── Actions row ─── */
.dt-actions[b-ffqevih0q4] {
    padding-top: 1rem;
}

/* ─── Hidden file input ─── */
.dt-upload-input[b-ffqevih0q4] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ─── Package summary ─── */
.dt-pkg[b-ffqevih0q4] {
    margin: .25rem 0;
}

.dt-pkg-row[b-ffqevih0q4] {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .45rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .8125rem;
}

.dt-pkg-row:last-child[b-ffqevih0q4] { border-bottom: none; }

.dt-pkg-label[b-ffqevih0q4] {
    font-size: .6875rem;
    font-weight: 700;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex: 0 0 90px;
}

.dt-chip[b-ffqevih0q4] {
    display: inline-block;
    padding: .125rem .5rem;
    background: #f0f0f0;
    color: #424242;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 500;
}

/* ─── Group section label ─── */
.dt-group-label[b-ffqevih0q4] {
    font-size: .6875rem;
    font-weight: 700;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .875rem 0 .125rem;
}

/* ─── Import result ─── */
.dt-result-section[b-ffqevih0q4] {
    margin-top: 1.5rem;
    padding-top: .875rem;
    border-top: 2px solid #e8f5e9;
}

.dt-result-hdr[b-ffqevih0q4] {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .625rem;
}

.dt-result-table[b-ffqevih0q4] {
    width: 100%;
    font-size: .8125rem;
    border-collapse: collapse;
}

.dt-result-table th[b-ffqevih0q4],
.dt-result-table td[b-ffqevih0q4] {
    padding: .25rem .5rem;
    text-align: right;
}

.dt-result-table td:first-child[b-ffqevih0q4],
.dt-result-table th:first-child[b-ffqevih0q4] {
    text-align: left;
    padding-left: 0;
    color: #424242;
    font-weight: 500;
}

.dt-result-warnings[b-ffqevih0q4] {
    margin-top: .5rem;
    font-size: .8125rem;
    cursor: pointer;
}

/* ─── Merge modal ─── */
.dt-modal-head[b-ffqevih0q4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem .875rem;
    border-bottom: 1px solid #f0f0f0;
}

.dt-modal-body[b-ffqevih0q4] {
    padding: 1rem 1.25rem;
    overflow-y: auto;
}

.dt-modal-foot[b-ffqevih0q4] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-top: 1px solid #f0f0f0;
}

/* ─── Conflict rows ─── */
.dt-conflict[b-ffqevih0q4] {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.dt-conflict:last-child[b-ffqevih0q4] { border-bottom: none; }

.dt-conflict-name[b-ffqevih0q4] {
    font-size: .8125rem;
    font-weight: 600;
    color: #212121;
    margin-bottom: .375rem;
}

.dt-conflict-cols[b-ffqevih0q4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #eeeeee;
    border-radius: .375rem;
    overflow: hidden;
}

.dt-conflict-col[b-ffqevih0q4] {
    padding: .625rem .75rem;
    border-right: 1px solid #eeeeee;
    transition: background .12s;
}

.dt-conflict-col:last-child[b-ffqevih0q4] { border-right: none; }
.dt-conflict-col--on[b-ffqevih0q4] { background: #f3f7ff; }

.dt-conflict-col-hdr[b-ffqevih0q4] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: .4rem;
    cursor: pointer;
}

.dt-cf[b-ffqevih0q4] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    font-size: .78125rem;
    padding: .1rem 0;
    color: #9e9e9e;
}

.dt-cf span:first-child[b-ffqevih0q4] {
    color: #424242;
    flex-shrink: 0;
}

.dt-swatch[b-ffqevih0q4] {
    display: inline-block;
    width: .875rem;
    height: .875rem;
    border-radius: .2rem;
    border: 1px solid rgba(0, 0, 0, .1);
    vertical-align: middle;
}

    display: flex;
    flex-wrap: wrap;
    gap: .625rem;[b-ffqevih0q4]
}

.dt-option[b-ffqevih0q4] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem .875rem;
    border: 1px solid #e0e0e0;
    border-radius: .375rem;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    user-select: none;
    min-width: 160px;
    background: #fff;
}

.dt-option:hover[b-ffqevih0q4] {
    border-color: var(--phos-primary, #1976d2);
    box-shadow: 0 0 0 3px rgba(25,118,210,.07);
}

.dt-option--on[b-ffqevih0q4] {
    border-color: var(--phos-primary, #1976d2);
    box-shadow: 0 0 0 3px rgba(25,118,210,.07);
}

.dt-option--on .dt-option-icon[b-ffqevih0q4] {
    color: var(--phos-primary, #1976d2);
}

.dt-option-check[b-ffqevih0q4] { display: none; }

.dt-option-icon[b-ffqevih0q4] {
    font-size: 1.1rem;
    color: #9e9e9e;
    width: 1.25rem;
    text-align: center;
    transition: color .15s;
}

.dt-option-title[b-ffqevih0q4] {
    font-size: .8125rem;
    font-weight: 600;
    color: #212121;
}

.dt-option-count[b-ffqevih0q4] {
    font-size: .75rem;
    color: #9e9e9e;
}

/* ─── File upload area ─── */
.dt-upload[b-ffqevih0q4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: .375rem;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s;
    background: #fafafa;
    width: 100%;
}

.dt-upload:hover[b-ffqevih0q4] {
    border-color: var(--phos-primary, #1976d2);
    background: #fff;
}

.dt-upload--loaded[b-ffqevih0q4] {
    border-color: var(--phos-primary, #1976d2);
    background: #fff;
}

.dt-upload-input[b-ffqevih0q4] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.dt-upload-icon[b-ffqevih0q4] {
    font-size: 1.75rem;
    color: #bdbdbd;
    margin-bottom: .2rem;
}

.dt-upload--loaded .dt-upload-icon[b-ffqevih0q4] {
    color: var(--phos-primary, #1976d2);
}

.dt-upload-name[b-ffqevih0q4] {
    font-size: .8125rem;
    font-weight: 600;
    color: #212121;
}

.dt-upload-hint[b-ffqevih0q4] {
    font-size: .75rem;
    color: #9e9e9e;
}

/* ─── Package summary ─── */
.dt-pkg[b-ffqevih0q4] {
    border-radius: .375rem;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    overflow: hidden;
}

.dt-pkg-row[b-ffqevih0q4] {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .4rem .875rem;
    border-bottom: 1px solid #f5f5f5;
    font-size: .8125rem;
}

.dt-pkg-row:last-child[b-ffqevih0q4] { border-bottom: none; }

.dt-pkg-label[b-ffqevih0q4] {
    font-size: .75rem;
    font-weight: 600;
    color: #9e9e9e;
    flex: 0 0 80px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.dt-badge[b-ffqevih0q4] {
    display: inline-block;
    padding: .15rem .5rem;
    background: #f0f0f0;
    color: #424242;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 500;
}

/* ─── Section group label ─── */
.dt-field-group-label[b-ffqevih0q4] {
    font-size: .6875rem;
    font-weight: 700;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .75rem 0 .4rem;
    border-top: 1px solid #f5f5f5;
    margin-top: .25rem;
    margin-bottom: .25rem;
}

/* ─── Import mode list ─── */
.dt-modes[b-ffqevih0q4] {
    display: flex;
    flex-direction: column;
}

.dt-mode[b-ffqevih0q4] {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .625rem 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    user-select: none;
    transition: background .12s;
}

.dt-mode:last-child[b-ffqevih0q4] { border-bottom: none; }

.dt-mode-radio[b-ffqevih0q4] {
    margin-top: .2rem;
    flex-shrink: 0;
    accent-color: var(--phos-primary, #1976d2);
}

.dt-mode-title[b-ffqevih0q4] {
    font-size: .8125rem;
    font-weight: 600;
    color: #212121;
}

.dt-mode--on .dt-mode-title[b-ffqevih0q4] {
    color: var(--phos-primary, #1976d2);
}

.dt-mode-desc[b-ffqevih0q4] {
    font-size: .75rem;
    color: #9e9e9e;
    margin-top: .1rem;
}

/* ─── Import result ─── */
.dt-result[b-ffqevih0q4] {
    padding: .875rem 1rem;
    background: #fff;
    border: 1px solid #e8f5e9;
    border-left: 3px solid #4caf50;
    border-radius: .375rem;
}

.dt-result-hdr[b-ffqevih0q4] {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .625rem;
}

.dt-result-table[b-ffqevih0q4] {
    width: 100%;
    font-size: .8125rem;
    border-collapse: collapse;
}

.dt-result-table th[b-ffqevih0q4],
.dt-result-table td[b-ffqevih0q4] {
    padding: .2rem .5rem;
    text-align: right;
}

.dt-result-table td:first-child[b-ffqevih0q4],
.dt-result-table th:first-child[b-ffqevih0q4] {
    text-align: left;
    padding-left: 0;
    color: #424242;
    font-weight: 500;
}

.dt-result-warnings[b-ffqevih0q4] {
    margin-top: .5rem;
    font-size: .8125rem;
    cursor: pointer;
}

/* ─── Merge conflict cards ─── */
.dt-conflict[b-ffqevih0q4] {
    border: 1px solid #eeeeee;
    border-radius: .375rem;
    overflow: hidden;
}

.dt-conflict-name[b-ffqevih0q4] {
    padding: .4rem .75rem;
    font-size: .8125rem;
    font-weight: 600;
    background: #f5f5f5;
    color: #212121;
    border-bottom: 1px solid #eeeeee;
}

.dt-conflict-cols[b-ffqevih0q4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.dt-conflict-col[b-ffqevih0q4] {
    padding: .625rem .75rem;
    border-right: 1px solid #eeeeee;
    transition: background .12s;
}

.dt-conflict-col:last-child[b-ffqevih0q4] { border-right: none; }

.dt-conflict-col--on[b-ffqevih0q4] { background: #f3f7ff; }

.dt-conflict-col-hdr[b-ffqevih0q4] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: .4rem;
    cursor: pointer;
}

.dt-cf[b-ffqevih0q4] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    font-size: .78125rem;
    padding: .1rem 0;
    color: #9e9e9e;
}

.dt-cf span:first-child[b-ffqevih0q4] {
    color: #424242;
    flex-shrink: 0;
}

.dt-swatch[b-ffqevih0q4] {
    display: inline-block;
    width: .875rem;
    height: .875rem;
    border-radius: .2rem;
    border: 1px solid rgba(0,0,0,.1);
    vertical-align: middle;
}

/* /Components/Pages/Admin/Departments.razor.rz.scp.css */
/* ============================
   Departments Page
   ============================ */

/* Keep search + dropdown on the same row on mobile */
@media (max-width: 575.98px) {
    .md-filter-bar .input-group[b-cbtv24vv5r] {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }
}

.dept-icon-badge[b-cbtv24vv5r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.85rem;
}

.dept-color-swatch[b-cbtv24vv5r] {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(0,0,0,0.1);
    vertical-align: middle;
}

/* ===== Mobile Department Cards ===== */

.dept-cards[b-cbtv24vv5r] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dept-card[b-cbtv24vv5r] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.15s;
}

    .dept-card:active[b-cbtv24vv5r] {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    }

.dept-card-body[b-cbtv24vv5r] {
    flex: 1;
    min-width: 0;
}

.dept-card-name[b-cbtv24vv5r] {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dept-card-email[b-cbtv24vv5r] {
    font-size: 0.8rem;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.1rem;
}

.dept-card-actions[b-cbtv24vv5r] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

/* === Flat modal redesign === */

.dept-modal-head[b-cbtv24vv5r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.875rem;
    border-bottom: 1px solid #f0f0f0;
}

.dept-modal-content[b-cbtv24vv5r] {
    padding: 1rem 1.25rem;
    max-height: 60vh;
    overflow-y: auto;
}

.dept-modal-foot[b-cbtv24vv5r] {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* === File Types list === */

.dft-list[b-cbtv24vv5r] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.dft-row[b-cbtv24vv5r] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid #f8f8f8;
}

.dft-row:last-child[b-cbtv24vv5r] {
    border-bottom: none;
}

.dft-name[b-cbtv24vv5r] {
    flex: 1;
    min-width: 0;
}

.dft-row-actions[b-cbtv24vv5r] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.dft-add-row[b-cbtv24vv5r] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.375rem;
}

.dft-add-row .cfm-input[b-cbtv24vv5r] {
    flex: 1;
    min-width: 0;
}

/* /Components/Pages/Admin/ItemEdit.razor.rz.scp.css */
/* ===== Options row — flat inline toggles ===== */
.ie-options-row[b-yd5gci892p] {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.ie-toggle[b-yd5gci892p] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1.25rem 0.375rem 0;
    margin-right: 1.25rem;
    border-right: 1px solid #e9ecef;
    cursor: pointer;
    white-space: nowrap;
}

.ie-toggle:last-child[b-yd5gci892p] {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.ie-toggle .form-check-input[b-yd5gci892p] {
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}

.ie-toggle-inner[b-yd5gci892p] {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
}

.ie-toggle-label[b-yd5gci892p] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--phos-text);
}

.ie-toggle-desc[b-yd5gci892p] {
    font-size: 0.7rem;
    color: var(--phos-text-muted);
}

/* ===== Field group label (subtle divider within Details tab) ===== */
.ie-field-group-label[b-yd5gci892p] {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 0 0.4rem;
    border-top: 1px solid #f5f5f5;
    margin-top: 0.25rem;
}

/* ===== Calc trigger button (next to label) ===== */
/* Doses per patient label row */
.ie-dpp-label[b-yd5gci892p] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.ie-dpp-label .cfm-label[b-yd5gci892p] {
    min-width: 0;
    white-space: nowrap;
}

.ie-calc-btn[b-yd5gci892p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: var(--phos-primary);
    color: #fff;
    font-size: 0.6rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.ie-calc-btn:hover:not(:disabled)[b-yd5gci892p] {
    background: var(--phos-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.18);
}

.ie-calc-btn:active:not(:disabled)[b-yd5gci892p] {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.14);
}

.ie-calc-btn:disabled[b-yd5gci892p],
.ie-calc-btn.ie-calc-btn--disabled[b-yd5gci892p] {
    background: #e0e0e0;
    color: #bdbdbd;
    box-shadow: none;
    cursor: default;
}


.ie-calc-btn:disabled[b-yd5gci892p] {
    border-color: #ccc;
    color: #ccc;
    cursor: default;
}

@media (max-width: 575.98px) {
    .ie-options-row[b-yd5gci892p] {
        gap: 0.75rem;
    }

    .ie-toggle[b-yd5gci892p] {
        margin-right: 0;
        padding-right: 0.75rem;
    }

    .ie-dpp-label .cfm-label[b-yd5gci892p] {
        font-size: 0.75rem;
    }
}

/* ===== Calculator modal ===== */
.ie-modal-backdrop[b-yd5gci892p] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ie-modal[b-yd5gci892p] {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ie-modal-header[b-yd5gci892p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9375rem;
}

.ie-modal-close[b-yd5gci892p] {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--phos-text-muted);
    cursor: pointer;
    padding: 0 0.25rem;
}

.ie-modal-close:hover[b-yd5gci892p] {
    color: var(--phos-text);
}

.ie-modal-body[b-yd5gci892p] {
    padding: 1rem;
}

.ie-modal-footer[b-yd5gci892p] {
    padding: 0.75rem 1rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ===== Calculator panel ===== */
.ie-calc-panel[b-yd5gci892p] {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.875rem;
    border: 1px solid #f0f0f0;
}

.ie-calc-panel-title[b-yd5gci892p] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

/* ===== Calc result ===== */
.ie-calc-result[b-yd5gci892p] {
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.75rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.ie-calc-result-count[b-yd5gci892p] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--phos-primary);
    line-height: 1;
}

.ie-calc-result-label[b-yd5gci892p] {
    font-size: 0.8125rem;
    color: var(--phos-text-muted);
    margin-bottom: 0.35rem;
}

.ie-calc-result-formula[b-yd5gci892p] {
    font-size: 0.75rem;
    color: var(--phos-text-muted);
    font-style: italic;
}

.ie-calc-result-empty[b-yd5gci892p] {
    font-size: 0.8125rem;
    color: var(--phos-text-muted);
    font-style: italic;
}

/* ===== File Requirements tab ===== */

.ie-req-list[b-yd5gci892p] {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
}

.ie-req-header[b-yd5gci892p] {
    display: grid;
    grid-template-columns: 1fr 90px 130px;
    align-items: center;
    padding: 0.25rem 0 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.25rem;
}

.ie-req-col-hdr[b-yd5gci892p] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--phos-text-muted);
    text-align: center;
}

.ie-req-row[b-yd5gci892p] {
    display: grid;
    grid-template-columns: 1fr 90px 130px;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f8f8f8;
}

.ie-req-row:last-child[b-yd5gci892p] {
    border-bottom: none;
}

.ie-req-row--inactive[b-yd5gci892p] {
    opacity: 0.55;
}

.ie-req-row--orphan[b-yd5gci892p] {
    background: #fffbea;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    border-bottom: none;
    margin-bottom: 0.25rem;
    grid-template-columns: 1fr auto;
}

.ie-req-name[b-yd5gci892p] {
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 0;
}

.ie-req-col[b-yd5gci892p] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ie-req-check[b-yd5gci892p] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--phos-primary);
}

.ie-req-check:disabled[b-yd5gci892p] {
    opacity: 0.3;
    cursor: default;
}

.ie-req-inactive-badge[b-yd5gci892p] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #9ca3af;
    border-radius: 999px;
    padding: 0 0.4em;
    margin-left: 0.35rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ie-req-empty[b-yd5gci892p] {
    font-size: 0.875rem;
    color: var(--phos-text-muted);
    padding: 1.25rem 0;
    text-align: center;
    line-height: 1.7;
}

/* ===== Package Contents tab ===== */

.ie-pkg-list[b-yd5gci892p] {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ie-pkg-row[b-yd5gci892p] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
}

.ie-pkg-row:last-child[b-yd5gci892p] {
    border-bottom: none;
}

.ie-pkg-row--drag-over[b-yd5gci892p] {
    background: #f0f4ff;
}

.ie-pkg-grip[b-yd5gci892p] {
    cursor: grab;
    color: #adb5bd;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ie-pkg-num[b-yd5gci892p] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #adb5bd;
    min-width: 1.25rem;
    text-align: right;
    flex-shrink: 0;
}

.ie-pkg-info[b-yd5gci892p] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ie-pkg-name[b-yd5gci892p] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--phos-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.ie-pkg-name[b-yd5gci892p] {
    color: inherit;
    text-decoration: none;
}

a.ie-pkg-name:hover[b-yd5gci892p] {
    text-decoration: underline;
    color: var(--phos-primary);
}

.ie-pkg-code[b-yd5gci892p] {
    font-size: 0.7rem;
    color: var(--phos-text-muted);
}

.ie-pkg-qty[b-yd5gci892p] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    flex-shrink: 0;
    min-width: 2.5rem;
    text-align: right;
}

.ie-pkg-qty-input[b-yd5gci892p] {
    width: 3.5rem;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    flex-shrink: 0;
}

.ie-pkg-actions[b-yd5gci892p] {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.ie-pkg-add-row[b-yd5gci892p] {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.ie-pkg-empty[b-yd5gci892p] {
    padding: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--phos-text-muted);
    font-style: italic;
}

/* Item Picker modal — slightly wider than calculator */
.ie-pkg-picker-list[b-yd5gci892p] {
    max-height: 50vh;
    overflow-y: auto;
}

.ie-pkg-picker-row[b-yd5gci892p] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.ie-pkg-picker-row:last-child[b-yd5gci892p] {
    border-bottom: none;
}

.ie-pkg-picker-row:hover[b-yd5gci892p] {
    background: #f0f4ff;
}

.ie-pkg-picker-name[b-yd5gci892p] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--phos-text);
}

.ie-pkg-picker-code[b-yd5gci892p] {
    font-size: 0.7rem;
    color: var(--phos-text-muted);
}

.ie-pkg-picker-unavail[b-yd5gci892p] {
    opacity: 0.6;
}

.ie-pkg-picker-empty[b-yd5gci892p] {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--phos-text-muted);
    font-style: italic;
}

/* ===== Orders Tab ===== */

.ie-orders-list[b-yd5gci892p] {
    display: flex;
    flex-direction: column;
}

.ie-orders-row[b-yd5gci892p] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.8125rem;
}

.ie-orders-row:last-child[b-yd5gci892p] {
    border-bottom: none;
}

.ie-orders-num[b-yd5gci892p] {
    font-weight: 700;
    color: var(--phos-primary);
    text-decoration: none;
    min-width: 3.5rem;
    flex-shrink: 0;
}

.ie-orders-num:hover[b-yd5gci892p] {
    text-decoration: underline;
}

.ie-orders-org[b-yd5gci892p] {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--phos-text);
}

.ie-orders-pickup[b-yd5gci892p] {
    font-size: 0.75rem;
    color: var(--phos-text-muted);
    flex-shrink: 0;
}

.ie-orders-pickup--none[b-yd5gci892p] {
    color: #ccc;
}

.ie-order-badge[b-yd5gci892p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: #eef2f7;
    color: #546e7a;
    flex-shrink: 0;
    white-space: nowrap;
}

.ie-order-badge-submitted[b-yd5gci892p] {
    background: #e8f0fe;
    color: #1565c0;
}

.ie-order-badge-approved[b-yd5gci892p] {
    background: #e8f5e9;
    color: #2e7d32;
}

.ie-order-badge-packed[b-yd5gci892p] {
    background: #ede9fe;
    color: #6d28d9;
}

.ie-order-badge-complete[b-yd5gci892p] {
    background: #ecfdf5;
    color: #047857;
}

.ie-order-badge-cancelled[b-yd5gci892p] {
    background: #fef2f2;
    color: #b91c1c;
}
/* /Components/Pages/Admin/Items.razor.rz.scp.css */
/* ============================
   Manage Items Page
   ============================ */


.mi-section[b-fm9ng7aua8] {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.15s ease;
}

.mi-section.mi-section-drag-over[b-fm9ng7aua8] {
    border-color: var(--phos-primary);
    box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.2);
}

.mi-section-header[b-fm9ng7aua8] {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    cursor: pointer;
    user-select: none;
    background: #fafafa;
    border-radius: 0.5rem;
    transition: background-color 0.12s ease;
}

.mi-section-header.is-open[b-fm9ng7aua8] {
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 1px solid #eeeeee;
}

.mi-section-header:hover[b-fm9ng7aua8] {
    background-color: #f0f0f0;
}

.mi-drag-handle[b-fm9ng7aua8] {
    color: #c0c0c0;
    cursor: grab;
    font-size: 0.9rem;
    padding: 0 0.35rem;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.mi-drag-handle:hover[b-fm9ng7aua8] {
    color: #888;
}

.mi-drag-handle:active[b-fm9ng7aua8] {
    cursor: grabbing;
}

.mi-section-title[b-fm9ng7aua8] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--phos-text);
}

.mi-section-count[b-fm9ng7aua8] {
    font-size: 0.8rem;
    color: var(--phos-text-muted);
    font-weight: 500;
}

.mi-section-body[b-fm9ng7aua8] {
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: hidden;
}

/* Items table */
.mi-table[b-fm9ng7aua8] {
    width: 100%;
    border-collapse: collapse;
}

.mi-table thead th[b-fm9ng7aua8] {
    background: #f7f7f7;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--phos-text-muted);
    padding: 0.55rem 0.75rem;
    white-space: nowrap;
    border-bottom: 1px solid #e5e5e5;
}

.mi-table tbody td[b-fm9ng7aua8] {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.875rem;
    color: var(--phos-text);
}

.mi-table tbody tr:last-child td[b-fm9ng7aua8] {
    border-bottom: none;
}

.mi-item-row[b-fm9ng7aua8] {
    transition: background-color 0.1s ease;
}

.mi-item-row:hover[b-fm9ng7aua8] {
    background-color: rgba(111, 66, 193, 0.03);
}

.mi-item-row.mi-item-drag-over td:first-child[b-fm9ng7aua8] {
    border-left: 3px solid var(--phos-primary);
}

.mi-item-row.mi-item-drag-over[b-fm9ng7aua8] {
    background-color: rgba(111, 66, 193, 0.04);
}

/* Status badges */
.mi-badge[b-fm9ng7aua8] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    white-space: nowrap;
}

.mi-badge-success[b-fm9ng7aua8] {
    background-color: #d1fae5;
    color: #065f46;
}

.mi-badge-danger[b-fm9ng7aua8] {
    background-color: #fee2e2;
    color: #991b1b;
}

.mi-badge-info[b-fm9ng7aua8] {
    background-color: #dbeafe;
    color: #1e40af;
}

.mi-badge-warning[b-fm9ng7aua8] {
    background-color: #fef3c7;
    color: #92400e;
}

.mi-badge-neutral[b-fm9ng7aua8] {
    background-color: #f3f4f6;
    color: #4b5563;
}

.mi-req-modal[b-fm9ng7aua8] {
    overflow: hidden;
}

.mi-req-modal-body[b-fm9ng7aua8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mi-req-meta[b-fm9ng7aua8] {
    display: grid;
    gap: 0.75rem;
}

.mi-req-meta-row[b-fm9ng7aua8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mi-req-meta-row-stack[b-fm9ng7aua8] {
    flex-direction: column;
    gap: 0.25rem;
}

.mi-req-meta-label[b-fm9ng7aua8] {
    flex: 0 0 5.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--phos-text-muted);
}

.mi-req-meta-value[b-fm9ng7aua8] {
    color: var(--phos-text);
    font-size: 0.9rem;
}

.mi-req-badge-row[b-fm9ng7aua8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mi-req-section[b-fm9ng7aua8] {
    padding-top: 0.25rem;
}

.mi-req-section-title[b-fm9ng7aua8] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.mi-req-chip-list[b-fm9ng7aua8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mi-req-chip[b-fm9ng7aua8] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.45rem 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.8rem;
    font-weight: 600;
}

.mi-req-chip-label[b-fm9ng7aua8] {
    line-height: 1;
}

.mi-req-chip-count[b-fm9ng7aua8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: rgba(55, 48, 163, 0.14);
    color: #3730a3;
    font-size: 0.75rem;
}

@media (max-width: 575.98px) {
    .mi-section-header[b-fm9ng7aua8] {
        padding: 0.75rem 0.75rem;
    }

    .mi-req-meta-row[b-fm9ng7aua8] {
        flex-direction: column;
        gap: 0.2rem;
    }

    .mi-req-meta-label[b-fm9ng7aua8] {
        flex-basis: auto;
    }
}
/* /Components/Pages/Admin/LocationEdit.razor.rz.scp.css */
/* ============================
   Location Edit – Page Layout
   ============================ */

.le-mobile-back[b-mfes3i05oh] {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--phos-primary);
    text-decoration: none;
    margin-bottom: 0.35rem;
}

    .le-mobile-back:hover[b-mfes3i05oh] {
        text-decoration: none;
    }

.le-page-header[b-mfes3i05oh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================
   Section Tabs
   ============================ */
.le-section-tabs[b-mfes3i05oh] {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.le-section-tab[b-mfes3i05oh] {
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--phos-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.le-section-tab:hover[b-mfes3i05oh] { color: var(--phos-primary); }

.le-section-tab.le-section-tab-active[b-mfes3i05oh] {
    color: var(--phos-primary);
    border-bottom-color: var(--phos-primary);
}

/* ============================
   Section Content
   ============================ */
.le-section-content[b-mfes3i05oh] {
    padding: 4px 0 24px;
    animation: phosTabAppear 0.2s ease both;
}

.le-section-divider[b-mfes3i05oh] {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0 16px;
}

.le-form-label[b-mfes3i05oh] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--phos-text);
    margin-bottom: 4px;
}

.le-sub-label[b-mfes3i05oh] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

/* ============================
   Active toggle chip
   ============================ */
.le-perm-chip[b-mfes3i05oh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    background: #f4f6f8;
    color: var(--phos-text-muted);
    border: 1.5px solid #e0e4e8;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
    margin-top: 2px;
}

.le-perm-chip input[type="checkbox"][b-mfes3i05oh] { display: none; }

.le-perm-chip.le-perm-on[b-mfes3i05oh] {
    background: var(--phos-primary);
    color: #fff;
    border-color: var(--phos-primary);
}

/* ============================
   Weekly Schedule Table
   ============================ */
.le-schedule-table-wrap[b-mfes3i05oh] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.le-schedule-table[b-mfes3i05oh] {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.le-schedule-table th[b-mfes3i05oh] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    white-space: nowrap;
}

.le-schedule-table td[b-mfes3i05oh] {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #f4f6f8;
    vertical-align: middle;
}

.le-schedule-table tbody tr:last-child td[b-mfes3i05oh] {
    border-bottom: none;
}

.le-row-header[b-mfes3i05oh] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    width: 80px;
}

.le-sched-input[b-mfes3i05oh] {
    font-size: 0.8125rem !important;
    min-width: 100px;
}

.le-sched-window[b-mfes3i05oh] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
    flex-wrap: nowrap;
}

.le-sched-deadline[b-mfes3i05oh] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: nowrap;
}

.le-sched-label[b-mfes3i05oh] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.le-add-window-btn[b-mfes3i05oh] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--phos-primary);
    background: transparent;
    border: 1.5px dashed var(--phos-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-top: 2px;
}

.le-add-window-btn:hover[b-mfes3i05oh] {
    background: var(--phos-primary);
    color: #fff;
}

.le-remove-window-btn[b-mfes3i05oh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    font-size: 0.7rem;
    color: #dc3545;
    background: transparent;
    border: 1px solid #dc354540;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.le-remove-window-btn:hover[b-mfes3i05oh] {
    background: #dc3545;
    color: #fff;
}

/* ===== Mobile Schedule Cards ===== */

.le-mobile-schedule[b-mfes3i05oh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.le-day-card[b-mfes3i05oh] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.le-day-card-header[b-mfes3i05oh] {
    background: #f0f4ff;
    color: var(--phos-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
}

.le-day-card-body[b-mfes3i05oh] {
    padding: 0.6rem 0.75rem 0.75rem;
}

.le-day-section-label[b-mfes3i05oh] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.le-field-hint[b-mfes3i05oh] {
    font-size: 0.75rem;
    color: var(--phos-text-muted);
    margin-top: 0.2rem;
}
/* /Components/Pages/Admin/Locations.razor.rz.scp.css */
/* ===== Mobile Location Cards ===== */

.loc-cards[b-nmdxustnyt] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loc-card[b-nmdxustnyt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

    .loc-card:active[b-nmdxustnyt] {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    }

.loc-card-body[b-nmdxustnyt] {
    flex: 1;
    min-width: 0;
}

.loc-card-header[b-nmdxustnyt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    min-width: 0;
}

.loc-card-name[b-nmdxustnyt] {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loc-card-detail[b-nmdxustnyt] {
    font-size: 0.8rem;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.15rem;
}

.loc-card-actions[b-nmdxustnyt] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}
/* /Components/Pages/Admin/Orders.razor.rz.scp.css */
.orders-toolbar[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.orders-toolbar-top[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.orders-filter-search[b-hgnmxtbj8z] {
    flex: 1 1 22rem;
}

.orders-filter-search .input-group-text[b-hgnmxtbj8z] {
    padding-right: 0.45rem;
    background: transparent;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.orders-filter-search .form-control[b-hgnmxtbj8z]::placeholder {
    color: #90a4ae;
}

.orders-filter-search .form-control[b-hgnmxtbj8z] {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.orders-filter-toggle[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    min-height: 38px;
}

.orders-filter-toggle-icon[b-hgnmxtbj8z] {
    flex-shrink: 0;
}

.orders-filter-toggle-label[b-hgnmxtbj8z] {
    line-height: 1;
}

.orders-filter-search .orders-filter-toggle[b-hgnmxtbj8z] {
    justify-content: center;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    flex-shrink: 0;
}

.orders-filter-search .orders-filter-clear[b-hgnmxtbj8z] {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    flex-shrink: 0;
}

.orders-filter-toggle-count[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: rgba(111, 66, 193, 0.1);
    color: var(--phos-primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.orders-toolbar-summary[b-hgnmxtbj8z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.orders-summary-primary[b-hgnmxtbj8z] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    min-width: 0;
}

.orders-summary-count[b-hgnmxtbj8z] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--phos-text);
}

.orders-summary-text[b-hgnmxtbj8z] {
    font-size: 0.78rem;
    color: var(--phos-text-muted);
}

.orders-summary-pill[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: #f5f7fb;
    color: var(--phos-text);
    font-size: 0.74rem;
    font-weight: 600;
}

.orders-quick-filters[b-hgnmxtbj8z] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.orders-quick-filter[b-hgnmxtbj8z] {
    border: 1px solid #d8dee6;
    background: #fff;
    color: var(--phos-text-muted);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.orders-quick-filter:hover[b-hgnmxtbj8z] {
    border-color: var(--phos-primary);
    color: var(--phos-primary);
}

.orders-quick-filter.is-active[b-hgnmxtbj8z] {
    border-color: transparent;
    background: var(--phos-primary);
    color: #fff;
}

.orders-filter-sheet-backdrop[b-hgnmxtbj8z] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.orders-filter-sheet-backdrop.is-open[b-hgnmxtbj8z] {
    opacity: 1;
    pointer-events: auto;
}

.orders-filter-sheet[b-hgnmxtbj8z] {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1060;
    background: #fff;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 10px rgba(15, 23, 42, 0.08);
    transform: translate(-50%, -100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: min(calc(100vw - 2rem), 60rem);
    max-height: min(78vh, 34rem);
    pointer-events: none;
}

.orders-filter-sheet.is-open[b-hgnmxtbj8z] {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.orders-filter-sheet-header[b-hgnmxtbj8z],
.orders-filter-sheet-footer[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
}

.orders-filter-sheet-header[b-hgnmxtbj8z] {
    border-bottom: 1px solid #eef1f4;
}

.orders-filter-sheet-actions[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.orders-filter-sheet-footer[b-hgnmxtbj8z] {
    padding-top: 0.85rem;
}

.orders-filter-sheet-title[b-hgnmxtbj8z] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--phos-text);
}

.orders-filter-sheet-subtitle[b-hgnmxtbj8z] {
    font-size: 0.78rem;
    color: var(--phos-text-muted);
}

.orders-filter-sheet-body[b-hgnmxtbj8z] {
    padding: 1rem 1.25rem;
    overflow-y: auto;
}

.orders-filter-sheet-row[b-hgnmxtbj8z] {
    display: grid;
    align-items: end;
    gap: 0.9rem 1rem;
}

.orders-filter-sheet-row + .orders-filter-sheet-row[b-hgnmxtbj8z] {
    margin-top: 1rem;
}

.orders-filter-sheet-row--primary[b-hgnmxtbj8z] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.orders-filter-sheet-row--dates[b-hgnmxtbj8z] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.orders-filter-sheet .md-filter-select[b-hgnmxtbj8z] {
    min-width: 0;
    width: 100%;
}

.orders-filter-sheet .md-filter-select-with-label[b-hgnmxtbj8z] {
    display: block;
    min-width: 0;
    width: 100%;
}

.orders-filter-sheet .form-select[b-hgnmxtbj8z] {
    width: 100%;
}

.orders-compact-select[b-hgnmxtbj8z] {
    position: relative;
}

.orders-compact-select-icon[b-hgnmxtbj8z] {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #78909c;
    pointer-events: none;
}

.orders-compact-select-input[b-hgnmxtbj8z] {
    min-height: 38px;
}

.orders-multi-select[b-hgnmxtbj8z] {
    min-width: 0;
}

.orders-multi-select-menu[b-hgnmxtbj8z] {
    position: relative;
}

.orders-multi-select-summary[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    cursor: pointer;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: none !important;
}

.orders-multi-select-summary[b-hgnmxtbj8z]::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.78rem;
    color: #78909c;
}

.orders-multi-select-menu[open] .orders-multi-select-summary[b-hgnmxtbj8z]::after {
    content: '\f077';
}

.orders-multi-select-menu summary[b-hgnmxtbj8z] {
    list-style: none;
}

.orders-multi-select-menu summary[b-hgnmxtbj8z]::marker {
    content: '';
}

.orders-multi-select-menu summary[b-hgnmxtbj8z]::-webkit-details-marker {
    display: none;
}

.orders-multi-select-options[b-hgnmxtbj8z] {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    gap: 0.35rem;
    padding: 0.55rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    max-height: 14rem;
    overflow-y: auto;
}

.orders-multi-select-option[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.3rem 0.15rem;
    font-size: 0.85rem;
    color: var(--phos-text);
}

.orders-multi-select-option input[b-hgnmxtbj8z] {
    margin: 0;
    flex-shrink: 0;
}

.orders-filter-field[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.orders-filter-label[b-hgnmxtbj8z] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #90a4ae;
    margin-bottom: 0.2rem;
}

[b-hgnmxtbj8z] .orders-filter-input {
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    background: transparent;
    box-shadow: none !important;
}

[b-hgnmxtbj8z] .orders-filter-input:focus {
    border-bottom-color: var(--phos-primary);
    background: transparent;
}

.orders-table td[b-hgnmxtbj8z],
.orders-table th[b-hgnmxtbj8z] {
    white-space: normal;
}

.orders-link[b-hgnmxtbj8z] {
    color: var(--phos-primary);
    text-decoration: none;
}

.orders-link:hover[b-hgnmxtbj8z] {
    color: var(--phos-primary-dark);
    text-decoration: underline;
}

.orders-chip-list[b-hgnmxtbj8z] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.orders-dept-chip[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--dept-color, var(--phos-primary)) 13%, white);
    color: var(--dept-color, var(--phos-primary));
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.orders-dept-chip:hover[b-hgnmxtbj8z] {
    background: color-mix(in srgb, var(--dept-color, var(--phos-primary)) 22%, white);
    color: var(--dept-color, var(--phos-primary));
    text-decoration: none;
}

.orders-dept-chip-status[b-hgnmxtbj8z] {
    font-size: 0.65rem;
    margin-left: 0.1rem;
}

.orders-dept-chip-approved[b-hgnmxtbj8z] {
    color: #198754;
}

.orders-dept-chip-packed[b-hgnmxtbj8z] {
    color: #0d6efd;
}

.orders-pickup-list[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.45rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.orders-pickup-item[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
    padding: 0.15rem 0.2rem;
    border-radius: 4px;
    transition: opacity 0.15s;
}

    .orders-pickup-item.is-done[b-hgnmxtbj8z] {
        text-decoration: line-through;
        color: #198754;
        opacity: 0.7;
    }

.orders-pickup-check[b-hgnmxtbj8z] {
    accent-color: var(--phos-primary, #0d6efd);
    flex-shrink: 0;
}

.orders-pickup-all[b-hgnmxtbj8z] {
    margin-top: 0.2rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

    .orders-pickup-all .orders-pickup-check[b-hgnmxtbj8z] {
        accent-color: #198754;
    }

.orders-badge[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.26rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: #eef2f7;
    color: #546e7a;
}

.orders-badge-submitted[b-hgnmxtbj8z] {
    background: #e8f0fe;
    color: #1565c0;
}

.orders-badge-approved[b-hgnmxtbj8z] {
    background: #e8f5e9;
    color: #2e7d32;
}

.orders-badge-processing[b-hgnmxtbj8z] {
    background: #e0f2fe;
    color: #0369a1;
}

.orders-badge-packed[b-hgnmxtbj8z] {
    background: #ede9fe;
    color: #6d28d9;
}

.orders-badge-complete[b-hgnmxtbj8z] {
    background: #ecfdf5;
    color: #047857;
}

.orders-badge-cancelled[b-hgnmxtbj8z] {
    background: #fef2f2;
    color: #b91c1c;
}

.orders-mobile-card[b-hgnmxtbj8z] {
    padding: 1rem;
    border-bottom: 1px solid #eef0f2;
    perspective: 1200px;
}

.orders-mobile-card--last[b-hgnmxtbj8z] {
    border-bottom: none;
}

.orders-mobile-flipcard[b-hgnmxtbj8z] {
    position: relative;
    min-height: 16.75rem;
    cursor: pointer;
}

.orders-mobile-flipcard-inner[b-hgnmxtbj8z] {
    position: relative;
    min-height: 16.75rem;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.orders-mobile-flipcard.is-flipped .orders-mobile-flipcard-inner[b-hgnmxtbj8z] {
    transform: rotateY(180deg);
}

.orders-mobile-face[b-hgnmxtbj8z] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid #eef0f2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.orders-mobile-face-back[b-hgnmxtbj8z] {
    transform: rotateY(180deg);
}

.orders-mobile-topline[b-hgnmxtbj8z] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.orders-mobile-head-copy[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.orders-mobile-clinic-block[b-hgnmxtbj8z] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    color: #90a4ae;
}

.orders-mobile-clinic-label[b-hgnmxtbj8z],
.orders-mobile-email-label[b-hgnmxtbj8z],
.orders-mobile-address-label[b-hgnmxtbj8z] {
    font-size: 0.72rem;
    color: #90a4ae;
}

.orders-mobile-status-group[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.orders-mobile-number[b-hgnmxtbj8z] {
    font-size: 1rem;
}

.orders-mobile-clinic[b-hgnmxtbj8z] {
    font-size: 0.84rem;
    font-weight: 700;
    color: inherit;
}

.orders-mobile-clinic-front[b-hgnmxtbj8z] {
    font-size: 0.84rem;
    line-height: 1.2;
}

.orders-mobile-email[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    color: var(--phos-primary);
    font-size: 0.74rem;
    font-weight: 500;
    text-decoration: none;
}

.orders-mobile-email:hover[b-hgnmxtbj8z] {
    color: var(--phos-primary-dark);
    text-decoration: underline;
}

.orders-mobile-email span[b-hgnmxtbj8z] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.orders-mobile-email-row[b-hgnmxtbj8z] {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.2rem;
    font-size: 0.93rem;
    font-weight: 600;
    text-align: center;
    padding-top: 0.1rem;
}

.orders-mobile-email-row span[b-hgnmxtbj8z] {
    max-width: 100%;
}

.orders-mobile-email-label[b-hgnmxtbj8z],
.orders-mobile-address-label[b-hgnmxtbj8z] {
    font-size: 0.88rem;
}

.orders-mobile-content-label[b-hgnmxtbj8z] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #90a4ae;
}

.orders-mobile-content-label-row[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.orders-mobile-content-value[b-hgnmxtbj8z] {
    max-width: 100%;
}

.orders-mobile-inline-meta[b-hgnmxtbj8z] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.orders-mobile-front-chips[b-hgnmxtbj8z] {
    margin-top: 0.05rem;
}

.orders-mobile-back-chips[b-hgnmxtbj8z] {
    margin-top: 0.05rem;
}

.orders-mobile-date-pair[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.orders-mobile-date-pair > div[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.orders-mobile-date-pair span[b-hgnmxtbj8z] {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #90a4ae;
}

.orders-mobile-date-pair strong[b-hgnmxtbj8z] {
    font-size: 0.76rem;
    color: var(--phos-text);
    font-weight: 600;
    white-space: nowrap;
}

.orders-mobile-inline-meta > div[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.orders-mobile-inline-meta span[b-hgnmxtbj8z] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #90a4ae;
}

.orders-mobile-inline-meta strong[b-hgnmxtbj8z] {
    font-size: 0.82rem;
    color: var(--phos-text);
    font-weight: 600;
}

.orders-mobile-back-copy[b-hgnmxtbj8z] {
    font-size: 0.94rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--phos-text);
    white-space: pre-line;
}

.orders-mobile-address-block[b-hgnmxtbj8z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    text-align: center;
}

.orders-mobile-flip-hint[b-hgnmxtbj8z] {
    font-size: 0.73rem;
    color: #90a4ae;
    margin-top: auto;
}

.orders-mobile-face-back .orders-mobile-flip-hint[b-hgnmxtbj8z] {
    margin-top: 0.1rem;
}

.orders-mobile-face-back .orders-mobile-actions[b-hgnmxtbj8z] {
    margin-top: auto;
}

.orders-mobile-actions[b-hgnmxtbj8z] {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.2rem;
    width: 100%;
    flex-shrink: 0;
}

.orders-mobile-actions .btn[b-hgnmxtbj8z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.orders-mobile-actions .btn-outline-primary[b-hgnmxtbj8z] {
    flex: 0 0 2.65rem;
    min-width: 2.65rem;
}

@media (max-width: 991.98px) {
    .orders-toolbar-top[b-hgnmxtbj8z] {
        flex-wrap: nowrap;
    }

    .orders-filter-search[b-hgnmxtbj8z] {
        width: 100%;
    }

    .orders-filter-sheet[b-hgnmxtbj8z] {
        width: min(calc(100vw - 1rem), 60rem);
    }

    .orders-filter-sheet-row--primary[b-hgnmxtbj8z] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-filter-status-field[b-hgnmxtbj8z] {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .orders-filter-search .form-control[b-hgnmxtbj8z],
    .orders-filter-search .btn[b-hgnmxtbj8z] {
        border-top: 0;
    }

    .orders-filter-sheet-footer[b-hgnmxtbj8z] {
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .orders-toolbar[b-hgnmxtbj8z] {
        gap: 0.75rem;
    }

    .orders-filter-search .orders-filter-toggle[b-hgnmxtbj8z] {
        min-width: 2.9rem;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .orders-filter-search .orders-filter-clear[b-hgnmxtbj8z] {
        min-width: 2.9rem;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .orders-filter-toggle-label[b-hgnmxtbj8z] {
        display: none;
    }

    .orders-filter-sheet-header[b-hgnmxtbj8z],
    .orders-filter-sheet-body[b-hgnmxtbj8z],
    .orders-filter-sheet-footer[b-hgnmxtbj8z] {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .orders-filter-sheet[b-hgnmxtbj8z] {
        left: 0;
        width: 100%;
        max-height: min(84vh, 40rem);
        border-radius: 0 0 1rem 1rem;
        transform: translateY(-100%);
    }

    .orders-filter-sheet.is-open[b-hgnmxtbj8z] {
        transform: translateY(0);
    }

    .orders-filter-sheet-footer[b-hgnmxtbj8z] {
        justify-content: space-between;
        gap: 0.65rem;
    }

    .orders-filter-sheet-footer .btn[b-hgnmxtbj8z] {
        flex: 1 1 0;
    }

    .orders-filter-sheet-row--primary[b-hgnmxtbj8z],
    .orders-filter-sheet-row--dates[b-hgnmxtbj8z] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .orders-filter-sheet-row--dates[b-hgnmxtbj8z] {
        margin-top: 1.25rem;
    }

    .orders-filter-sheet-actions .btn[b-hgnmxtbj8z] {
        white-space: nowrap;
    }

    .orders-filter-sheet-row--primary .md-filter-select-label[b-hgnmxtbj8z] {
        display: none;
    }

    .orders-multi-select > .md-filter-select-label[b-hgnmxtbj8z],
    .orders-filter-label[b-hgnmxtbj8z] {
        display: none;
    }

    .orders-filter-sheet-row--dates .orders-filter-label[b-hgnmxtbj8z] {
        display: block;
        text-align: center;
        margin-bottom: 0.35rem;
    }

    .orders-compact-select-icon[b-hgnmxtbj8z] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: static;
        transform: none;
        width: 1.05rem;
        font-size: 0.82rem;
        flex-shrink: 0;
    }

    .orders-compact-select[b-hgnmxtbj8z] {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        border-bottom: 1.5px solid #d0d0d0;
    }

    .orders-compact-select-input[b-hgnmxtbj8z] {
        padding: 0.3rem 1.2rem 0.3rem 0;
        border: none;
        border-bottom: none;
    }

    .orders-multi-select-summary .orders-compact-select-icon[b-hgnmxtbj8z] {
        position: static;
        transform: none;
        flex-shrink: 0;
    }

    .orders-mobile-card[b-hgnmxtbj8z] {
        padding: 0.8rem 0;
    }

    .orders-mobile-face[b-hgnmxtbj8z] {
        padding: 0.9rem 0.85rem;
    }

    .orders-mobile-inline-meta[b-hgnmxtbj8z] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}
/* /Components/Pages/Admin/OrganizationEdit.razor.rz.scp.css */
/* ============================
   Organization Edit – Page Layout (oe-page / oe-section / oe-perm)
   ============================ */
/* Mobile back link — text only, above page title */
.oe-mobile-back[b-pc5s7pjxsw] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--phos-text-muted);
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.oe-mobile-back:hover[b-pc5s7pjxsw] {
    color: var(--phos-primary);
    text-decoration: none;
}

.oe-page-header[b-pc5s7pjxsw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================
   Permission Toggles
   ============================ */
.oe-perm-toggles[b-pc5s7pjxsw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.oe-toggle-item[b-pc5s7pjxsw] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.oe-toggle[b-pc5s7pjxsw] {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.oe-toggle input[type="checkbox"][b-pc5s7pjxsw] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.oe-toggle-knob[b-pc5s7pjxsw] {
    position: absolute;
    inset: 0;
    background: #dee2e6;
    border-radius: 20px;
    transition: background 0.2s;
    cursor: pointer;
}

.oe-toggle-knob[b-pc5s7pjxsw]::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.oe-toggle.oe-toggle-on .oe-toggle-knob[b-pc5s7pjxsw] {
    background: var(--phos-primary);
}

.oe-toggle.oe-toggle-on .oe-toggle-knob[b-pc5s7pjxsw]::before {
    transform: translateX(16px);
}

.oe-toggle-label[b-pc5s7pjxsw] {
    font-size: 0.8375rem;
    font-weight: 600;
    color: var(--phos-text);
}

/* ============================
   Location / Permission Chips (badge multiselect)
   ============================ */
.oe-perm-bar[b-pc5s7pjxsw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.oe-perm-chip[b-pc5s7pjxsw] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    background: #f4f6f8;
    color: var(--phos-text-muted);
    border: 1.5px solid #e0e4e8;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}

.oe-perm-chip input[type="checkbox"][b-pc5s7pjxsw] {
    display: none;
}

.oe-perm-chip:hover[b-pc5s7pjxsw] {
    border-color: var(--phos-primary);
    color: var(--phos-primary);
}

.oe-perm-chip.oe-perm-on[b-pc5s7pjxsw] {
    background: var(--phos-primary);
    color: #fff;
    border-color: var(--phos-primary);
}

.oe-section-tabs[b-pc5s7pjxsw] {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.oe-section-tab[b-pc5s7pjxsw] {
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--phos-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.oe-section-tab:hover[b-pc5s7pjxsw] {
    color: var(--phos-primary);
}

.oe-section-tab.oe-section-tab-active[b-pc5s7pjxsw] {
    color: var(--phos-primary);
    border-bottom-color: var(--phos-primary);
}

.oe-section-content[b-pc5s7pjxsw] {
    padding: 4px 0 24px;
}

.oe-section-divider[b-pc5s7pjxsw] {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0 16px;
}

.oe-sub-section-label[b-pc5s7pjxsw] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.oe-form-label[b-pc5s7pjxsw] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--phos-text);
    margin-bottom: 4px;
}

/* ============================
   Organization Edit – User Management (oe-)
   ============================ */
.oe-tabs[b-pc5s7pjxsw] {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e9ecef;
}

.oe-tab[b-pc5s7pjxsw] {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.oe-tab:hover[b-pc5s7pjxsw] {
    color: var(--phos-primary);
}

.oe-tab-active[b-pc5s7pjxsw] {
    color: var(--phos-primary);
    border-bottom-color: var(--phos-primary);
}

.oe-badge-count[b-pc5s7pjxsw] {
    display: inline-block;
    background: #e9ecef;
    color: var(--phos-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.oe-badge-pending[b-pc5s7pjxsw] {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.oe-table[b-pc5s7pjxsw] {
    width: 100%;
    font-size: 0.8125rem;
    border-collapse: collapse;
}

.oe-table th[b-pc5s7pjxsw] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--phos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.oe-table td[b-pc5s7pjxsw] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.oe-table tr:hover td[b-pc5s7pjxsw] {
    background: #fafafa;
}

.oe-add-form[b-pc5s7pjxsw] {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.oe-badge[b-pc5s7pjxsw] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.oe-badge-add[b-pc5s7pjxsw] {
    background: #d1e7dd;
    color: #0f5132;
}

.oe-badge-remove[b-pc5s7pjxsw] {
    background: #f8d7da;
    color: #842029;
}

.oe-badge-complete[b-pc5s7pjxsw] {
    background: #d1e7dd;
    color: #0f5132;
}

.oe-badge-rejected[b-pc5s7pjxsw] {
    background: #f8d7da;
    color: #842029;
}

.oe-btn-success[b-pc5s7pjxsw] {
    background: #198754;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.oe-btn-success:hover[b-pc5s7pjxsw] {
    background: #157347;
    color: #fff;
}

.oe-btn-danger[b-pc5s7pjxsw] {
    background: #dc3545;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.oe-btn-danger:hover[b-pc5s7pjxsw] {
    background: #bb2d3b;
    color: #fff;
}

.oe-btn-ghost[b-pc5s7pjxsw] {
    background: transparent;
    color: var(--phos-text-muted);
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.oe-btn-ghost:hover[b-pc5s7pjxsw] {
    background: #f8f9fa;
}

.oe-btn-ghost-danger[b-pc5s7pjxsw] {
    background: transparent;
    color: #dc3545;
    border: none;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.oe-btn-ghost-danger:hover[b-pc5s7pjxsw] {
    background: #f8d7da;
}

/* ============================
   Internal Notes Footer (always visible below tabs)
   ============================ */
.oe-notes-footer[b-pc5s7pjxsw] {
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* ============================
   User / Request Cards (mobile only)
   ============================ */
.oe-user-cards[b-pc5s7pjxsw] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.oe-user-card[b-pc5s7pjxsw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.oe-user-card--block[b-pc5s7pjxsw] {
    align-items: flex-start;
}

.oe-user-card-avatar[b-pc5s7pjxsw] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f4ff;
    color: var(--phos-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.oe-user-card-body[b-pc5s7pjxsw] {
    flex: 1;
    min-width: 0;
}

.oe-user-card-name[b-pc5s7pjxsw] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--phos-text);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    line-height: 1.3;
}

.oe-user-card-email[b-pc5s7pjxsw] {
    font-size: 0.775rem;
    color: var(--phos-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.oe-user-card-meta[b-pc5s7pjxsw] {
    font-size: 0.725rem;
    color: var(--phos-text-muted);
    margin-top: 2px;
}

.oe-user-card-action[b-pc5s7pjxsw] {
    flex-shrink: 0;
}

/* ============================
   Order Status Badges (org orders tab)
   ============================ */
.oe-status-badge[b-pc5s7pjxsw] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 10px;
    white-space: nowrap;
}

.oe-status-badge-draft[b-pc5s7pjxsw]     { background: #e9ecef; color: #6c757d; }
.oe-status-badge-submitted[b-pc5s7pjxsw] { background: #cfe2ff; color: #084298; }
.oe-status-badge-approved[b-pc5s7pjxsw]  { background: #d1e7dd; color: #0f5132; }
.oe-status-badge-packed[b-pc5s7pjxsw]    { background: #e2d9f3; color: #432874; }
.oe-status-badge-complete[b-pc5s7pjxsw]  { background: #d1e7dd; color: #0a3622; }
.oe-status-badge-cancelled[b-pc5s7pjxsw] { background: #f8d7da; color: #842029; }

/* ============================
   Orders Tab Search Bar
   ============================ */
.oe-orders-toolbar[b-pc5s7pjxsw] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.oe-orders-new-btn[b-pc5s7pjxsw] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border: 1px solid var(--phos-primary, #4361ee);
    border-radius: 6px;
    color: var(--phos-primary, #4361ee);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    cursor: pointer;
}

.oe-orders-new-btn:hover[b-pc5s7pjxsw] {
    background: #f0f4ff;
    text-decoration: none;
    color: var(--phos-primary, #4361ee);
}

.oe-orders-new-btn-disabled[b-pc5s7pjxsw] {
    border-color: #dee2e6;
    color: #adb5bd;
    pointer-events: none;
    opacity: 0.65;
    cursor: not-allowed;
}

.oe-orders-search[b-pc5s7pjxsw] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid #dee2e6;
    padding: 0.2rem 0;
    width: 100%;
}

.oe-orders-search-input[b-pc5s7pjxsw] {
    border: none;
    outline: none;
    font-size: 0.8125rem;
    background: transparent;
    flex: 1;
    min-width: 0;
    color: var(--phos-text);
}

.oe-orders-search-input[b-pc5s7pjxsw]::placeholder {
    color: var(--phos-text-muted);
}

.oe-orders-search-clear[b-pc5s7pjxsw] {
    border: none;
    background: transparent;
    color: var(--phos-text-muted);
    padding: 0;
    font-size: 0.75rem;
    cursor: pointer;
    line-height: 1;
}

.oe-orders-search-clear:hover[b-pc5s7pjxsw] {
    color: var(--phos-text);
}

.oe-orders-search-divider[b-pc5s7pjxsw] {
    width: 1px;
    height: 14px;
    background: #dee2e6;
    flex-shrink: 0;
}

.oe-orders-status-select[b-pc5s7pjxsw] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.8125rem;
    color: var(--phos-text-muted, #6c757d);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.oe-orders-status-select:focus[b-pc5s7pjxsw] {
    outline: none;
    box-shadow: none;
}

/* ============================
   Category Passes Tab
   ============================ */
.oe-pass-add-section[b-pc5s7pjxsw] {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 1rem 1.25rem;
}

.oe-pass-type-select[b-pc5s7pjxsw] {
    min-width: 140px;
}

.oe-pass-cat-selector-wrap[b-pc5s7pjxsw] {
    min-width: 280px;
    max-width: 400px;
    flex: 1;
}

.oe-pass-cat-selector[b-pc5s7pjxsw] {
    position: relative;
}

.oe-pass-cat-clear[b-pc5s7pjxsw] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 0.75rem;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.oe-pass-cat-clear:hover[b-pc5s7pjxsw] {
    color: #495057;
}

.oe-pass-cat-dropdown[b-pc5s7pjxsw] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 200;
    max-height: 220px;
    overflow-y: auto;
}

.oe-pass-cat-option[b-pc5s7pjxsw] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.8375rem;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.1s;
}

.oe-pass-cat-option:last-child[b-pc5s7pjxsw] {
    border-bottom: none;
}

.oe-pass-cat-option:hover[b-pc5s7pjxsw],
.oe-pass-cat-option.is-selected[b-pc5s7pjxsw] {
    background: #f0f4ff;
}

.oe-pass-cat-parent[b-pc5s7pjxsw] {
    font-size: 0.72rem;
    color: var(--phos-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.oe-pass-badge[b-pc5s7pjxsw] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    white-space: nowrap;
}

.oe-pass-badge-access[b-pc5s7pjxsw] {
    background: #d1e7dd;
    color: #0f5132;
}

.oe-pass-badge-batch[b-pc5s7pjxsw] {
    background: #e2d9f3;
    color: #432874;
}

.oe-pass-restricted-badge[b-pc5s7pjxsw] {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
    background: #fff3cd;
    color: #856404;
    white-space: nowrap;
}

.oe-pass-revoke-btn[b-pc5s7pjxsw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: #adb5bd;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.oe-pass-revoke-btn:hover:not(:disabled)[b-pc5s7pjxsw] {
    background: #f8d7da;
    color: #dc3545;
}

.oe-pass-revoke-btn:disabled[b-pc5s7pjxsw] {
    opacity: 0.4;
    cursor: default;
}

.oe-pass-revoke-action[b-pc5s7pjxsw] {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    white-space: nowrap;
}

.oe-pass-revoke-row td[b-pc5s7pjxsw] {
    padding: 0 !important;
}

.oe-pass-revoke-form[b-pc5s7pjxsw] {
    background: #fff8f8;
    border-left: 3px solid #dc3545;
    padding: 0.75rem 1rem;
}
/* /Components/Pages/Admin/Organizations.razor.rz.scp.css */
/* ============================
   Organizations List — Mobile Rows
   ============================ */

/* Mobile filter layout: dropdowns row above search row */
@media (max-width: 575.98px) {
    .org-filter-bar[b-05kb3co7gr] {
        flex-wrap: wrap;
    }

    .org-filter-bar .md-filter-select[b-05kb3co7gr] {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
    }

    .org-filter-bar .md-filter-search-group[b-05kb3co7gr] {
        flex: 1 1 100%;
    }
}

.org-list-item[b-05kb3co7gr] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.org-list-item--last[b-05kb3co7gr] {
    border-bottom: none;
}

.org-list-item-info[b-05kb3co7gr] {
    flex: 1;
    min-width: 0;
}

.org-list-item-name[b-05kb3co7gr] {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-list-item-meta[b-05kb3co7gr] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.125rem;
}

.org-list-item-actions[b-05kb3co7gr] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}
/* /Components/Pages/Admin/Reports/OrgSummaryReport.razor.rz.scp.css */
.report-table th[b-qn161f1wr5] {
    white-space: nowrap;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    border-bottom: 2px solid var(--bs-border-color);
    padding: 0.5rem 0.75rem;
}

.report-table td[b-qn161f1wr5] {
    padding: 0.5rem 0.75rem;
    vertical-align: top;
    font-size: 0.875rem;
}

.report-address[b-qn161f1wr5] {
    max-width: 200px;
    white-space: normal;
}
/* /Components/Pages/Admin/Settings.razor.rz.scp.css */
/* ============================
   Settings Page — Material Design
   ============================ */
.stg-section-content[b-bv2yp1kp2b] {
    max-width: 780px;
    animation: phosTabAppear 0.2s ease both;
}

.stg-setting-row[b-bv2yp1kp2b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.stg-setting-info[b-bv2yp1kp2b] { flex: 1; min-width: 0; }

.stg-setting-label[b-bv2yp1kp2b] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #212121;
}

.stg-setting-label-row[b-bv2yp1kp2b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stg-setting-inline-action[b-bv2yp1kp2b] {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.stg-setting-desc[b-bv2yp1kp2b] {
    display: block;
    font-size: 0.78rem;
    color: var(--phos-text-muted, #9e9e9e);
}

.stg-setting-actions[b-bv2yp1kp2b] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.stg-setting-row-disabled[b-bv2yp1kp2b] {
    opacity: 0.52;
}

.stg-setting-row-disabled .stg-setting-label[b-bv2yp1kp2b],
.stg-setting-row-disabled .stg-setting-desc[b-bv2yp1kp2b] {
    color: #9aa3ad;
}

.stg-input-action[b-bv2yp1kp2b] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.stg-input-action .form-control[b-bv2yp1kp2b] {
    flex: 1;
}

.stg-input-group[b-bv2yp1kp2b] {
    align-items: stretch;
    gap: 0;
}

.stg-input-group .form-control[b-bv2yp1kp2b] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.stg-input-group .stg-field-save[b-bv2yp1kp2b] {
    min-width: 6.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.stg-field-save[b-bv2yp1kp2b] {
    flex: 0 0 auto;
    min-width: 6rem;
}

.stg-form-row[b-bv2yp1kp2b] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.stg-form-label[b-bv2yp1kp2b] {
    flex: 0 0 200px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #424242;
}

.stg-form-control-wrap[b-bv2yp1kp2b] {
    flex: 1;
    min-width: 0;
    max-width: 460px;
}

.stg-divider[b-bv2yp1kp2b] {
    border: 0;
    border-top: 1px solid #eeeeee;
}

.stg-form-grid[b-bv2yp1kp2b] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.stg-grid-field[b-bv2yp1kp2b] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stg-grid-label[b-bv2yp1kp2b] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #424242;
}

.stg-section-actions[b-bv2yp1kp2b] {
    display: flex;
    margin-top: 1.5rem;
}

.stg-section-actions-start[b-bv2yp1kp2b] {
    justify-content: flex-start;
}

.stg-section-save[b-bv2yp1kp2b] {
    min-width: 11rem;
}

@media (max-width: 575.98px) {
    .stg-setting-row[b-bv2yp1kp2b],
    .stg-form-row[b-bv2yp1kp2b] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .stg-setting-actions[b-bv2yp1kp2b] {
        width: 100%;
        justify-content: space-between;
    }

    .stg-input-action[b-bv2yp1kp2b] {
        flex-direction: column;
    }

    .stg-input-group[b-bv2yp1kp2b] {
        flex-direction: row;
        gap: 0;
    }

    .stg-input-group .stg-field-save[b-bv2yp1kp2b] {
        width: auto;
    }

    .stg-field-save[b-bv2yp1kp2b],
    .stg-section-save[b-bv2yp1kp2b] {
        width: 100%;
    }

    .stg-input-group .stg-field-save[b-bv2yp1kp2b] {
        width: auto;
    }

    .stg-form-grid[b-bv2yp1kp2b] {
        grid-template-columns: 1fr;
    }

    .stg-section-actions[b-bv2yp1kp2b] {
        justify-content: center;
    }

    .stg-form-label[b-bv2yp1kp2b] { flex: none; }
}

.stg-color-swatch[b-bv2yp1kp2b] {
    width: 34px;
    height: 34px;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 2px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.stg-color-swatch:hover[b-bv2yp1kp2b] {
    border-color: var(--phos-primary);
}

.stg-logo-area[b-bv2yp1kp2b] {
    background: var(--phos-primary);
    border: 2px dashed #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: border-color 0.2s ease;
}

.stg-logo-area:hover[b-bv2yp1kp2b] {
    border-color: var(--phos-primary);
}

.stg-logo-area.drag-over[b-bv2yp1kp2b] {
    border-color: var(--phos-primary);
    background: var(--phos-primary-light);
    transform: scale(1.01);
}

.stg-logo-area.logo-saving[b-bv2yp1kp2b] {
    opacity: 0.6;
    pointer-events: none;
}

.stg-logo-img[b-bv2yp1kp2b] {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* Logo size variants */
.stg-logo-small[b-bv2yp1kp2b] {
    min-height: 120px;
}

.stg-logo-small .stg-logo-img[b-bv2yp1kp2b] {
    max-height: 100px;
}

.stg-logo-medium[b-bv2yp1kp2b] {
    min-height: 200px;
}

.stg-logo-medium .stg-logo-img[b-bv2yp1kp2b] {
    max-height: 200px;
}

.stg-logo-large[b-bv2yp1kp2b] {
    min-height: 300px;
}

.stg-logo-large .stg-logo-img[b-bv2yp1kp2b] {
    max-height: 300px;
}
/* /Components/Pages/Admin/SystemBanner.razor.rz.scp.css */
/* ============================
   System Banner Page (sb-*)
   ============================ */

/* Flat panels — no card decoration */
.sb-panel[b-xmgqo4a7e0] {
    padding: 0;
}

.sb-panel-heading[b-xmgqo4a7e0] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--phos-text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.sb-panel-heading-row[b-xmgqo4a7e0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Labels ---- */
.sb-label[b-xmgqo4a7e0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--phos-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

/* ---- Info icon button ---- */
.sb-info-btn[b-xmgqo4a7e0] {
    background: none;
    border: none;
    padding: 0 2px;
    cursor: pointer;
    color: var(--phos-primary);
    font-size: 0.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.sb-info-btn:hover[b-xmgqo4a7e0] {
    color: var(--phos-primary);
    opacity: 0.75;
}

/* ---- Inline row (Type + Audience) ---- */
.sb-inline-row[b-xmgqo4a7e0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.sb-field[b-xmgqo4a7e0] {
    display: flex;
    flex-direction: column;
}

.sb-field-message[b-xmgqo4a7e0] {
    margin-bottom: 4px;
}

/* ---- Flat material inputs ---- */
.sb-select[b-xmgqo4a7e0] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding: 5px 0;
    font-size: 0.875rem;
    color: var(--phos-text, #212529);
    width: 100%;
    cursor: pointer;
}

.sb-select:focus[b-xmgqo4a7e0] {
    outline: none;
    border-bottom-color: var(--phos-primary);
    box-shadow: none;
}

.sb-textarea[b-xmgqo4a7e0] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding: 5px 0;
    font-size: 0.875rem;
    color: var(--phos-text, #212529);
    width: 100%;
    resize: vertical;
    min-height: 72px;
}

.sb-textarea:focus[b-xmgqo4a7e0] {
    outline: none;
    border-bottom-color: var(--phos-primary);
    box-shadow: none;
}

.sb-textarea[b-xmgqo4a7e0]::placeholder {
    color: #aaa;
}

.sb-char-count[b-xmgqo4a7e0] {
    font-size: 0.7rem;
    color: var(--phos-text-muted);
    text-align: right;
    margin-top: 2px;
}

/* ---- Count pill ---- */
.sb-count-pill[b-xmgqo4a7e0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 66, 193, 0.1);
    color: var(--phos-primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
}

/* ---- Banner list ---- */
.sb-banner-list[b-xmgqo4a7e0] {
    display: flex;
    flex-direction: column;
}

.sb-banner-row[b-xmgqo4a7e0] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    border-left: 2px solid transparent;
    transition: border-left-color 0.15s;
}

.sb-banner-row:last-child[b-xmgqo4a7e0] {
    border-bottom: none;
}

.sb-banner-row-active[b-xmgqo4a7e0] {
    border-left-color: var(--phos-primary);
}

.sb-banner-main[b-xmgqo4a7e0] {
    flex: 1;
    min-width: 0;
}

.sb-banner-message[b-xmgqo4a7e0] {
    font-size: 0.875rem;
    word-break: break-word;
}

.sb-banner-actions[b-xmgqo4a7e0] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.sb-action-btn[b-xmgqo4a7e0] {
    padding: 0.2rem 0.45rem;
    font-size: 0.8rem;
    line-height: 1;
}

/* ---- Badges ---- */
.sb-type-badge[b-xmgqo4a7e0] {
    font-size: 0.7rem;
}

.sb-type-info[b-xmgqo4a7e0]    { background: rgba(13, 202, 240, 0.15) !important; color: #0c7a9b !important; border: none; }
.sb-type-success[b-xmgqo4a7e0] { background: rgba(25, 135, 84, 0.12) !important; color: #146c43 !important; border: none; }
.sb-type-warning[b-xmgqo4a7e0] { background: rgba(255, 193, 7, 0.2) !important; color: #997404 !important; border: none; }
.sb-type-danger[b-xmgqo4a7e0]  { background: rgba(220, 53, 69, 0.12) !important; color: #b02a37 !important; border: none; }

.sb-audience-badge[b-xmgqo4a7e0] {
    font-size: 0.7rem;
    background: rgba(108, 117, 125, 0.12) !important;
    color: var(--phos-text-muted) !important;
    border: none;
}

.sb-active-badge[b-xmgqo4a7e0] {
    background: rgba(111, 66, 193, 0.12) !important;
    color: var(--phos-primary) !important;
    font-size: 0.7rem;
    border: none;
}

/* ---- Preview ---- */
.sb-preview-wrap[b-xmgqo4a7e0] {
    border-top: 1px dashed #e8e8e8;
    padding-top: 12px;
    margin-top: 12px;
}

.sb-preview-label[b-xmgqo4a7e0] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--phos-text-muted);
    margin-bottom: 6px;
}

.sb-preview-banner[b-xmgqo4a7e0] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: break-word;
}

.sb-preview-info[b-xmgqo4a7e0]      { background: #e3f2fd; color: #1565c0; }
.sb-preview-success[b-xmgqo4a7e0]   { background: #e8f5e9; color: #2e7d32; }
.sb-preview-warning[b-xmgqo4a7e0]   { background: #fff3e0; color: #e65100; }
.sb-preview-danger[b-xmgqo4a7e0]    { background: #fbe9e7; color: #c62828; }
.sb-preview-secondary[b-xmgqo4a7e0] { background: #f5f5f5; color: #546e7a; }

/* ---- Audience info popup ---- */
.sb-info-overlay[b-xmgqo4a7e0] {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(0, 0, 0, 0.2);
}

.sb-info-popup[b-xmgqo4a7e0] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    background: var(--phos-surface, #fff);
    padding: 20px 24px;
    max-width: 340px;
    width: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    font-size: 0.875rem;
    line-height: 1.6;
}

.sb-info-popup-close[b-xmgqo4a7e0] {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--phos-text-muted);
    font-size: 1rem;
    padding: 2px 6px;
}

.sb-info-popup-close:hover[b-xmgqo4a7e0] {
    color: var(--phos-text, #212529);
}

/* /Components/Pages/Admin/UserRoles.razor.rz.scp.css */
/* ============================
   User Roles Page — flat material
   ============================ */

/* External guest user badge */
.ur-ext-badge[b-0784s5qmz0] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 0.75rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    vertical-align: middle;
    white-space: nowrap;
}

/* Assign Role panel — role select column, always inline with user search */
.ur-assign-role-select[b-0784s5qmz0] {
    flex: 0 0 auto;
    width: 140px;
}

/* Two-column panel layout */
.ur-two-col[b-0784s5qmz0] {
    background: transparent;
}

@media (min-width: 992px) {
    .ur-panel-left[b-0784s5qmz0] {
        border-right: 1px solid #e5e5e5;
        padding: 1.5rem 2rem 1.5rem 0;
    }


    .ur-panel-right[b-0784s5qmz0] {
        padding: 1.5rem 0 1.5rem 2rem;
    }
}

/* Scrollable assignments list */
.ur-assignments-scroll[b-0784s5qmz0] {
    max-height: calc(100vh - 340px);
    min-height: 80px;
    overflow-y: auto;
}

/* Sticky column headers inside the scroll container */
.ur-sticky-th[b-0784s5qmz0] {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    box-shadow: 0 1px 0 #dee2e6;
}

/* Flat user cards */
.ur-user-list[b-0784s5qmz0] {
    display: flex;
    flex-direction: column;
}

.ur-user-card[b-0784s5qmz0] {
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid #dee2e6;
}

.ur-user-card:last-child[b-0784s5qmz0] {
    border-bottom: none;
}

.ur-user-card-main[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ur-user-card-name[b-0784s5qmz0] {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.ur-user-card-badges[b-0784s5qmz0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

@media (max-width: 575.98px) {
    .ur-user-card-badges[b-0784s5qmz0] {
        margin-left: auto;
    }
}

/* Email subtitle in the assignments list */
.ur-user-email[b-0784s5qmz0] {
    font-size: 0.72rem;
    color: var(--phos-text-muted, #6c757d);
    margin-top: 0.2rem;
    word-break: break-all;
}

.ur-section[b-0784s5qmz0] {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.ur-section:last-of-type[b-0784s5qmz0] {
    border-bottom: none;
}

.ur-section-title[b-0784s5qmz0] {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--phos-text-muted);
}

.ur-label[b-0784s5qmz0] {
    display: block;
    font-size: 0.7rem;
    color: var(--phos-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

/* Badge next to "User Roles" title — shows enabled role count */
.ur-role-count-badge[b-0784s5qmz0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--phos-primary);
    border: none;
    border-radius: 11px;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 0.35rem;
    transition: background-color 0.15s ease, transform 0.1s ease;
    line-height: 1;
}

.ur-role-count-badge:hover[b-0784s5qmz0] {
    background-color: var(--phos-primary-dark);
    transform: scale(1.08);
}

/* Count pill for assignments header */
.ur-count-pill[b-0784s5qmz0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--phos-text-muted);
    background: #e9ecef;
    border-radius: 10px;
    line-height: 1;
}

/* Material filter chips */
.ur-filter-bar[b-0784s5qmz0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.ur-filter-chip[b-0784s5qmz0] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    background: transparent;
    color: var(--phos-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.ur-filter-chip:hover[b-0784s5qmz0] {
    border-color: var(--phos-primary-light);
    color: var(--phos-primary);
}

.ur-filter-chip.active[b-0784s5qmz0] {
    background-color: var(--phos-primary);
    border-color: var(--phos-primary);
    color: #fff;
}

/* Neutral chip (type labels, job title) */
.ur-chip[b-0784s5qmz0] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 0.75rem;
    background: #f0f0f0;
    color: var(--phos-text-muted);
    white-space: nowrap;
}

/* Search results dropdown */
.ur-search-results[b-0784s5qmz0] {
    max-height: 220px;
    overflow-y: auto;
    margin-top: 0.35rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    background: #fff;
}

.ur-search-item[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
    font-size: 0.85rem;
}

.ur-search-item:last-child[b-0784s5qmz0] {
    border-bottom: none;
}

.ur-search-item:hover[b-0784s5qmz0] {
    background-color: rgba(111, 66, 193, 0.04);
}

.ur-search-item.active[b-0784s5qmz0] {
    background-color: var(--phos-primary);
    color: #fff;
}

.ur-search-item.active .text-muted[b-0784s5qmz0] {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ur-search-item.active .ur-chip[b-0784s5qmz0] {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Selected user inline indicator */
.ur-selected-user[b-0784s5qmz0] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    background: rgba(111, 66, 193, 0.06);
    border-radius: 0.375rem;
    font-size: 0.8rem;
}

/* Flat modal (body only, no header/footer chrome) */
.ur-modal-flat[b-0784s5qmz0] {
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.ur-modal-body[b-0784s5qmz0] {
    padding: 1.25rem;
}

/* Role row inside the roles modal */
.ur-role-row[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.ur-role-row:last-child[b-0784s5qmz0] {
    border-bottom: none;
}

/* Role management row in modal */
.ur-role-manage-row[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.ur-role-manage-row:last-of-type[b-0784s5qmz0] {
    border-bottom: none;
}

.ur-role-manage-row .min-width-0[b-0784s5qmz0] {
    min-width: 0;
}

/* Add role form separator */
.ur-role-add-form[b-0784s5qmz0] {
    border-top: 1px solid #e0e0e0;
}

/* Small status dot (enabled/disabled) */
.ur-status-dot[b-0784s5qmz0] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive: stack search item content on small screens */
@media (max-width: 575.98px) {
    .ur-search-item[b-0784s5qmz0] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ur-search-item .ur-chip[b-0784s5qmz0] {
        margin-left: 0;
        margin-top: 0.15rem;
    }

    .ur-role-row[b-0784s5qmz0] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Role badge with hover-to-reveal delete */
.ur-role-badge[b-0784s5qmz0] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    background-color: var(--phos-primary);
    color: #fff;
    cursor: default;
    position: relative;
    transition: background-color 0.15s ease, padding-right 0.15s ease;
    white-space: nowrap;
    user-select: none;
}

.ur-role-badge-label[b-0784s5qmz0] {
    line-height: 1.3;
}

.ur-role-badge-remove[b-0784s5qmz0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 0;
    font-size: 0.6rem;
    cursor: pointer;
    transition: width 0.15s ease, opacity 0.15s ease, margin-left 0.15s ease;
}

.ur-role-badge:hover[b-0784s5qmz0] {
    background-color: #dc3545;
}

.ur-role-badge:hover .ur-role-badge-remove[b-0784s5qmz0] {
    width: 14px;
    opacity: 1;
    margin-left: 0.35rem;
}

/* Touch devices: always show remove hint since no hover */
@media (hover: none) {
    .ur-role-badge-remove[b-0784s5qmz0] {
        width: 14px;
        opacity: 0.7;
        margin-left: 0.35rem;
    }
}

/* Delete role re-assignment list */
.ur-reassign-list[b-0784s5qmz0] {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 320px;
    overflow-y: auto;
}

.ur-reassign-row[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.ur-reassign-row:last-child[b-0784s5qmz0] {
    border-bottom: none;
}

.ur-reassign-user[b-0784s5qmz0] {
    flex-shrink: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ur-reassign-select[b-0784s5qmz0] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ur-reassign-select .form-select[b-0784s5qmz0] {
    width: auto;
    min-width: 160px;
}

/* Search input group — remove top & side borders from the icon span */
.ur-search-group .input-group-text[b-0784s5qmz0] {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.ur-search-group .form-control[b-0784s5qmz0] {
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
}

.ur-search-group .form-control:focus[b-0784s5qmz0] {
    box-shadow: none;
}

.ur-search-group .ur-role-select[b-0784s5qmz0] {
    border-top: none;
    border-right: none;
    border-left: 1px solid #dee2e6;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    flex: 0 0 auto;
    max-width: 160px;
    font-size: 0.8rem;
    color: var(--phos-text-muted, #6c757d);
    background-color: transparent;
}

.ur-search-group .ur-role-select:focus[b-0784s5qmz0] {
    box-shadow: none;
}

/* ============================
   User Management – Invite Panel (ur-invite-*)
   ============================ */
.ur-invite-panel[b-0784s5qmz0] {
    background: var(--phos-surface);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 0.65rem;
    overflow: hidden;
}

.ur-invite-toggle[b-0784s5qmz0] {
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--phos-text);
    transition: background 0.15s;
}

.ur-invite-toggle:hover[b-0784s5qmz0] {
    background: rgba(111, 66, 193, 0.05);
}

.ur-invite-body[b-0784s5qmz0] {
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,.07);
    background: var(--phos-background);
}
/* /Components/Pages/ClinicUsers.razor.rz.scp.css */
/* ClinicUsers page styles — cu-page-* and cu-user-* prefixes */

/* Page root */
.cu-page-root[b-6vv1jqc4mq] {
    padding: 1.25rem 0;
}

/* Tab nav */
.cu-page-tabs[b-6vv1jqc4mq] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eeeeee;
}

.cu-page-tab[b-6vv1jqc4mq] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #90a4ae;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.cu-page-tab:hover[b-6vv1jqc4mq] { color: var(--phos-primary); }

.cu-page-tab.cu-page-tab-active[b-6vv1jqc4mq] {
    color: var(--phos-primary);
    border-bottom-color: var(--phos-primary);
}

.cu-page-tab-label[b-6vv1jqc4mq] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cu-page-tab-badge[b-6vv1jqc4mq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    font-size: 0.65rem;
    background: #fd7e14;
    color: #fff;
    border-radius: 50%;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .cu-page-tab[b-6vv1jqc4mq] { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
    .cu-page-tab-label span:not(.cu-page-tab-badge)[b-6vv1jqc4mq] { display: none; }
}

/* Add user form */
.cu-add-form[b-6vv1jqc4mq] {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* User list */
.cu-user-list[b-6vv1jqc4mq] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cu-user-row[b-6vv1jqc4mq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
    transition: box-shadow 0.12s ease;
}

.cu-user-row:hover[b-6vv1jqc4mq] { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.cu-user-avatar[b-6vv1jqc4mq] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--phos-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cu-user-info[b-6vv1jqc4mq] {
    flex: 1;
    min-width: 0;
}

.cu-user-name[b-6vv1jqc4mq] {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
    color: var(--phos-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cu-user-email[b-6vv1jqc4mq] {
    font-size: 0.75rem;
    color: #90a4ae;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cu-user-remove-btn[b-6vv1jqc4mq] {
    border: none;
    background: transparent;
    color: #cfd8dc;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    border-radius: 0.375rem;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.cu-user-remove-btn:hover[b-6vv1jqc4mq] {
    background: #fdecea;
    color: #dc3545;
}

.cu-user-confirm[b-6vv1jqc4mq] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    flex-shrink: 0;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* ============================
   Dashboard — flat Material stat tiles
   ============================ */

.md-stat-tile[b-f364aydwh1] {
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #eeeeee;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.2s ease;
}

.md-stat-tile:hover[b-f364aydwh1] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.md-stat-icon[b-f364aydwh1] {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.md-stat-label[b-f364aydwh1] {
    font-size: 0.75rem;
    color: var(--phos-text-muted);
    font-weight: 500;
    margin: 0;
}

.md-stat-value[b-f364aydwh1] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--phos-text);
    line-height: 1;
    margin: 0.15rem 0 0;
}

/* SuperAdmin action tile on Dashboard */
.md-superadmin-tile[b-f364aydwh1] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(135deg, rgba(111,66,193,0.06) 0%, rgba(139,92,246,0.04) 100%);
    border: 1px solid rgba(111, 66, 193, 0.18);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--phos-text);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.md-superadmin-tile:hover[b-f364aydwh1] {
    box-shadow: 0 3px 12px rgba(111, 66, 193, 0.15);
    background: linear-gradient(135deg, rgba(111,66,193,0.1) 0%, rgba(139,92,246,0.07) 100%);
    color: var(--phos-text);
    text-decoration: none;
}

.md-superadmin-tile-icon[b-f364aydwh1] {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background-color: var(--phos-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.md-superadmin-tile-label[b-f364aydwh1] {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.md-superadmin-tile-desc[b-f364aydwh1] {
    font-size: 0.75rem;
    color: var(--phos-text-muted);
    margin: 0;
}

/* ============================
   Quick Actions Avatar Buttons
   ============================ */
.qa-sections[b-f364aydwh1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.qa-section[b-f364aydwh1] {
    padding: 1rem 1rem 0.75rem;
    border-radius: 0.75rem;
}

.qa-section-title[b-f364aydwh1] {
    margin-bottom: 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--phos-text-muted);
}

.qa-grid[b-f364aydwh1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
}

.qa-btn[b-f364aydwh1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--phos-text);
    transition: transform 0.15s ease, color 0.15s ease;
    width: 78px;
}

.qa-btn:hover[b-f364aydwh1] {
    text-decoration: none;
    color: var(--phos-primary);
    transform: translateY(-3px);
}

.qa-btn:hover .qa-btn-icon[b-f364aydwh1] {
    box-shadow: 0 6px 18px rgba(111, 66, 193, 0.22);
}

.qa-btn-icon[b-f364aydwh1] {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: box-shadow 0.15s ease;
}

.qa-btn-count[b-f364aydwh1] {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #fff;
    color: var(--phos-text);
    border: 1px solid rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.qa-icon-orgs[b-f364aydwh1]    { background: linear-gradient(135deg, #6f42c1, #8b5cf6); }
.qa-icon-locs[b-f364aydwh1]    { background: linear-gradient(135deg, #0d6efd, #3b82f6); }
.qa-icon-depts[b-f364aydwh1]   { background: linear-gradient(135deg, #198754, #34d399); }
.qa-icon-items[b-f364aydwh1]   { background: linear-gradient(135deg, #dc3545, #f87171); }
.qa-icon-orders[b-f364aydwh1]  { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.qa-icon-banner[b-f364aydwh1]  { background: linear-gradient(135deg, #fd7e14, #fbbf24); }
.qa-icon-settings[b-f364aydwh1] { background: linear-gradient(135deg, #6c757d, #94a3b8); }
.qa-icon-users[b-f364aydwh1]   { background: linear-gradient(135deg, #0dcaf0, #38bdf8); }
.qa-icon-access[b-f364aydwh1]  { background: linear-gradient(135deg, #009688, #4db6ac); }

.qa-btn-label[b-f364aydwh1] {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* ============================
   Dashboard — Material Design
   ============================ */

.dash-root[b-f364aydwh1] {
    padding: 1.25rem 0;
}

/* Banners */
.dash-banners[b-f364aydwh1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-banner[b-f364aydwh1] {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.dash-banner-info[b-f364aydwh1] {
    background: #e3f2fd;
    color: #1565c0;
}

.dash-banner-success[b-f364aydwh1] {
    background: #e8f5e9;
    color: #2e7d32;
}

.dash-banner-warning[b-f364aydwh1] {
    background: #fff3e0;
    color: #e65100;
}

.dash-banner-danger[b-f364aydwh1] {
    background: #fbe9e7;
    color: #c62828;
}

/* New Order button */
.dash-btn-new-order[b-f364aydwh1] {
    border-radius: 2rem;
    padding: 0.45rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.dash-btn-new-order:hover[b-f364aydwh1] {
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .dash-btn-new-order[b-f364aydwh1] {
        display: none !important;
    }
}

/* Date filter bar */
.dash-filter-bar[b-f364aydwh1] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.dash-filter-group[b-f364aydwh1] {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.dash-filter-actions[b-f364aydwh1] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.dash-filter-label[b-f364aydwh1] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #90a4ae;
    margin-bottom: 0.2rem;
}

[b-f364aydwh1] .dash-filter-input {
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    background: transparent;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

[b-f364aydwh1] .dash-filter-input:focus {
    border-bottom-color: var(--phos-primary);
    background: transparent;
}

.dash-filter-btn[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: auto;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    white-space: nowrap;
}

/* Lightweight card (nurse/fallback) */
.dash-overview-card[b-f364aydwh1] {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 0.375rem;
    overflow: hidden;
}

.dash-overview-header[b-f364aydwh1] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Orders Overview table — flat, minimal */
.dash-overview-table[b-f364aydwh1] {
    width: 100%;
    border-collapse: collapse;
}

.dash-overview-table thead th[b-f364aydwh1] {
    background: transparent;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #78909c;
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
    border-bottom: 2px solid #e0e0e0;
}

.dash-overview-table thead th i[b-f364aydwh1] {
    color: #90a4ae;
}

.dash-overview-heading[b-f364aydwh1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.dash-overview-heading-label[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dash-overview-arrow[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    color: var(--phos-primary);
    text-decoration: none;
    background: rgba(111, 66, 193, 0.08);
}

.dash-overview-arrow:hover[b-f364aydwh1] {
    color: var(--phos-primary-dark);
    text-decoration: none;
    background: rgba(111, 66, 193, 0.14);
}

.dash-ov-header-link[b-f364aydwh1],
.dash-ov-dept-link[b-f364aydwh1],
.dash-ov-count-link[b-f364aydwh1] {
    color: inherit;
    text-decoration: none;
}

.dash-ov-header-link[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.dash-ov-header-link:hover[b-f364aydwh1],
.dash-ov-dept-link:hover[b-f364aydwh1],
.dash-ov-count-link:hover[b-f364aydwh1] {
    color: var(--phos-primary);
    text-decoration: none;
}

.dash-overview-table tbody td[b-f364aydwh1] {
    padding: 0.55rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #263238;
}

.dash-overview-table tbody tr:last-child td[b-f364aydwh1] {
    border-bottom: none;
}

.dash-overview-table tbody tr:hover[b-f364aydwh1] {
    background-color: rgba(111, 66, 193, 0.02);
}

.dash-ov-dept-col[b-f364aydwh1] {
    min-width: 200px;
}

.dash-ov-dept-cell[b-f364aydwh1] {
    display: flex;
    align-items: center;
}

.dash-ov-dept-link[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dash-ov-dept-link span[b-f364aydwh1] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dash-ov-count[b-f364aydwh1] {
    display: inline-block;
    min-width: 1.75rem;
    text-align: center;
    font-weight: 500;
    color: #90a4ae;
}

.dash-ov-count.dash-ov-active[b-f364aydwh1] {
    color: var(--phos-primary);
    font-weight: 700;
}

.dash-ov-total[b-f364aydwh1] {
    color: #263238;
}

.dash-ov-hcp-row[b-f364aydwh1] {
    background-color: #f3e5f5;
}

.dash-ov-hcp-row:hover[b-f364aydwh1] {
    background-color: #ede0f0 !important;
}

.dash-ov-totals-row[b-f364aydwh1] {
    background: #fafafa;
    border-top: 2px solid #e0e0e0;
}

.dash-ov-totals-row td[b-f364aydwh1] {
    border-bottom: none !important;
}

/* Quick search cards */
.dash-search-card[b-f364aydwh1] {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.dash-search-label[b-f364aydwh1] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #90a4ae;
    margin-bottom: 0.35rem;
    display: block;
}

.dash-search-icon[b-f364aydwh1] {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    color: #90a4ae;
    font-size: 0.8rem;
}

.dash-search-input[b-f364aydwh1] {
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    font-size: 0.85rem;
    transition: border-color 0.2s ease;
}

.dash-search-input:focus[b-f364aydwh1] {
    border-bottom-color: var(--phos-primary);
    background: transparent;
}

/* Hide columns on small screens */
.dash-hide-sm[b-f364aydwh1] {
    /* visible by default; hidden at mobile via media query below */
}

/* ============================
   Clinic User Dashboard (cu-)
   ============================ */

/* Users button */
.cu-btn-users[b-f364aydwh1] {
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
}

/* Clinic selector bar (multi-clinic) */
.cu-clinic-bar[b-f364aydwh1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
}

.cu-selector-label[b-f364aydwh1] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #90a4ae;
    white-space: nowrap;
    margin: 0;
}

.cu-selector[b-f364aydwh1] {
    flex: 1;
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--phos-text);
    padding: 0.2rem 0;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
}

.cu-selector:focus[b-f364aydwh1] {
    border-bottom-color: var(--phos-primary);
}

/* Status tiles */
.cu-stat-tile[b-f364aydwh1] {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
    padding: 0.65rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    border-top: 3px solid transparent;
    transition: box-shadow 0.15s ease;
}

.cu-stat-count[b-f364aydwh1] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--phos-text);
}

.cu-stat-label[b-f364aydwh1] {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #90a4ae;
    text-align: center;
    line-height: 1.2;
}

.cu-stat-submitted[b-f364aydwh1]  { border-top-color: #0d6efd; }
.cu-stat-processing[b-f364aydwh1] { border-top-color: #fd7e14; }
.cu-stat-ready[b-f364aydwh1]      { border-top-color: #0dcaf0; }

.cu-stat-submitted  .cu-stat-count[b-f364aydwh1] { color: #0d6efd; }
.cu-stat-processing .cu-stat-count[b-f364aydwh1] { color: #fd7e14; }
.cu-stat-ready      .cu-stat-count[b-f364aydwh1] { color: #0dcaf0; }

/* Responsive "Ready for Pickup" label */
.cu-ready-desktop[b-f364aydwh1] { display: none; }
.cu-ready-mobile[b-f364aydwh1]  { display: inline; }

@media (min-width: 576px) {
    .cu-ready-desktop[b-f364aydwh1] { display: inline; }
    .cu-ready-mobile[b-f364aydwh1]  { display: none; }
}

/* Orders section header */
.cu-orders-header[b-f364aydwh1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Toggle buttons */
.cu-toggles[b-f364aydwh1] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cu-toggle[b-f364aydwh1] {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 2rem;
    border: 1.5px solid #d0d0d0;
    background: transparent;
    color: #78909c;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cu-toggle:hover[b-f364aydwh1] {
    border-color: var(--phos-primary);
    color: var(--phos-primary);
}

.cu-toggle.cu-toggle-on[b-f364aydwh1] {
    background: #546e7a;
    border-color: #546e7a;
    color: #fff;
}

.cu-toggle.cu-toggle-completed[b-f364aydwh1] {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.cu-toggle.cu-toggle-cancelled[b-f364aydwh1] {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Search bar */
.cu-search-bar[b-f364aydwh1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.5rem;
}

.cu-search-icon[b-f364aydwh1] {
    color: #90a4ae;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.cu-search-input[b-f364aydwh1] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--phos-text);
    outline: none;
    min-width: 0;
}

.cu-search-input[b-f364aydwh1]::placeholder {
    color: #b0bec5;
}

.cu-search-clear[b-f364aydwh1] {
    border: none;
    background: transparent;
    color: #90a4ae;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.75rem;
    line-height: 1;
}

.cu-search-clear:hover[b-f364aydwh1] { color: #546e7a; }

/* Department chips */
.cu-dept-chips[b-f364aydwh1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.cu-dept-chip[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border-radius: 2rem;
    border: 1.5px solid var(--dept-color, #6f42c1);
    background: transparent;
    color: var(--dept-color, #6f42c1);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.cu-dept-chip:hover[b-f364aydwh1] {
    background: var(--dept-color, #6f42c1);
    color: #fff;
}

.cu-dept-chip-name[b-f364aydwh1] {
    display: none;
}

@media (min-width: 576px) {
    .cu-dept-chip-name[b-f364aydwh1] {
        display: inline;
    }
}


/* Draft order action buttons */
.cu-actions-col[b-f364aydwh1] { width: 1%; white-space: nowrap; }
.cu-actions-cell[b-f364aydwh1] { white-space: nowrap; vertical-align: middle; }

.cu-order-actions[b-f364aydwh1] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cu-order-number-link[b-f364aydwh1] {
    text-decoration: none;
    font-weight: 600;
}

.cu-order-number-link:hover[b-f364aydwh1] {
    color: var(--phos-primary, #6f42c1);
    font-weight:900;
}

.cu-order-action-btn[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
    line-height: 1.4;
}

.cu-order-action-continue[b-f364aydwh1] {
    background: transparent;
    border-color: var(--phos-primary, #6f42c1);
    color: var(--phos-primary, #6f42c1);
}
.cu-order-action-continue:hover[b-f364aydwh1] {
    background: var(--phos-primary, #6f42c1);
    color: #fff;
}

.cu-order-action-delete[b-f364aydwh1] {
    background: transparent;
    border-color: #dc3545;
    color: #dc3545;
}
.cu-order-action-delete:hover[b-f364aydwh1] {
    background: #dc3545;
    color: #fff;
}

.cu-delete-confirm[b-f364aydwh1] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.cu-delete-confirm-text[b-f364aydwh1] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #dc3545;
}
.cu-confirm-yes[b-f364aydwh1], .cu-confirm-no[b-f364aydwh1] {
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.15s;
}
.cu-confirm-yes[b-f364aydwh1] {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.cu-confirm-yes:hover[b-f364aydwh1] { background: #bb2d3b; border-color: #bb2d3b; }
.cu-confirm-no[b-f364aydwh1] {
    background: transparent;
    color: #6c757d;
    border-color: #dee2e6;
}
.cu-confirm-no:hover[b-f364aydwh1] { background: #f8f9fa; }

/* Department tag modal overlay */
.cu-dept-overlay[b-f364aydwh1] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    padding: 1rem;
}

.cu-dept-modal[b-f364aydwh1] {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cu-dept-modal-close[b-f364aydwh1] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    color: #90a4ae;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    padding: 0.25rem;
}

.cu-dept-modal-close:hover[b-f364aydwh1] { color: #546e7a; }

.cu-dept-modal-icon[b-f364aydwh1] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.4rem;
    color: #fff;
}

.cu-dept-modal-name[b-f364aydwh1] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--phos-text);
}

.cu-dept-modal-email[b-f364aydwh1] {
    font-size: 0.8rem;
    color: #546e7a;
    margin: 0 0 1rem;
    word-break: break-all;
}

.cu-dept-modal-actions[b-f364aydwh1] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Responsive: on mobile hide submitted/items/pickup columns */
@media (max-width: 575.98px) {
    .dash-hide-sm[b-f364aydwh1] { display: none !important; }

    .cu-stat-label[b-f364aydwh1] { font-size: 0.58rem; }
    .cu-stat-count[b-f364aydwh1] { font-size: 1.25rem; }

    /* Tighten the department name column so count columns get more room */
    .dash-ov-dept-col[b-f364aydwh1] {
        min-width: 0;
        width: 40%;
    }

    .dash-ov-dept-link i.fas[b-f364aydwh1] {
        margin-right: 0.25rem !important; /* override me-2 */
        flex-shrink: 0;
    }

    .qa-sections[b-f364aydwh1] {
        grid-template-columns: 1fr;
    }

    .qa-section[b-f364aydwh1] {
        padding: 0.85rem 0.85rem 0.65rem;
    }

    .qa-grid[b-f364aydwh1] {
        gap: 0.8rem 0.75rem;
    }

    .qa-btn[b-f364aydwh1] {
        width: 72px;
    }

    .qa-btn-icon[b-f364aydwh1] {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .qa-btn-label[b-f364aydwh1] {
        font-size: 0.7rem;
    }

    .dash-filter-bar[b-f364aydwh1] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
        align-items: end;
        column-gap: 0;
        row-gap: 0.2rem;
    }

    .dash-filter-group[b-f364aydwh1] {
        min-width: 0;
    }

    .dash-filter-actions[b-f364aydwh1] {
        display: contents;
    }

    .dash-filter-btn[b-f364aydwh1] {
        min-height: 34px;
        padding: 0.3rem 0.65rem;
        border-radius: 0;
    }

    .dash-filter-btn-label[b-f364aydwh1] {
        display: none;
    }
}

/* /Components/Pages/Home.razor.rz.scp.css */
.phos-landing[b-41qc9eigte] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phos-landing-bg[b-41qc9eigte] {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--phos-primary-dark) 0%, var(--phos-primary) 50%, var(--phos-primary-light) 100%);
    z-index: 0;
}

.phos-landing-bg[b-41qc9eigte]::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 15% 85%, rgba(0,0,0,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 85% 15%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.phos-landing-bg[b-41qc9eigte]::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}

.phos-landing-particles[b-41qc9eigte] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.phos-landing-content[b-41qc9eigte] {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem 1.5rem;
    max-width: 100vw;
    width: 100%;
}

/* ── Brand icon ring ── */
.phos-landing-icon-ring[b-41qc9eigte] {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 40px rgba(255,255,255,0.06);
}

.phos-landing-logo[b-41qc9eigte] {
    max-height: 160px;
    max-width: min(300px, calc(100vw - 3rem));
    object-fit: contain;
    drop-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.phos-landing-logo--small[b-41qc9eigte] {
    max-height: 80px;
    max-width: min(180px, calc(100vw - 3rem));
}

.phos-landing-logo--medium[b-41qc9eigte] {
    max-height: 160px;
    max-width: min(300px, calc(100vw - 3rem));
}

.phos-landing-logo--large[b-41qc9eigte] {
    max-height: 240px;
    max-width: min(420px, calc(100vw - 3rem));
}

.phos-landing-title[b-41qc9eigte] {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
    color: #fff;
}

.phos-landing-divider[b-41qc9eigte] {
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 0.75rem;
}

.phos-landing-subtitle[b-41qc9eigte] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 2rem;
}

.phos-landing-glow-text[b-41qc9eigte] {
    color: #fff;
    text-shadow:
        0 0 1px rgba(255,255,255,0.72),
        0 0 6px color-mix(in srgb, white 28%, var(--phos-primary-light) 72%),
        0 0 14px color-mix(in srgb, white 10%, var(--phos-primary-light) 90%),
        0 3px 12px rgba(0,0,0,0.14);
    animation: phosTextShimmer-b-41qc9eigte 6.2s ease-in-out infinite;
    will-change: text-shadow, filter;
}

.phos-landing-title.phos-landing-glow-text[b-41qc9eigte] {
    text-shadow:
        0 0 1px rgba(255,255,255,0.76),
        0 0 8px color-mix(in srgb, white 24%, var(--phos-primary-light) 76%),
        0 0 18px color-mix(in srgb, white 8%, var(--phos-primary-light) 92%),
        0 4px 14px rgba(0,0,0,0.15);
}

.phos-landing-subtitle.phos-landing-glow-text[b-41qc9eigte] {
    letter-spacing: 0.22em;
    text-shadow:
        0 0 1px rgba(255,255,255,0.68),
        0 0 5px color-mix(in srgb, white 20%, var(--phos-primary-light) 80%),
        0 0 10px color-mix(in srgb, white 8%, var(--phos-primary-light) 92%),
        0 3px 10px rgba(0,0,0,0.12);
}

.phos-landing-desc[b-41qc9eigte] {
    font-size: 1.1rem;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.phos-landing-cta[b-41qc9eigte] {
    color: var(--phos-primary) !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 0 rgba(255,255,255,0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 1.05rem;
}

.phos-landing-cta:hover[b-41qc9eigte] {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 4px rgba(255,255,255,0.15);
    color: var(--phos-primary-dark) !important;
    background: #fff !important;
}

.phos-landing-signin-link[b-41qc9eigte] {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.phos-landing-signin-link:hover[b-41qc9eigte] {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.5);
}

.phos-landing-footer[b-41qc9eigte] {
    margin-top: 3rem;
    opacity: 0.4;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* Request Access CTA button */
.phos-landing-request-btn[b-41qc9eigte] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    letter-spacing: 0.01em;
}

.phos-landing-request-btn:hover[b-41qc9eigte] {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* ── Staggered entrance animations ── */
.phos-anim[b-41qc9eigte] {
    opacity: 0;
    transform: translateY(24px);
    animation: phosSlideUp-b-41qc9eigte 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.phos-anim-1[b-41qc9eigte] { animation-delay: 0.1s; }
.phos-anim-2[b-41qc9eigte] { animation-delay: 0.25s; }
.phos-anim-3[b-41qc9eigte] { animation-delay: 0.4s; }
.phos-anim-4[b-41qc9eigte] { animation-delay: 0.55s; }
.phos-anim-5[b-41qc9eigte] { animation-delay: 0.7s; }
.phos-anim-6[b-41qc9eigte] { animation-delay: 0.9s; }

@keyframes phosSlideUp-b-41qc9eigte {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes phosTextShimmer-b-41qc9eigte {
    0%, 100% {
        filter: brightness(1) saturate(1.04);
        text-shadow:
            -1px 0 2px rgba(255,255,255,0.85),
            0 0 10px color-mix(in srgb, white 38%, var(--phos-primary-light) 62%),
            0 0 22px color-mix(in srgb, white 16%, var(--phos-primary-light) 84%),
            0 4px 18px rgba(0,0,0,0.14);
    }

    35% {
        filter: brightness(1.03) saturate(1.08);
        text-shadow:
            1px 0 2px rgba(255,255,255,0.9),
            10px 0 16px color-mix(in srgb, white 26%, var(--phos-primary-light) 74%),
            0 0 26px color-mix(in srgb, white 12%, var(--phos-primary-light) 88%),
            0 5px 18px rgba(0,0,0,0.15);
    }

    65% {
        filter: brightness(1.04) saturate(1.1);
        text-shadow:
            0 1px 2px rgba(255,255,255,0.88),
            -10px 0 16px color-mix(in srgb, white 24%, var(--phos-primary-light) 76%),
            0 0 24px color-mix(in srgb, white 10%, var(--phos-primary-light) 90%),
            0 5px 18px rgba(0,0,0,0.15);
    }
}

/* ── Hexagon blobs (CSS, no JS) ── */
.phos-hex[b-41qc9eigte] {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--hex-color);
    width: var(--hex-size);
    height: var(--hex-size);
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    animation: phosHexFloat-b-41qc9eigte var(--hex-dur) ease-in-out infinite alternate;
    animation-delay: var(--hex-delay, 0s);
}

@keyframes phosHexFloat-b-41qc9eigte {
    from { transform: translate(0, 0) rotate(0deg); }
    to   { transform: translate(var(--hex-tx), var(--hex-ty)) rotate(var(--hex-rot)); }
}

.phos-hex-1[b-41qc9eigte] { --hex-color:rgba(255,255,255,0.07);  --hex-size:320px; --hex-dur:14s; --hex-delay:   0s; --hex-tx: 18px; --hex-ty: 16px; --hex-rot:  8deg; top:-6%;    left:-5%;   }
.phos-hex-2[b-41qc9eigte] { --hex-color:rgba(0,0,0,0.10);       --hex-size:300px; --hex-dur:17s; --hex-delay:  -5s; --hex-tx:-16px; --hex-ty: 14px; --hex-rot: -7deg; top:-5%;    right:-4%;  }
.phos-hex-3[b-41qc9eigte] { --hex-color:rgba(255,255,255,0.08); --hex-size:270px; --hex-dur:12s; --hex-delay:  -3s; --hex-tx: 14px; --hex-ty:-16px; --hex-rot:  9deg; bottom:-6%; left:4%;    }
.phos-hex-4[b-41qc9eigte] { --hex-color:rgba(0,0,0,0.09);       --hex-size:250px; --hex-dur:15s; --hex-delay:  -8s; --hex-tx:-12px; --hex-ty:-14px; --hex-rot: -6deg; bottom:-5%; right:3%;   }
.phos-hex-5[b-41qc9eigte] { --hex-color:rgba(0,0,0,0.08);       --hex-size:240px; --hex-dur:19s; --hex-delay: -11s; --hex-tx: 16px; --hex-ty:  8px; --hex-rot: 10deg; top:38%;    left:-7%;   }
.phos-hex-6[b-41qc9eigte] { --hex-color:rgba(255,255,255,0.06); --hex-size:250px; --hex-dur:16s; --hex-delay:  -6s; --hex-tx:-14px; --hex-ty: 10px; --hex-rot: -8deg; top:44%;    right:-6%;  }
.phos-hex-7[b-41qc9eigte] { --hex-color:rgba(255,255,255,0.05); --hex-size:200px; --hex-dur:21s; --hex-delay:  -9s; --hex-tx: 10px; --hex-ty: 18px; --hex-rot:  5deg; top:-5%;    left:30%;   }
.phos-hex-8[b-41qc9eigte] { --hex-color:rgba(255,255,255,0.06); --hex-size:210px; --hex-dur:18s; --hex-delay: -13s; --hex-tx:  8px; --hex-ty:-16px; --hex-rot: -6deg; bottom:-5%; left:43%;   }

@media (max-width: 767.98px) {
    .phos-hex-7[b-41qc9eigte],
    .phos-hex-8[b-41qc9eigte] {
        display: none;
    }

    .phos-hex-1[b-41qc9eigte] { --hex-size: min(44vw, 210px); top: -4%; left: -10%; }
    .phos-hex-2[b-41qc9eigte] { --hex-size: min(40vw, 190px); top: -3%; right: -10%; }
    .phos-hex-3[b-41qc9eigte] { --hex-size: min(38vw, 176px); bottom: 10%; left: -6%; }
    .phos-hex-4[b-41qc9eigte] { --hex-size: min(36vw, 168px); bottom: 8%; right: -4%; }
    .phos-hex-5[b-41qc9eigte] { --hex-size: min(34vw, 156px); top: 30%; left: -9%; }
    .phos-hex-6[b-41qc9eigte] { --hex-size: min(35vw, 162px); top: 36%; right: -8%; }
}

/* =========================================================
   Access Request Modal
   ========================================================= */
.ar-modal-backdrop[b-41qc9eigte] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1rem;
    animation: arFadeIn-b-41qc9eigte 0.2s ease both;
    overflow-y: auto;
}

@keyframes arFadeIn-b-41qc9eigte {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ar-modal[b-41qc9eigte] {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    padding: 2rem 2rem 1.75rem;
    width: 100%;
    max-width: 560px;
    animation: arSlideUp-b-41qc9eigte 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes arSlideUp-b-41qc9eigte {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ar-modal-close[b-41qc9eigte] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #6c757d;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.ar-modal-close:hover[b-41qc9eigte] {
    background: rgba(0, 0, 0, 0.12);
    color: #212529;
}

/* ── Modal header ── */
.ar-modal-header[b-41qc9eigte] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.ar-modal-header-icon[b-41qc9eigte] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--phos-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ── Title (rendered before the form) ── */
.ar-modal-title[b-41qc9eigte] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.ar-modal-subtitle[b-41qc9eigte] {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* ── Form layout ── */.ar-form-row[b-41qc9eigte] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
    .ar-form-row[b-41qc9eigte] {
        grid-template-columns: 1fr;
    }
}

.ar-field[b-41qc9eigte] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ar-field-full[b-41qc9eigte] {
    grid-column: 1 / -1;
}

/* ── Error banner ── */
.ar-error[b-41qc9eigte] {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 0.6rem 0.875rem;
    font-size: 0.875rem;
    color: #664d03;
    margin-bottom: 1rem;
}

/* ── Actions row ── */
.ar-actions[b-41qc9eigte] {
    margin-top: 1.25rem;
}

.ar-btn-submit[b-41qc9eigte] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: var(--phos-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.ar-btn-submit:hover[b-41qc9eigte] {
    background: var(--phos-primary-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.ar-btn-submit:active[b-41qc9eigte] {
    transform: scale(0.98);
}

.ar-btn-submit:disabled[b-41qc9eigte] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ── Success state ── */
.ar-success[b-41qc9eigte] {
    padding: 1rem 0;
    text-align: center;
}

.ar-success-icon[b-41qc9eigte] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.ar-success-title[b-41qc9eigte] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 0.5rem;
}

.ar-success-msg[b-41qc9eigte] {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.ar-btn-close-success[b-41qc9eigte] {
    padding: 0.6rem 2rem;
    background: var(--phos-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.ar-btn-close-success:hover[b-41qc9eigte] {
    background: var(--phos-primary-dark);
}
/* /Components/Pages/NotFoundPage.razor.rz.scp.css */
.nf-page[b-jvlp47wv5m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem 4rem;
    min-height: 60vh;
    animation: nfEnter-b-jvlp47wv5m 0.5s ease both;
}

@keyframes nfEnter-b-jvlp47wv5m {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Big 404 number ---- */
.nf-number[b-jvlp47wv5m] {
    display: flex;
    align-items: flex-end;
    gap: 0.1em;
    line-height: 1;
    margin-bottom: 1.75rem;
}

.nf-digit[b-jvlp47wv5m] {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--phos-primary), var(--phos-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: default;
    user-select: none;
    transition: transform 0.2s cubic-bezier(.34,1.56,.64,1);
    display: inline-block;
}

.nf-digit:hover[b-jvlp47wv5m] {
    transform: scale(1.2) rotate(-6deg);
}

/* ---- The zero hosts the floating ghost ---- */
.nf-zero[b-jvlp47wv5m] {
    position: relative;
}

.nf-ghost[b-jvlp47wv5m] {
    position: absolute;
    top: -0.85em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.42em;
    color: var(--phos-primary-light);
    -webkit-text-fill-color: var(--phos-primary-light);
    animation: ghostFloat-b-jvlp47wv5m 2.8s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(111,66,193,0.35));
}

@keyframes ghostFloat-b-jvlp47wv5m {
    0%,  100% { transform: translateX(-50%) translateY(0)    rotate(0deg);    }
    33%        { transform: translateX(-50%) translateY(-10px) rotate(-4deg); }
    66%        { transform: translateX(-50%) translateY(-6px)  rotate(4deg);  }
}

/* ---- Text ---- */
.nf-title[b-jvlp47wv5m] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 0.6rem;
}

.nf-body[b-jvlp47wv5m] {
    color: #6c757d;
    max-width: 440px;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ---- Actions ---- */
.nf-actions[b-jvlp47wv5m] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
/* /Components/Pages/Orders/OrderAttachmentsModal.razor.rz.scp.css */
/* ── Backdrop & Modal Shell ── */

.att-backdrop[b-tjzdq800bx] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1050;
    animation: attFadeIn-b-tjzdq800bx .2s ease;
}

.att-modal[b-tjzdq800bx] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1051;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    animation: attSlideUp-b-tjzdq800bx .25s ease;
    overflow: hidden;
}

@keyframes attFadeIn-b-tjzdq800bx {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes attSlideUp-b-tjzdq800bx {
    from { opacity: 0; transform: translate(-50%, -46%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ── Header ── */

.att-header[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.att-header h2[b-tjzdq800bx] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--phos-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.att-header h2 i[b-tjzdq800bx] {
    color: var(--phos-primary);
    font-size: .9rem;
}

.att-count-badge[b-tjzdq800bx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e8eeff;
    color: var(--phos-primary);
    font-size: .7rem;
    font-weight: 600;
}

.att-close-btn[b-tjzdq800bx] {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all .15s;
}

.att-close-btn:hover[b-tjzdq800bx] {
    color: var(--phos-text);
    background: #f5f5f5;
}

/* ── Body (scrollable — files list only) ── */

.att-body[b-tjzdq800bx] {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

/* ── Footer ── */

.att-footer[b-tjzdq800bx] {
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
}

.att-cancel-btn[b-tjzdq800bx] {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    border-radius: 6px;
    padding: 7px 20px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s;
}

.att-cancel-btn:hover[b-tjzdq800bx] { background: #f5f5f5; }

/* ── Upload Section (pinned, non-scrollable) ── */

.att-upload-section[b-tjzdq800bx] {
    flex-shrink: 0;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.att-section-title[b-tjzdq800bx] {
    margin: 0 0 12px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.att-section-title i[b-tjzdq800bx] {
    font-size: .75rem;
}

.att-section-count[b-tjzdq800bx] {
    font-weight: 400;
    color: #adb5bd;
}

.att-upload-form[b-tjzdq800bx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.att-file-select-row[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.att-select[b-tjzdq800bx],
.att-text-input[b-tjzdq800bx] {
    background: transparent;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    color: var(--phos-text);
    font-size: .85rem;
    padding: 5px 0;
    transition: border-color .15s;
}

.att-select[b-tjzdq800bx] {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.att-text-input[b-tjzdq800bx] {
    width: 100%;
}

.att-select:focus[b-tjzdq800bx],
.att-text-input:focus[b-tjzdq800bx] {
    outline: none;
    border-bottom-color: var(--phos-primary);
}

/* Hidden native file input; label acts as the trigger */
.att-file-input-hidden[b-tjzdq800bx] {
    display: none;
}

/* Custom file chooser button */
.att-file-trigger-btn[b-tjzdq800bx] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f4ff;
    color: var(--phos-primary);
    border: 1px solid #d0deff;
    border-radius: 6px;
    padding: 5px 13px;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    user-select: none;
}

.att-file-trigger-btn:hover[b-tjzdq800bx] {
    background: #e0eaff;
}

/* Selected filename display */
.att-chosen-file[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: #495057;
    padding: 2px 0;
}

.att-chosen-file > i[b-tjzdq800bx] {
    color: var(--phos-primary);
    flex-shrink: 0;
}

.att-chosen-name[b-tjzdq800bx] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-file-size[b-tjzdq800bx] {
    color: #adb5bd;
    white-space: nowrap;
    flex-shrink: 0;
}

.att-error[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: .8rem;
}

.att-upload-btn[b-tjzdq800bx] {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--phos-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s;
}

.att-upload-btn:hover:not(:disabled)[b-tjzdq800bx] {
    opacity: .9;
}

.att-upload-btn:disabled[b-tjzdq800bx] {
    opacity: .4;
    cursor: not-allowed;
}

/* ── List Section ── */

.att-list-section[b-tjzdq800bx] {
    padding-top: 14px;
    padding-bottom: 16px;
}

.att-empty[b-tjzdq800bx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px;
    color: #adb5bd;
}

.att-empty i[b-tjzdq800bx] {
    font-size: 2rem;
}

.att-empty p[b-tjzdq800bx] {
    margin: 0;
    font-size: .85rem;
}

/* ── Attachment Row ── */

.att-list[b-tjzdq800bx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.att-row[b-tjzdq800bx] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all .15s;
}

.att-row:hover[b-tjzdq800bx] {
    background: #f8f9fa;
    border-color: #f0f0f0;
}

.att-row-icon[b-tjzdq800bx] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f0f4ff;
    color: var(--phos-primary);
    font-size: .9rem;
    margin-top: 2px;
}

.att-row-main[b-tjzdq800bx] {
    flex: 1;
    min-width: 0;
}

.att-filename[b-tjzdq800bx] {
    background: none;
    border: none;
    padding: 0;
    color: var(--phos-primary);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    word-break: break-word;
    transition: color .15s;
}

.att-filename:hover[b-tjzdq800bx] {
    text-decoration: underline;
}

.att-row-meta[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.att-type-badge[b-tjzdq800bx] {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 4px;
    background: #e8eeff;
    color: var(--phos-primary);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .02em;
}

.att-meta-dot[b-tjzdq800bx] {
    color: #dee2e6;
    font-size: .7rem;
}

.att-meta-text[b-tjzdq800bx] {
    font-size: .72rem;
    color: #adb5bd;
}

.att-description[b-tjzdq800bx] {
    margin: 4px 0 0;
    font-size: .78rem;
    color: #6c757d;
    line-height: 1.35;
}

/* ── Delete / Confirm ── */

.att-delete-btn[b-tjzdq800bx] {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    color: #adb5bd;
    font-size: .8rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s;
    margin-top: 2px;
}

.att-delete-btn:hover[b-tjzdq800bx] {
    color: #dc3545;
    background: #fff5f5;
    border-color: #fecaca;
}

.att-delete-confirm[b-tjzdq800bx] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 2px;
}

.att-delete-confirm-label[b-tjzdq800bx] {
    font-size: .75rem;
    color: #dc3545;
    white-space: nowrap;
}

.att-confirm-yes[b-tjzdq800bx],
.att-confirm-no[b-tjzdq800bx] {
    border-radius: 5px;
    padding: 3px 10px;
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid;
    transition: all .15s;
}

.att-confirm-yes[b-tjzdq800bx] {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.att-confirm-yes:hover[b-tjzdq800bx] {
    background: #b02a37;
}

.att-confirm-no[b-tjzdq800bx] {
    background: #fff;
    color: #6c757d;
    border-color: #dee2e6;
}

.att-confirm-no:hover[b-tjzdq800bx] {
    background: #f5f5f5;
}

/* ── Mobile fullscreen ── */

@media (max-width: 600px) {
    .att-modal[b-tjzdq800bx] {
        width: 100vw;
        max-height: 100dvh;
        height: 100dvh;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        animation: attSlideUpMobile-b-tjzdq800bx .25s ease;
    }

    @keyframes attSlideUpMobile-b-tjzdq800bx {
        from { opacity: 0; transform: translateY(24px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .att-header[b-tjzdq800bx] { padding: 14px 16px; }
    .att-upload-section[b-tjzdq800bx] { padding: 12px 16px; }
    .att-body[b-tjzdq800bx] { padding: 0 16px; }
    .att-footer[b-tjzdq800bx] { padding: 10px 16px; }
    .att-cancel-btn[b-tjzdq800bx] { width: 100%; text-align: center; justify-content: center; }
}

/* /Components/Pages/Orders/OrderCatalogModal.razor.rz.scp.css */
/* ── Catalog Modal ── */

.catalog-backdrop[b-tju3oszz4k] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: catalogFadeIn-b-tju3oszz4k 0.2s ease;
}

.catalog-modal[b-tju3oszz4k] {
    width: 640px;
    max-width: 95vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    animation: catalogScaleIn-b-tju3oszz4k 0.2s ease;
    overflow: hidden;
}

/* ── Header ── */
.catalog-topbar[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem 0.5rem;
    flex-shrink: 0;
}

.catalog-topbar-info[b-tju3oszz4k] {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
}

.catalog-topbar-title[b-tju3oszz4k] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
}

.catalog-topbar-count[b-tju3oszz4k] {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.catalog-close-btn[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    color: #6c757d;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.catalog-close-btn:hover[b-tju3oszz4k] {
    background: #f1f3f5;
    color: #343a40;
}

/* ── Loading ── */
.catalog-loading[b-tju3oszz4k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    color: #adb5bd;
    font-size: 0.875rem;
}

.catalog-loading i[b-tju3oszz4k] {
    font-size: 1.5rem;
}

/* ── Search ── */
.catalog-search[b-tju3oszz4k] {
    position: relative;
    padding: 0.75rem 1.25rem;
    flex-shrink: 0;
}

.catalog-search input[b-tju3oszz4k] {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8125rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--phos-text);
    transition: border-color 0.15s;
}

.catalog-search input:focus[b-tju3oszz4k] {
    border-color: var(--phos-primary);
}

.catalog-search-icon[b-tju3oszz4k] {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #adb5bd;
    pointer-events: none;
}

.catalog-search-clear[b-tju3oszz4k] {
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.25rem;
}

.catalog-search-clear:hover[b-tju3oszz4k] {
    color: #6c757d;
}

/* ── Department Filters ── */
.catalog-dept-filters[b-tju3oszz4k] {
    display: flex;
    gap: 0.375rem;
    padding: 0 1.25rem 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.dept-filter-badge[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--dept-color, #6c757d);
    background: transparent;
    border: 1px solid var(--dept-color, #6c757d);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    opacity: 0.7;
}

.dept-filter-badge:hover[b-tju3oszz4k] {
    opacity: 1;
}

.dept-filter-badge.active[b-tju3oszz4k] {
    background: var(--dept-color, #6c757d);
    color: #fff;
    opacity: 1;
}

/* ── Error ── */
.catalog-error[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    color: #dc3545;
    background: #fff5f5;
    flex-shrink: 0;
}

/* ── Content ── */
.catalog-content[b-tju3oszz4k] {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.25rem;
    min-height: 0;
}

/* ── Quick Add Section ── */
.catalog-section[b-tju3oszz4k] {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.catalog-section-title[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #adb5bd;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.quick-add-row[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.375rem 0;
}

.quick-add-qty-wrap[b-tju3oszz4k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.quick-add-info[b-tju3oszz4k] {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    min-width: 0;
    flex: 1;
}

.quick-add-name[b-tju3oszz4k] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-add-code[b-tju3oszz4k] {
    font-size: 0.6875rem;
    color: #adb5bd;
}

.quick-add-btn[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--phos-primary, #4361ee);
    background: none;
    border: 1px solid var(--phos-primary, #4361ee);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.quick-add-btn:hover[b-tju3oszz4k] {
    background: var(--phos-primary, #4361ee);
    color: #fff;
}

.quick-add-added[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #198754;
    flex-shrink: 0;
}

/* ── Categories ── */
.catalog-category[b-tju3oszz4k] {
    margin-bottom: 0.25rem;
}

.catalog-category-header[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid #f1f3f5;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
}

.catalog-category-header:hover[b-tju3oszz4k] {
    background: #f8f9fa;
}

.cat-chevron[b-tju3oszz4k] {
    font-size: 0.625rem;
    color: #adb5bd;
    width: 0.75rem;
    flex-shrink: 0;
}

.cat-name[b-tju3oszz4k] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1a2e;
}

.cat-badge[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cat-badge-batch[b-tju3oszz4k] {
    background: #e8f5e9;
    color: #2e7d32;
}

.cat-badge-restricted[b-tju3oszz4k] {
    background: #fff3e0;
    color: #e65100;
    padding: 0.125rem 0.375rem;
}

.cat-counts[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.cat-in-order-count[b-tju3oszz4k] {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--phos-primary, #4361ee);
}

.cat-total-count[b-tju3oszz4k] {
    font-size: 0.625rem;
    color: #adb5bd;
}

/* ── Category Items ── */
.catalog-items[b-tju3oszz4k] {
    padding: 0.25rem 0 0.5rem 1.25rem;
}

.catalog-item[b-tju3oszz4k] {
    border-bottom: 1px solid #f8f9fa;
}

.catalog-item-active[b-tju3oszz4k] {
    background: #f0f4ff;
    border-radius: 6px;
    margin: 0.125rem 0;
}

.catalog-item-row[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem;
}

.catalog-item-info[b-tju3oszz4k] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
}

.catalog-item-name[b-tju3oszz4k] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a2e;
}

.catalog-item-code[b-tju3oszz4k] {
    font-size: 0.6875rem;
    color: #6c757d;
}

.catalog-item-patient-tag[b-tju3oszz4k] {
    font-size: 0.5625rem;
    font-weight: 600;
    color: #6f42c1;
    background: #f3f0ff;
    padding: 0.0625rem 0.375rem;
    border-radius: 8px;
}

.catalog-item-qty-wrap[b-tju3oszz4k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.catalog-item-qty-wrap label[b-tju3oszz4k] {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #adb5bd;
    font-weight: 600;
    margin-bottom: 0.0625rem;
}

.catalog-item-qty-input[b-tju3oszz4k] {
    width: 3.5rem;
    padding: 0.25rem 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}

.catalog-item-qty-input[b-tju3oszz4k]::-webkit-outer-spin-button,
.catalog-item-qty-input[b-tju3oszz4k]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.catalog-item-qty-input:focus[b-tju3oszz4k] {
    border-color: var(--phos-primary, #4361ee);
}

.catalog-item-qty-input.is-invalid[b-tju3oszz4k] {
    border-color: #dc3545;
    color: #dc3545;
}

.catalog-qty-feedback[b-tju3oszz4k] {
    display: block !important;
    font-size: 0.65rem;
    text-align: center;
    color: #dc3545;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.catalog-desc-toggle[b-tju3oszz4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
    color: #adb5bd;
    background: none;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.catalog-desc-toggle:hover[b-tju3oszz4k] {
    background: #f1f3f5;
    color: #495057;
}

.catalog-desc-toggle.expanded[b-tju3oszz4k] {
    background: var(--phos-primary, #4361ee);
    color: #fff;
    border-color: var(--phos-primary, #4361ee);
}

/* ── Item Description ── */
.catalog-item-description[b-tju3oszz4k] {
    padding: 0.625rem 0.75rem;
    margin: 0 0.5rem 0.375rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #495057;
    background: #f8f9fa;
    border-radius: 8px;
    word-break: break-word;
    border-left: 3px solid var(--phos-primary, #4361ee);
}

/* ── Empty State ── */
.catalog-empty[b-tju3oszz4k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #adb5bd;
    text-align: center;
}

.catalog-empty i[b-tju3oszz4k] {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.catalog-empty p[b-tju3oszz4k] {
    font-size: 0.8125rem;
    margin: 0;
}

/* ── Actions ── */
.catalog-actions[b-tju3oszz4k] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem 1rem;
    flex-shrink: 0;
}

/* ── Animations ── */
@keyframes catalogFadeIn-b-tju3oszz4k {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes catalogScaleIn-b-tju3oszz4k {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Mobile: full-screen ── */
@media (max-width: 767.98px) {
    .catalog-modal[b-tju3oszz4k] {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .catalog-content[b-tju3oszz4k] {
        padding: 0 1rem;
    }

    .catalog-topbar[b-tju3oszz4k],
    .catalog-actions[b-tju3oszz4k] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .catalog-topbar[b-tju3oszz4k] {
        padding-top: calc(1.5rem + env(safe-area-inset-top));
    }

    .catalog-search[b-tju3oszz4k] {
        padding: 0.5rem 1rem;
    }

    .catalog-dept-filters[b-tju3oszz4k] {
        padding: 0 1rem 0.5rem;
    }

    .catalog-items[b-tju3oszz4k] {
        padding-left: 0.75rem;
    }

    .quick-add-btn-text[b-tju3oszz4k],
    .quick-add-added-text[b-tju3oszz4k] {
        display: none;
    }

    .catalog-actions[b-tju3oszz4k] {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}
/* /Components/Pages/Orders/OrderEditor.razor.rz.scp.css */
/* ── Order Editor Page ── */
.order-page[b-8w35wughcn] {
    padding: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

/* ── Back link ── */
.order-back-link[b-8w35wughcn] {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-back-link a[b-8w35wughcn] {
    color: var(--phos-text-muted, #6c757d);
    text-decoration: none;
}

.order-back-link a:hover[b-8w35wughcn] {
    color: var(--phos-primary, #6f42c1);
    text-decoration: underline;
}

/* Mobile-only chip group that sits beside the back link */
.order-back-actions[b-8w35wughcn] {
    display: none;
    align-items: center;
    gap: 0.375rem;
}

/* ── Error state ── */
.order-error[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    padding: 2rem;
}

.order-error-icon[b-8w35wughcn] {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.order-error-message[b-8w35wughcn] {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

/* ── Starter Modal ── */
.starter-backdrop[b-8w35wughcn] {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: starterFadeIn-b-8w35wughcn 0.25s ease both;
}

.starter-modal[b-8w35wughcn] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.starter-card[b-8w35wughcn] {
    pointer-events: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    width: 90vw;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: starterScaleIn-b-8w35wughcn 0.3s ease both;
}

.starter-header[b-8w35wughcn] {
    padding: 1.75rem 1.5rem 0.5rem;
}

.starter-title[b-8w35wughcn] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.starter-subtitle[b-8w35wughcn] {
    font-size: 0.8125rem;
    color: #6c757d;
    margin: 0.25rem 0 0;
}

.starter-body[b-8w35wughcn] {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.starter-field[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.starter-label[b-8w35wughcn] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--phos-text-muted, #6c757d);
    margin-bottom: 0;
}

.starter-select[b-8w35wughcn],
[b-8w35wughcn] .starter-input {
    width: 100%;
    padding: 6px 9px;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: var(--phos-text);
    transition: border-color .15s;
    appearance: none;
    -webkit-appearance: none;
}

.starter-select[b-8w35wughcn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    padding-right: 1.75rem;
}

.starter-select:focus[b-8w35wughcn],
[b-8w35wughcn] .starter-input:focus {
    outline: none;
    border-color: var(--phos-primary);
}

/* ── Org Typeahead ── */
.starter-ta[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
}

.starter-ta-box[b-8w35wughcn] {
    position: relative;
}

.starter-ta-icon[b-8w35wughcn] {
    position: absolute;
    left: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.75rem;
    pointer-events: none;
}

.starter-ta-input[b-8w35wughcn] {
    width: 100%;
    padding: 6px 9px 6px 1.75rem;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: var(--phos-text);
    transition: border-color .15s;
    box-sizing: border-box;
}

.starter-ta-input:focus[b-8w35wughcn] {
    outline: none;
    border-color: var(--phos-primary);
}

.starter-ta-list[b-8w35wughcn] {
    list-style: none;
    margin: 3px 0 0;
    padding: 4px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    max-height: 200px;
    overflow-y: auto;
}

.starter-ta-item[b-8w35wughcn] {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    color: #1a1a2e;
    cursor: pointer;
    transition: background 0.1s;
}

.starter-ta-item:hover[b-8w35wughcn],
.starter-ta-item-active[b-8w35wughcn] {
    background: #f0f4ff;
    color: var(--phos-primary, #4361ee);
}

.starter-ta-empty[b-8w35wughcn] {
    padding: 0.5rem 0.875rem;
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
}

/* ── Pickup Schedule Table ── */
.schedule-table[b-8w35wughcn] {
    width: 100%;
    font-size: 0.8125rem;
    border-collapse: collapse;
}

.schedule-table th[b-8w35wughcn] {
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.6875rem;
    padding: 0.375rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.schedule-table td[b-8w35wughcn] {
    padding: 0.375rem 0.5rem;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
}

.schedule-day-unavailable[b-8w35wughcn] {
    color: #adb5bd;
    font-style: italic;
}

/* ── Begin Order Button ── */
.starter-footer[b-8w35wughcn] {
    padding: 0 1.5rem 1.5rem;
}

.starter-btn-begin[b-8w35wughcn] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--phos-primary, #4361ee);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s, transform 0.1s;
}

.starter-btn-begin:hover:not(:disabled)[b-8w35wughcn] {
    background: var(--phos-primary-hover, #3a56d4);
    transform: translateY(-1px);
}

.starter-btn-begin:disabled[b-8w35wughcn] {
    opacity: 0.45;
    cursor: not-allowed;
}

.starter-btn-cancel[b-8w35wughcn] {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.4rem;
    background: none;
    border: none;
    font-size: 0.875rem;
    color: var(--phos-text-muted, #6c757d);
    cursor: pointer;
    text-align: center;
    transition: color 0.15s;
}

.starter-btn-cancel:hover[b-8w35wughcn] {
    color: var(--phos-text, #212529);
}

/* ── Order Workspace Header ── */
.order-header[b-8w35wughcn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.order-header-left[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    position: relative;
    flex: 1;
    min-width: 0;
}

.order-header-top[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.order-header-top-left[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.order-header-top-right[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.order-number[b-8w35wughcn] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.order-clinic[b-8w35wughcn] {
    font-size: 0.8125rem;
    color: #6c757d;
    margin: 0;
    padding-left: calc(1.25rem + 0.5rem); /* align with contact name: icon width + gap */
}

.order-contact-line[b-8w35wughcn] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.1rem 0 0;
}

.order-contact-icon[b-8w35wughcn] {
    font-size: 1.1rem;
    color: #6c757d;
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    margin-top: 0.1rem;
}

.order-contact-info[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.order-contact-name[b-8w35wughcn] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color);
}

.order-contact-email[b-8w35wughcn] {
    font-size: 0.75rem;
    color: #adb5bd;
}

.order-contact-editable[b-8w35wughcn] {
    cursor: pointer;
    border-radius: 6px;
    padding: 0.15rem 0.25rem;
    margin: -0.15rem -0.25rem;
    transition: background 0.15s;
}

.order-contact-editable:hover[b-8w35wughcn] {
    background: #f0f4ff;
}

.order-contact-chevron[b-8w35wughcn] {
    font-size: 0.6rem;
    color: #adb5bd;
    margin-left: 0.25rem;
    transition: transform 0.15s;
}

.order-contact-chevron.open[b-8w35wughcn] {
    transform: rotate(180deg);
}

.contact-picker-backdrop[b-8w35wughcn] {
    position: fixed;
    inset: 0;
    z-index: 1039;
}

.order-contact-picker[b-8w35wughcn] {
    position: absolute;
    z-index: 1040;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 220px;
    max-width: 300px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.order-contact-option[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0.875rem;
    cursor: pointer;
    transition: background 0.12s;
}

.order-contact-option:hover[b-8w35wughcn] {
    background: #f8f9fa;
}

.order-contact-option.active[b-8w35wughcn] {
    background: #eef1ff;
}

.order-contact-option-name[b-8w35wughcn] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #212529;
}

.order-contact-option-email[b-8w35wughcn] {
    font-size: 0.72rem;
    color: #adb5bd;
}

.order-header-actions[b-8w35wughcn] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.order-action-chip[b-8w35wughcn] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.order-action-chip:hover[b-8w35wughcn] {
    background: #e9ecef;
    border-color: #dee2e6;
}

.order-chip-danger[b-8w35wughcn] {
    color: #dc3545;
    border-color: #f5c6cb;
}

.order-chip-danger:hover[b-8w35wughcn] {
    background: #f8d7da;
    border-color: #dc3545;
}

.order-chip-editable[b-8w35wughcn] {
    cursor: pointer;
}

.order-chip-meta-label[b-8w35wughcn] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #adb5bd;
    line-height: 1;
}

.order-chip-labeled[b-8w35wughcn] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.order-chip-value[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.order-chip-chevron[b-8w35wughcn] {
    font-size: 0.6rem;
    color: #adb5bd;
}

.order-action-badge[b-8w35wughcn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--phos-primary, #4361ee);
    color: #fff;
    border-radius: 10px;
}

/* ── Status Badge ── */
.order-status-badge[b-8w35wughcn] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 12px;
    line-height: 1.3;
}

.order-status-date[b-8w35wughcn] {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.75;
}

.order-status-draft[b-8w35wughcn] {
    background: #e9ecef;
    color: #495057;
}

.order-status-submitted[b-8w35wughcn] {
    background: #e8f4fd;
    color: #0d6efd;
}

.order-status-approved[b-8w35wughcn] {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status-packed[b-8w35wughcn] {
    background: #fff3cd;
    color: #856404;
}

.order-status-complete[b-8w35wughcn] {
    background: #d4edda;
    color: #155724;
}

.order-status-cancelled[b-8w35wughcn] {
    background: #f8d7da;
    color: #721c24;
}

/* ── Workspace placeholder (phases 2+) ── */
.order-workspace[b-8w35wughcn] {
    min-height: 30vh;
}

/* ── Order Action Buttons ── */
.order-action-btns[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 0.5rem;
    border-top: 1px solid #e9ecef;
}

/* ── Tab Bar ── */
.order-tabs[b-8w35wughcn] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1rem;
}

.order-tab[b-8w35wughcn] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6c757d;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.order-tab:hover[b-8w35wughcn] {
    color: #495057;
}

.order-tab.active[b-8w35wughcn] {
    color: var(--phos-primary, #4361ee);
    border-bottom-color: var(--phos-primary, #4361ee);
}

.order-tab-count[b-8w35wughcn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    background: #e9ecef;
    color: #495057;
    border-radius: 10px;
}

.order-tab-count-danger[b-8w35wughcn] {
    background: #dc3545;
    color: #fff;
}

/* ── Items Toolbar ── */
.items-toolbar[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.items-dept-select[b-8w35wughcn] {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.items-dept-select:focus[b-8w35wughcn] {
    border-color: #5c6bc0;
    box-shadow: 0 0 0 2px rgba(92, 107, 192, 0.15);
}

/* ── Department Groups ── */
.dept-group[b-8w35wughcn] {
    margin-bottom: 1.25rem;
}

.dept-group-header[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

.dept-group-icon[b-8w35wughcn] {
    font-size: 0.875rem;
}

.dept-group-name[b-8w35wughcn] {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
}

.dept-group-count[b-8w35wughcn] {
    font-size: 0.6875rem;
    color: #adb5bd;
    margin-left: auto;
}

.dept-approval-btn[b-8w35wughcn] {
    margin-left: 0.5rem;
    padding: 0.125rem 0.625rem;
    font-size: 0.6875rem;
    border: 1px solid #3949ab;
    border-radius: 12px;
    background: transparent;
    color: #3949ab;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dept-approval-btn:hover:not(:disabled)[b-8w35wughcn] {
    background: #3949ab;
    color: #fff;
}

.dept-approval-btn:disabled[b-8w35wughcn] {
    opacity: 0.5;
    cursor: default;
}

.dept-approval-done[b-8w35wughcn] {
    margin-left: 0.5rem;
    font-size: 0.6875rem;
    color: #2e7d32;
    white-space: nowrap;
}

.dept-pickup-label[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: opacity 0.15s;
}

    .dept-pickup-label.is-done[b-8w35wughcn] {
        text-decoration: line-through;
        color: #198754;
        opacity: 0.7;
    }

.dept-pickup-check[b-8w35wughcn] {
    accent-color: var(--phos-primary, #0d6efd);
    flex-shrink: 0;
}

.dept-unapprove-btn[b-8w35wughcn] {
    margin-left: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.6875rem;
    border: 1px solid #fd7e14;
    border-radius: 12px;
    background: transparent;
    color: #fd7e14;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.dept-unapprove-btn:hover:not(:disabled)[b-8w35wughcn] {
    background: #fd7e14;
    color: #fff;
}

.dept-unapprove-btn:disabled[b-8w35wughcn] {
    opacity: 0.5;
    cursor: default;
}

/* ── Item Rows ── */
.order-item-row[b-8w35wughcn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.5rem;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.1s;
}

/* Panorama log bar — full-width row above the item content */
.order-panorama-row[b-8w35wughcn] {
    flex: 1 1 100%;
    order: -1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6c757d;
    padding: 0.2rem 0.1rem 0.35rem;
    border-bottom: 1px dashed #dee2e6;
    margin-bottom: 0.1rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: color 0.15s, background 0.15s;
    user-select: none;
}

.order-panorama-row:hover[b-8w35wughcn] {
    background: rgba(25,135,84,.06);
    color: #198754;
}

.order-panorama-row-done[b-8w35wughcn] {
    color: #198754;
    border-bottom-color: rgba(25,135,84,.3);
    border-bottom-style: solid;
}

.order-item-row:hover[b-8w35wughcn] {
    background: #f8f9fa;
}

.order-item-row-invalid[b-8w35wughcn] {
    background: #fff8f8;
}

.order-item-validity[b-8w35wughcn] {
    flex-shrink: 0;
    font-size: 0.875rem;
    width: 1.25rem;
    text-align: center;
}

.order-item-info[b-8w35wughcn] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.order-item-name[b-8w35wughcn] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-code[b-8w35wughcn] {
    font-size: 0.75rem;
    color: #6c757d;
}

.order-item-batch-badge[b-8w35wughcn] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0f6cbf;
    background: #e8f1fb;
    border: 1px solid #b6d4f5;
    border-radius: 4px;
    padding: 1px 6px;
    margin-top: 2px;
    letter-spacing: 0.01em;
}

.order-item-qty[b-8w35wughcn] {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.order-item-qty-field[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3rem;
}

.order-item-qty-field label[b-8w35wughcn] {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #adb5bd;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.order-item-qty-value[b-8w35wughcn] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
}

.order-item-actions[b-8w35wughcn] {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.order-item-action-btn[b-8w35wughcn] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
    color: #6c757d;
    background: none;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.order-item-delete-btn[b-8w35wughcn] {
    color: #dc3545;
    border-color: rgba(220,53,69,.25);
}

.order-item-delete-btn:hover[b-8w35wughcn] {
    background: rgba(220,53,69,.07);
}

/* Inline qty input */
.order-qty-inline[b-8w35wughcn] {
    width: 4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--phos-text);
    border:none;
    border-bottom: 1px solid #dee2e6;
    background: transparent;
    padding: 4px 6px;
    text-align: center;
    transition: border-color .15s;
    -moz-appearance: textfield;
}

.order-qty-inline[b-8w35wughcn]::-webkit-inner-spin-button,
.order-qty-inline[b-8w35wughcn]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-qty-inline:focus[b-8w35wughcn] {
    outline: none;
    border-color: var(--phos-primary);
}

.order-qty-inline.order-qty-missing[b-8w35wughcn] {
    border-color: #dc3545;
    color: #dc3545;
}

.order-qty-inline.order-qty-invalid[b-8w35wughcn] {
    border-color: #dc3545;
    color: #dc3545;
}

.order-qty-feedback[b-8w35wughcn] {
    font-size: 0.6rem;
    color: #dc3545;
    font-weight: 600;
    margin-top: 0.15rem;
    white-space: nowrap;
}

/* Inline delete confirm */
.order-delete-confirm[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: #495057;
    white-space: nowrap;
}

.order-confirm-yes[b-8w35wughcn] {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid #dc3545;
    color: #dc3545;
    background: none;
    cursor: pointer;
}

.order-confirm-yes:hover[b-8w35wughcn] { background: rgba(220,53,69,.08); }

.order-confirm-no[b-8w35wughcn] {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    color: #6c757d;
    background: none;
    cursor: pointer;
}

.order-item-action-btn:hover:not(:disabled)[b-8w35wughcn] {
    background: #e9ecef;
    color: #495057;
}

.order-item-action-btn:disabled[b-8w35wughcn] {
    opacity: 0.5;
    cursor: not-allowed;
}

.item-action-badge[b-8w35wughcn] {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: 8px;
    color: #fff;
}

.item-badge-success[b-8w35wughcn] {
    background: #198754;
}

.item-badge-danger[b-8w35wughcn] {
    background: #dc3545;
}

/* ── Notices ── */
.notices-list[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.notice-dept-group[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.notice-dept-header[b-8w35wughcn] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.25rem 0;
}

.notice-dept-header-icon[b-8w35wughcn] {
    font-size: 0.65rem;
}

.notice-item-group[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-left: 0.75rem;
    border-left: 2px solid;
    border-left-color: #dee2e6;
}

.notice-item-header[b-8w35wughcn] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #495057;
    padding: 0.1rem 0;
}

.notice-card[b-8w35wughcn] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-left: 3px solid;
}

.notice-blocker[b-8w35wughcn] {
    background: #fff5f5;
    border-left-color: #dc3545;
}

.notice-warning[b-8w35wughcn] {
    background: #fff9e6;
    border-left-color: #ffc107;
}

.notice-info[b-8w35wughcn] {
    background: #f0f7ff;
    border-left-color: #0d6efd;
}

.notice-icon[b-8w35wughcn] {
    flex-shrink: 0;
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.notice-blocker .notice-icon[b-8w35wughcn] {
    color: #dc3545;
}

.notice-warning .notice-icon[b-8w35wughcn] {
    color: #ffc107;
}

.notice-info .notice-icon[b-8w35wughcn] {
    color: #0d6efd;
}

.notice-content[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.notice-title[b-8w35wughcn] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a2e;
}

.notice-message[b-8w35wughcn] {
    font-size: 0.75rem;
    color: #6c757d;
}

.notice-action-btn[b-8w35wughcn] {
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0d6efd;
    background: rgba(13, 110, 253, .08);
    border: 1px solid rgba(13, 110, 253, .2);
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

/* ── Internal Order Checkbox ── */
.order-internal-toggle[b-8w35wughcn] {
    padding: 0.5rem 0 0.25rem;
}

.order-internal-label[b-8w35wughcn] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    cursor: pointer;
}

.order-internal-sublabel[b-8w35wughcn] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #6c757d;
}

.notice-action-btn:hover[b-8w35wughcn] {
    background: rgba(13, 110, 253, .15);
    border-color: rgba(13, 110, 253, .35);
}

/* ── Submit Footer ── */
.order-submit-footer[b-8w35wughcn] {
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.order-empty-state[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    text-align: center;
    color: #adb5bd;
}

.order-empty-state i[b-8w35wughcn] {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.order-empty-state .btn i[b-8w35wughcn] {
    font-size: 1em;
    margin-bottom: 0;
}

.order-empty-state p[b-8w35wughcn] {
    font-size: 0.875rem;
    max-width: 320px;
}

/* ── Animations ── */
@keyframes starterFadeIn-b-8w35wughcn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes starterScaleIn-b-8w35wughcn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Mobile: full-screen starter modal ── */
@media (max-width: 767.98px) {
    .starter-card[b-8w35wughcn] {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .starter-header[b-8w35wughcn] {
        padding-top: calc(1.75rem + env(safe-area-inset-top));
    }

    .starter-body[b-8w35wughcn] {
        flex: 1;
        overflow-y: auto;
    }

    .starter-footer[b-8w35wughcn] {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }

    .order-page[b-8w35wughcn] {
        padding: 0.75rem;
    }

    .order-header[b-8w35wughcn] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .order-header-top[b-8w35wughcn] {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .order-contact-line[b-8w35wughcn] {
        align-items: flex-end;
    }

    .order-contact-info[b-8w35wughcn] {
        align-items: flex-end;
    }

    .order-header-top-right[b-8w35wughcn] {
        align-items: flex-end;
    }

    .order-clinic[b-8w35wughcn] {
        padding-left: 0;
    }

    .order-header-actions[b-8w35wughcn] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .order-header-actions[b-8w35wughcn]::-webkit-scrollbar {
        display: none;
    }

    /* Hide attachment/timeline chips from the scrollable row on mobile — they move to the back-link row */
    .order-chip-mobile-hidden[b-8w35wughcn] {
        display: none;
    }

    /* Show the mobile-only chip group beside the back link */
    .order-back-actions[b-8w35wughcn] {
        display: flex;
    }

    .order-action-chip[b-8w35wughcn] {
        padding: 0.3rem 0.6rem;
        font-size: 0.775rem;
        flex-shrink: 0;
    }

    .order-item-row[b-8w35wughcn] {
        gap: 0.5rem;
    }

    .order-item-info[b-8w35wughcn] {
        flex: 1 1 50%;
    }

    .order-item-qty[b-8w35wughcn] {
        gap: 0.5rem;
    }

    .order-item-qty-field[b-8w35wughcn] {
        min-width: 2.5rem;
    }

    .order-submit-footer[b-8w35wughcn] {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 0.75rem 0;
        margin: 0 -0.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        border-top: 1px solid #e9ecef;
        z-index: 10;
    }
}

/* ── System Banners ── */
.order-banners[b-8w35wughcn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.order-banner[b-8w35wughcn] {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.order-banner-info[b-8w35wughcn]    { background: #e3f2fd; color: #1565c0; }
.order-banner-success[b-8w35wughcn] { background: #e8f5e9; color: #2e7d32; }
.order-banner-warning[b-8w35wughcn] { background: #fff3e0; color: #e65100; }
.order-banner-danger[b-8w35wughcn]  { background: #fbe9e7; color: #c62828; }

/* ── Package Item: nested children ── */
.order-package-children[b-8w35wughcn] {
    flex: 1 1 100%;
    margin: 0.25rem 0 0.1rem 2rem;
    padding: 0.25rem 0 0 0.75rem;
    border-left: 2px solid #e9ecef;
}

.order-package-child-row[b-8w35wughcn] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.2rem 0;
    font-size: 0.78rem;
}

.order-package-child-qty[b-8w35wughcn] {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--phos-text-muted, #6c757d);
    min-width: 2rem;
    text-align: right;
}

.order-package-child-info[b-8w35wughcn] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.order-package-child-name[b-8w35wughcn] {
    font-weight: 600;
    color: var(--phos-text, #1a1a2e);
    font-size: 0.8rem;
}

.order-package-child-code[b-8w35wughcn] {
    font-size: 0.7rem;
    color: var(--phos-text-muted, #6c757d);
}

.order-package-child-req-badge[b-8w35wughcn] {
    font-size: 0.68rem;
    font-weight: 600;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    border-radius: 4px;
    padding: 0.1rem 0.375rem;
    white-space: nowrap;
}

.order-package-child-req-badge.order-package-child-req-bypassed[b-8w35wughcn] {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    text-decoration: line-through;
}
/* /Components/Pages/Orders/OrderItemDetailsModal.razor.rz.scp.css */
.idm-backdrop[b-wificz8evu] {
    position: fixed; inset: 0; background: rgba(0,0,0,.35);
    z-index: 1050; animation: idmFadeIn-b-wificz8evu .2s ease;
}
@keyframes idmFadeIn-b-wificz8evu { from { opacity: 0; } to { opacity: 1; } }

.idm-modal[b-wificz8evu] {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 1051; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid #e9ecef; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12); animation: idmSlideUp-b-wificz8evu .25s ease; overflow: hidden;
}
@keyframes idmSlideUp-b-wificz8evu {
    from { opacity: 0; transform: translate(-50%, -46%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.idm-header[b-wificz8evu] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #f0f0f0; gap: 10px;
}
.idm-header-left[b-wificz8evu] { display: flex; align-items: center; gap: 10px; }
.idm-header-left > i[b-wificz8evu] { color: var(--phos-primary); font-size: 1rem; }
.idm-title[b-wificz8evu] { display: block; font-size: .95rem; font-weight: 600; color: var(--phos-text); line-height: 1.2; }
.idm-subtitle[b-wificz8evu] { display: block; font-size: .75rem; color: #6c757d; }
.idm-close-btn[b-wificz8evu] {
    background: none; border: none; color: #adb5bd; font-size: 1rem;
    cursor: pointer; padding: 6px 8px; border-radius: 6px; transition: all .15s;
}
.idm-close-btn:hover[b-wificz8evu] { color: var(--phos-text); background: #f5f5f5; }

.idm-body[b-wificz8evu] {
    flex: 1; overflow-y: auto; padding: 16px 18px;
    display: flex; flex-direction: column; gap: 14px;
}

.idm-error[b-wificz8evu] {
    padding: 8px 12px; background: #fff5f5; border: 1px solid #fecaca;
    border-radius: 6px; color: #dc2626; font-size: .82rem;
}

.idm-info-grid[b-wificz8evu] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.idm-info-cell[b-wificz8evu] { display: flex; flex-direction: column; gap: 2px; }
.idm-info-label[b-wificz8evu] { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #adb5bd; }
.idm-info-value[b-wificz8evu] { font-size: .85rem; color: var(--phos-text); }

.idm-section-label[b-wificz8evu] {
    font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #6c757d;
    padding-bottom: 4px; border-bottom: 1px solid #f0f0f0;
}

.idm-qty-grid[b-wificz8evu] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.idm-qty-field[b-wificz8evu] { display: flex; flex-direction: column; gap: 6px; }
.idm-qty-field > label[b-wificz8evu] { font-size: .78rem; color: #6c757d; font-weight: 500; }
.idm-qty-value[b-wificz8evu] { font-size: 1rem; font-weight: 600; color: var(--phos-text); }
.idm-qty-missing[b-wificz8evu] { color: #dc3545; }

.idm-stepper[b-wificz8evu] { display: flex; align-items: center; gap: 0; }
.idm-step-btn[b-wificz8evu] {
    width: 30px; height: 30px; border: 1px solid #dee2e6; background: #f8f9fa;
    color: #495057; font-size: .75rem; cursor: pointer; transition: all .15s;
    display: flex; align-items: center; justify-content: center;
}
.idm-step-btn:first-child[b-wificz8evu] { border-radius: 6px 0 0 6px; }
.idm-step-btn:last-child[b-wificz8evu]  { border-radius: 0 6px 6px 0; }
.idm-step-btn:hover:not(:disabled)[b-wificz8evu] { background: #e9ecef; }
.idm-step-btn:disabled[b-wificz8evu] { opacity: .4; cursor: not-allowed; }
.idm-qty-input[b-wificz8evu] {
    width: 60px; height: 30px; text-align: center; border: 1px solid #dee2e6;
    border-left: none; border-right: none; font-size: .9rem; font-weight: 600;
    color: var(--phos-text); -moz-appearance: textfield;
    transition: border-color .15s, color .15s;
}
.idm-qty-input.idm-qty-invalid[b-wificz8evu] {
    border-color: #dc3545; color: #dc3545;
}
.idm-qty-invalid + .idm-step-btn[b-wificz8evu],
.idm-stepper:has(.idm-qty-invalid) .idm-step-btn[b-wificz8evu] {
    border-color: #dc3545;
}
.idm-qty-input[b-wificz8evu]::-webkit-inner-spin-button,
.idm-qty-input[b-wificz8evu]::-webkit-outer-spin-button { -webkit-appearance: none; }
.idm-qty-input:focus[b-wificz8evu] { outline: none; border-color: var(--phos-primary); }

.idm-description[b-wificz8evu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.idm-description-text[b-wificz8evu] {
    flex: 1;
    min-height: 120px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: .85rem;
    color: var(--phos-text);
    line-height: 1.55;
    padding: 10px 12px;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.idm-description-text p[b-wificz8evu] { margin: 0 0 .5em; }
.idm-description-text p:last-child[b-wificz8evu] { margin-bottom: 0; }
.idm-description-text ul[b-wificz8evu], .idm-description-text ol[b-wificz8evu] { padding-left: 1.25em; margin: 0 0 .5em; }
.idm-description-text strong[b-wificz8evu], .idm-description-text b[b-wificz8evu] { font-weight: 600; }


.idm-qty-hint[b-wificz8evu] {
    font-size: .72rem; color: #6c757d; margin-top: 2px;
}
.idm-qty-hint-error[b-wificz8evu] {
    color: #dc3545; font-weight: 500;
}

.idm-remove-btn[b-wificz8evu] {
    background: none; border: 1px solid #fecaca; color: #dc3545;
    border-radius: 7px; padding: 6px 14px; font-size: .82rem; font-weight: 500;
    cursor: pointer; transition: all .15s;
}
.idm-remove-btn:hover[b-wificz8evu] { background: #fff5f5; }

.idm-remove-confirm[b-wificz8evu] {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: .82rem; color: var(--phos-text);
}
.idm-confirm-label[b-wificz8evu] { white-space: nowrap; }
.idm-confirm-actions[b-wificz8evu] { display: flex; gap: 8px; }
.idm-confirm-yes[b-wificz8evu], .idm-confirm-no[b-wificz8evu] {
    border-radius: 6px; padding: 5px 12px; font-size: .82rem;
    font-weight: 500; cursor: pointer; border: 1px solid; transition: all .15s;
    display: flex; align-items: center;
}
.idm-confirm-yes[b-wificz8evu] { background: #dc3545; color: #fff; border-color: #dc3545; }
.idm-confirm-yes:hover[b-wificz8evu] { background: #b02a37; }
.idm-confirm-yes:disabled[b-wificz8evu] { opacity: .5; cursor: not-allowed; }
.idm-confirm-no[b-wificz8evu] { background: #fff; color: #6c757d; border-color: #dee2e6; }
.idm-confirm-no:hover[b-wificz8evu] { background: #f5f5f5; }

.idm-footer[b-wificz8evu] {
    padding: 12px 18px; border-top: 1px solid #f0f0f0;
    display: flex; gap: 8px; align-items: center;
    justify-content: space-between;
}
.idm-footer-left[b-wificz8evu] { display: flex; align-items: center; }
.idm-footer-right[b-wificz8evu] { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.idm-save-btn[b-wificz8evu] {
    background: var(--phos-primary); color: #fff; border: none;
    border-radius: 6px; padding: 7px 18px; font-size: .85rem; font-weight: 500;
    cursor: pointer; transition: opacity .15s; display: flex; align-items: center;
}
.idm-save-btn:disabled[b-wificz8evu] { opacity: .5; cursor: not-allowed; }
.idm-cancel-btn[b-wificz8evu] {
    background: none; border: 1px solid #dee2e6; color: #6c757d;
    border-radius: 6px; padding: 7px 14px; font-size: .85rem; cursor: pointer;
}
.idm-cancel-btn:hover[b-wificz8evu] { background: #f5f5f5; }

@media (max-width: 600px) {
    .idm-modal[b-wificz8evu] {
        width: 100vw; max-height: 100dvh; height: 100dvh;
        top: 0; left: 0; transform: none; border-radius: 0;
    }
    .idm-footer-close .idm-cancel-btn[b-wificz8evu] { width: 100%; text-align: center; justify-content: center; }
}

.idm-footer-close[b-wificz8evu] {
    display: none;
    padding: 10px 18px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .idm-footer-close[b-wificz8evu] { display: flex; }
}
/* /Components/Pages/Orders/OrderItemPatientsModal.razor.rz.scp.css */
.ipm-backdrop[b-7wpayafhrt] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1050;
    animation: ipmFadeIn-b-7wpayafhrt .2s ease;
}
@keyframes ipmFadeIn-b-7wpayafhrt { from { opacity: 0; } to { opacity: 1; } }

.ipm-modal[b-7wpayafhrt] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1051;
    width: min(540px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    animation: ipmSlideUp-b-7wpayafhrt .25s ease;
    overflow: hidden;
}
@keyframes ipmSlideUp-b-7wpayafhrt {
    from { opacity: 0; transform: translate(-50%, -46%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.ipm-header[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}
.ipm-header-left[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ipm-header-left > i[b-7wpayafhrt] {
    font-size: 1rem;
    color: var(--phos-primary);
}
.ipm-title[b-7wpayafhrt] {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--phos-text);
    line-height: 1.2;
}
.ipm-subtitle[b-7wpayafhrt] {
    display: block;
    font-size: .75rem;
    color: #6c757d;
}
.ipm-close-btn[b-7wpayafhrt] {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all .15s;
}
.ipm-close-btn:hover[b-7wpayafhrt] { color: var(--phos-text); background: #f5f5f5; }

.ipm-body[b-7wpayafhrt] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ipm-error[b-7wpayafhrt] {
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: .82rem;
}

.ipm-count-chip[b-7wpayafhrt] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    width: fit-content;
}
.ipm-count-ok[b-7wpayafhrt]  { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.ipm-count-warn[b-7wpayafhrt] { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

.ipm-empty[b-7wpayafhrt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px;
    color: #adb5bd;
}
.ipm-empty i[b-7wpayafhrt] { font-size: 1.75rem; }
.ipm-empty p[b-7wpayafhrt] { margin: 0; font-size: .85rem; }

.ipm-list[b-7wpayafhrt] { display: flex; flex-direction: column; }

.ipm-row[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ipm-list > .ipm-row:last-child[b-7wpayafhrt] { border-bottom: none; }
.ipm-row-denied[b-7wpayafhrt] { opacity: .65; }

.ipm-row-avatar[b-7wpayafhrt] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f4ff;
    color: var(--phos-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}
.ipm-row-info[b-7wpayafhrt] { flex: 1; min-width: 0; }
.ipm-name[b-7wpayafhrt] {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--phos-text);
}
.ipm-meta[b-7wpayafhrt] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
    font-size: .75rem;
    color: #6c757d;
}
.ipm-denied-badge[b-7wpayafhrt] {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 4px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: .7rem;
    font-weight: 600;
}

.ipm-row-actions[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.ipm-edit-btn[b-7wpayafhrt] {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    color: #adb5bd;
    font-size: .8rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s;
}
.ipm-edit-btn:hover[b-7wpayafhrt] { color: var(--phos-primary); background: #f0f4ff; border-color: #c7d7ff; }

.ipm-delete-btn[b-7wpayafhrt] {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    color: #adb5bd;
    font-size: .8rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s;
}
.ipm-delete-btn:hover[b-7wpayafhrt] { color: #dc3545; background: #fff5f5; border-color: #fecaca; }

.ipm-row-editing[b-7wpayafhrt] {
    display: block;
}

.ipm-delete-confirm[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.ipm-confirm-label[b-7wpayafhrt] { font-size: .75rem; color: #dc3545; white-space: nowrap; }
.ipm-confirm-yes[b-7wpayafhrt], .ipm-confirm-no[b-7wpayafhrt] {
    border-radius: 5px;
    padding: 3px 9px;
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid;
    transition: all .15s;
}
.ipm-confirm-yes[b-7wpayafhrt] { background: #dc3545; color: #fff; border-color: #dc3545; }
.ipm-confirm-yes:hover[b-7wpayafhrt] { background: #b02a37; }
.ipm-confirm-no[b-7wpayafhrt] { background: #fff; color: #6c757d; border-color: #dee2e6; }
.ipm-confirm-no:hover[b-7wpayafhrt] { background: #f5f5f5; }

.ipm-add-btn[b-7wpayafhrt] {
    align-self: flex-start;
    background: none;
    border: 1px dashed var(--phos-primary);
    color: var(--phos-primary);
    border-radius: 8px;
    padding: 7px 16px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.ipm-add-btn:hover[b-7wpayafhrt] { background: #f0f4ff; }

.ipm-add-form[b-7wpayafhrt] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ipm-add-form-title[b-7wpayafhrt] {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
}
.ipm-add-fields[b-7wpayafhrt] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}
.ipm-add-fields .form-check-label[b-7wpayafhrt] { word-break: break-word; white-space: normal; }
.ipm-field[b-7wpayafhrt] { display: flex; flex-direction: column; gap: 3px; }
.ipm-field label[b-7wpayafhrt] { font-size: .75rem; color: #6c757d; font-weight: 500; }
.ipm-field input[b-7wpayafhrt],
.ipm-text-input[b-7wpayafhrt] {
    background: transparent !important;
    border: none !important;
    border-bottom: solid 1px #dee2e6 !important;
    border-radius: 0 !important;
    padding: 6px 9px !important;
    font-size: .85rem !important;
    color: var(--phos-text) !important;
    transition: border-bottom-color .15s !important;
    box-shadow: none !important;
}
.ipm-field input:focus[b-7wpayafhrt],
.ipm-text-input:focus[b-7wpayafhrt] { outline: none !important; border-bottom-color: var(--phos-primary) !important; box-shadow: none !important; }
.ipm-field input:disabled[b-7wpayafhrt],
.ipm-text-input:disabled[b-7wpayafhrt],
.ipm-field-disabled[b-7wpayafhrt] { background: #f8f9fa !important; color: #adb5bd !important; cursor: not-allowed; }

.ipm-date-input[b-7wpayafhrt] { width: 100%; }

/* PhosDatePicker inside .ipm-field — match underline input styling via ::deep */
.ipm-field[b-7wpayafhrt]  .phos-dp { width: 100%; }
.ipm-field[b-7wpayafhrt]  .phos-dp-text-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: solid 1px #dee2e6 !important;
    border-radius: 0 !important;
    padding: 6px 9px !important;
    padding-right: 2.5rem !important;
    font-size: .85rem !important;
    color: var(--phos-text) !important;
    transition: border-bottom-color .15s !important;
    box-shadow: none !important;
}
.ipm-field[b-7wpayafhrt]  .phos-dp-text-input:focus {
    outline: none !important;
    border-bottom-color: var(--phos-primary) !important;
}
.ipm-field[b-7wpayafhrt]  .phos-dp-icon-btn {
    color: #adb5bd;
    font-size: .8rem;
}
.ipm-field[b-7wpayafhrt]  .phos-dp-icon-btn:hover {
    color: var(--phos-primary);
}

.ipm-required-star[b-7wpayafhrt] { color: #dc3545; margin-left: 1px; }

.ipm-no-hc-label[b-7wpayafhrt] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem !important;
    color: #6c757d;
    font-weight: 400 !important;
    cursor: pointer;
    margin-top: 2px;
}
.ipm-no-hc-label input[type="checkbox"][b-7wpayafhrt] {
    width: auto;
    border: none;
    padding: 0;
    accent-color: var(--phos-primary);
}

.ipm-add-actions[b-7wpayafhrt] { display: flex; gap: 8px; }
.ipm-save-btn[b-7wpayafhrt] {
    background: var(--phos-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s;
    display: flex;
    align-items: center;
}
.ipm-save-btn:disabled[b-7wpayafhrt] { opacity: .5; cursor: not-allowed; }
.ipm-cancel-btn[b-7wpayafhrt] {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: .85rem;
    cursor: pointer;
}
.ipm-cancel-btn:hover[b-7wpayafhrt] { background: #f5f5f5; }

.ipm-section-label[b-7wpayafhrt] {
    font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #6c757d;
    padding-bottom: 4px; border-bottom: 1px solid #f0f0f0; margin-top: 6px; margin-bottom: 8px;
}

.ipm-fields-view[b-7wpayafhrt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #ebebeb;
}

.ipm-fv-entry[b-7wpayafhrt] {
    display: flex;
    gap: 8px;
    font-size: .78rem;
    align-items: flex-start;
}

.ipm-fv-label[b-7wpayafhrt] {
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
}

.ipm-fv-value[b-7wpayafhrt] {
    color: var(--phos-text);
    flex: 1;
}

.ipm-fv-yes[b-7wpayafhrt] { color: #059669; }
.ipm-fv-no[b-7wpayafhrt]  { color: #adb5bd; }

.ipm-view-btn[b-7wpayafhrt] {
    background: none;
    border: 1px solid transparent;
    color: #adb5bd;
    font-size: .8rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s;
}

.ipm-view-btn:hover[b-7wpayafhrt] {
    color: var(--phos-primary);
    background: #f0f4ff;
    border-color: #c7d7ff;
}

.ipm-view-btn.active[b-7wpayafhrt] {
    color: var(--phos-primary);
    background: #f0f4ff;
}

/* Modal footer */
.ipm-footer[b-7wpayafhrt] {
    border-top: 1px solid #f0f0f0;
    padding: 10px 18px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}
.ipm-close-footer-btn[b-7wpayafhrt] {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    border-radius: 6px;
    padding: 7px 20px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s;
}
.ipm-close-footer-btn:hover[b-7wpayafhrt] { background: #f5f5f5; }

@media (max-width: 600px) {
    .ipm-modal[b-7wpayafhrt] {
        width: 100vw; max-height: 100dvh; height: 100dvh;
        top: 0; left: 0; transform: none; border-radius: 0;
    }
    .ipm-add-btn[b-7wpayafhrt] {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .ipm-close-footer-btn[b-7wpayafhrt] { width: 100%; justify-content: center; }
}

/* Deny button */
.ipm-deny-btn[b-7wpayafhrt] {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    color: #adb5bd;
    font-size: .8rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s;
}
.ipm-deny-btn:hover[b-7wpayafhrt] { color: #d97706; background: #fffbeb; border-color: #fde68a; }

/* Deny confirmation form */
.ipm-deny-form-title[b-7wpayafhrt] {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #d97706;
    margin-bottom: 2px;
}

.ipm-deny-reason[b-7wpayafhrt] {
    resize: vertical;
    min-height: 52px;
}

.ipm-deny-confirm-btn[b-7wpayafhrt] {
    background: #d97706;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s;
    display: flex;
    align-items: center;
}
.ipm-deny-confirm-btn:hover[b-7wpayafhrt] { background: #b45309; }
.ipm-deny-confirm-btn:disabled[b-7wpayafhrt] { opacity: .5; cursor: not-allowed; }

/* Denied reason shown on row */
.ipm-denied-reason[b-7wpayafhrt] {
    margin-top: 3px;
    font-size: .73rem;
    color: #b91c1c;
    font-style: italic;
}

/* Denied avatar */
.ipm-row-denied .ipm-row-avatar[b-7wpayafhrt] {
    background: #fee2e2;
    color: #b91c1c;
}
/* /Components/Pages/Orders/OrderPackingSlip.razor.rz.scp.css */
.ps-loading[b-qoedhaaiti], .ps-error[b-qoedhaaiti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    gap: 1rem;
    color: #6c757d;
}

/* ── Page wrapper ── */
.ps-page[b-qoedhaaiti] {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem;
    font-family: inherit;
}

/* ── Toolbar (no-print) ── */
.ps-toolbar[b-qoedhaaiti] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* ── From / To ── */
.ps-address-row[b-qoedhaaiti] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.ps-address-label[b-qoedhaaiti] {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.ps-address-name[b-qoedhaaiti] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #212529;
}

.ps-address-lines[b-qoedhaaiti] {
    font-size: 1.25rem;
    font-weight: 300;
    color: #212529;
    line-height: 1.6;
}

/* ── Order meta ── */
.ps-meta[b-qoedhaaiti] {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.ps-meta div[b-qoedhaaiti] {
    margin-bottom: 0.15rem;
}

/* ── Section title ── */
.ps-section-title[b-qoedhaaiti] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ── Items table ── */
.ps-table[b-qoedhaaiti] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.ps-table th[b-qoedhaaiti] {
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}

.ps-table td[b-qoedhaaiti] {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #dee2e6;
}

.ps-table tbody tr:hover td[b-qoedhaaiti] {
    background: #f8f9fa;
}

.ps-help-col[b-qoedhaaiti] {
    width: 48px;
    text-align: center;
}

.ps-help-btn[b-qoedhaaiti] {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0.75rem;
}

.ps-toggle-btn[b-qoedhaaiti] {
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Hidden rows on screen: strikethrough + muted */
.ps-row-toggle.no-print td[b-qoedhaaiti] {
    text-decoration: line-through;
    color: #adb5bd;
}

/* ── Footer ── */
.ps-footer[b-qoedhaaiti] {
    margin-top: 3rem;
}

.ps-packed-by[b-qoedhaaiti] {
    font-size: 0.8rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

.ps-footer-note[b-qoedhaaiti] {
    font-size: 0.8rem;
    color: #0d6efd;
}

/* ── Help card ── */
.ps-help-card[b-qoedhaaiti] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.ps-help-card > div[b-qoedhaaiti] {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    min-width: 280px;
}

.ps-help-row[b-qoedhaaiti] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── Print layout tweaks ── */
@@media print {
    .ps-page[b-qoedhaaiti] {
        padding: 0;
        max-width: 100%;
    }

    .ps-address-name[b-qoedhaaiti] {
        font-size: 1.6rem;
    }
}
/* /Components/Pages/Orders/OrderPanorama.razor.rz.scp.css */
.panorama-page[b-zj8eqo9lp9] {
    padding: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Toolbar ── */
.panorama-toolbar[b-zj8eqo9lp9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 12px;
}

.panorama-toolbar-left[b-zj8eqo9lp9] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.panorama-title[b-zj8eqo9lp9] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--phos-text, #212529);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Layout ── */
.panorama-layout[b-zj8eqo9lp9] {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.panorama-sidebar[b-zj8eqo9lp9] {
    flex: 0 0 220px;
}

.panorama-main[b-zj8eqo9lp9] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.panorama-tables[b-zj8eqo9lp9] {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Flat section (replaces card) ── */
.panorama-section[b-zj8eqo9lp9] {
    display: flex;
    flex-direction: column;
}

.panorama-section-title[b-zj8eqo9lp9] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--phos-primary, #6f42c1);
    border-bottom: 2px solid var(--phos-primary, #6f42c1);
    padding-bottom: 5px;
    margin-bottom: 12px;
}

/* ── Definition list ── */
.panorama-dl[b-zj8eqo9lp9] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 16px;
    margin: 0;
    font-size: 0.875rem;
}

.panorama-dl dt[b-zj8eqo9lp9] {
    font-weight: 600;
    color: var(--phos-text-muted, #6c757d);
    white-space: nowrap;
    padding-top: 2px;
}

.panorama-dl dd[b-zj8eqo9lp9] {
    margin: 0;
    color: var(--phos-text, #212529);
    padding-top: 2px;
    word-break: break-word;
}

/* ── Order meta ── */
.panorama-order-meta[b-zj8eqo9lp9] {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.panorama-label[b-zj8eqo9lp9] {
    font-weight: 600;
    color: var(--phos-text-muted, #6c757d);
}

/* ── Table ── */
.panorama-table[b-zj8eqo9lp9] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.panorama-table th[b-zj8eqo9lp9] {
    padding: 6px 8px;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--phos-text-muted, #6c757d);
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.panorama-table td[b-zj8eqo9lp9] {
    padding: 7px 8px;
    border-bottom: 1px solid #dee2e6;
    color: var(--phos-text, #212529);
}

.panorama-table tbody tr:last-child td[b-zj8eqo9lp9] {
    border-bottom: none;
}

.panorama-table tbody tr:hover td[b-zj8eqo9lp9] {
    background: rgba(0,0,0,0.025);
}

/* ── Qty column — right-aligned with emphasis ── */
.panorama-table th:last-child[b-zj8eqo9lp9],
.panorama-table td:last-child[b-zj8eqo9lp9] {
    text-align: right;
    width: 5rem;
}

.panorama-table td:last-child[b-zj8eqo9lp9] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── Empty / notes ── */
.panorama-empty[b-zj8eqo9lp9] {
    color: var(--phos-text-muted, #6c757d);
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
    padding: 4px 0;
}

.panorama-supplies-note[b-zj8eqo9lp9] {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: var(--phos-text-muted, #6c757d);
}

/* ── Mobile ── */
@@media (max-width: 575.98px) {
    .panorama-page[b-zj8eqo9lp9] {
        padding: 12px;
    }

    .panorama-toolbar[b-zj8eqo9lp9] {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .panorama-toolbar-left[b-zj8eqo9lp9] {
        flex: 1 1 auto;
    }

    .panorama-title[b-zj8eqo9lp9] {
        font-size: 1rem;
    }

    .panorama-layout[b-zj8eqo9lp9] {
        flex-direction: column;
        gap: 24px;
    }

    .panorama-sidebar[b-zj8eqo9lp9] {
        flex: none;
        width: 100%;
    }

    /* Org info: display as 2-col pill cards instead of dl grid */
    .panorama-dl[b-zj8eqo9lp9] {
        grid-template-columns: 6.5rem 1fr;
        gap: 6px 12px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px;
    }

    .panorama-order-meta[b-zj8eqo9lp9] {
        gap: 8px 20px;
        font-size: 0.85rem;
    }

    .panorama-main[b-zj8eqo9lp9] {
        gap: 20px;
    }

    .panorama-tables[b-zj8eqo9lp9] {
        gap: 20px;
    }

    /* Table rows — stack as labeled cards on mobile */
    .panorama-table thead[b-zj8eqo9lp9] {
        display: none;
    }

    .panorama-table[b-zj8eqo9lp9],
    .panorama-table tbody[b-zj8eqo9lp9],
    .panorama-table tr[b-zj8eqo9lp9],
    .panorama-table td[b-zj8eqo9lp9] {
        display: block;
        width: 100%;
    }

    .panorama-table tr[b-zj8eqo9lp9] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 4px;
        border-bottom: 1px solid #dee2e6;
        gap: 8px;
    }

    .panorama-table tr:last-child[b-zj8eqo9lp9] {
        border-bottom: none;
    }

    .panorama-table td[b-zj8eqo9lp9] {
        padding: 0;
        border: none;
    }

    /* Code/Name cell grows */
    .panorama-table td:first-child[b-zj8eqo9lp9] {
        flex: 1;
        min-width: 0;
        word-break: break-word;
    }

    /* Qty cell stays right */
    .panorama-table td:last-child[b-zj8eqo9lp9] {
        flex-shrink: 0;
        text-align: right;
        font-size: 1rem;
        color: var(--phos-primary, #6f42c1);
        width: auto;
    }
}

/* ── Print ── */
@@media print {
    .panorama-page[b-zj8eqo9lp9] {
        padding: 0;
        max-width: none;
    }

    .panorama-layout[b-zj8eqo9lp9] {
        gap: 24px;
    }

    .panorama-sidebar[b-zj8eqo9lp9] {
        flex: 0 0 190px;
    }
}

/* /Components/Pages/Orders/OrderTimelineModal.razor.rz.scp.css */
.tl-backdrop[b-786ppptfd9] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.35);
}

.tl-panel[b-786ppptfd9] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    z-index: 1051;
    background: #fff;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: tlSlideIn-b-786ppptfd9 0.22s ease both;
}

@keyframes tlSlideIn-b-786ppptfd9 {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}

.tl-header[b-786ppptfd9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--phos-primary);
    color: #fff;
    flex-shrink: 0;
}

.tl-title[b-786ppptfd9] {
    font-weight: 700;
    font-size: 1rem;
}

.tl-close-btn[b-786ppptfd9] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: background 0.15s;
    line-height: 1;
}

.tl-close-btn:hover[b-786ppptfd9] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.tl-body[b-786ppptfd9] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 2rem;
}

.tl-loading[b-786ppptfd9],
.tl-empty[b-786ppptfd9] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* ── Timeline events ── */

.tl-event[b-786ppptfd9] {
    display: flex;
    gap: 0.75rem;
    min-height: 3rem;
}

.tl-icon-col[b-786ppptfd9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 2rem;
}

.tl-dot[b-786ppptfd9] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tl-line[b-786ppptfd9] {
    flex: 1;
    width: 2px;
    background: #e9ecef;
    margin: 4px 0;
    min-height: 1rem;
}

.tl-event-content[b-786ppptfd9] {
    padding-bottom: 1.25rem;
    flex: 1;
    min-width: 0;
}

.tl-event-desc[b-786ppptfd9] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.4;
    word-break: break-word;
}

.tl-event-meta[b-786ppptfd9] {
    margin-top: 0.2rem;
    font-size: 0.775rem;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.tl-time[b-786ppptfd9] {
    color: #adb5bd;
}

.tl-actor[b-786ppptfd9] {
    color: #6c757d;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/CustomFieldForm.razor.rz.scp.css */
/* ── Custom Field Form Component ── */

.cff-group[b-hvdbqhtmos] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
}

.cff-group-hdr[b-hvdbqhtmos] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cff-group-desc[b-hvdbqhtmos] {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cff-tag-req[b-hvdbqhtmos] {
    font-size: 0.7rem;
    color: #dc3545;
    background: rgba(220,53,69,.08);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(220,53,69,.2);
}

.cff-field-wrap[b-hvdbqhtmos] {
    margin-bottom: 0.5rem;
}

.cff-label[b-hvdbqhtmos] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.2rem;
}

.cff-hint[b-hvdbqhtmos] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.cff-error[b-hvdbqhtmos] {
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 0.2rem;
}

.cff-check-wrap[b-hvdbqhtmos] {
    margin-bottom: 0.5rem;
}

.cff-radio-stack[b-hvdbqhtmos] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cff-info-text[b-hvdbqhtmos] {
    font-size: 0.82rem;
    color: #495057;
    background: #e9ecef;
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.4rem;
}
/* /Components/Shared/CustomFieldManager.razor.rz.scp.css */
/* ============================
   Custom Field Manager (cfm-)
   ============================ */

/* Root */
.cfm[b-z7ptx4aq9l] { position: relative; }

.cfm-desc[b-z7ptx4aq9l] {
    font-size: 0.75rem;
    color: #90a4ae;
    margin: 0 0 0.75rem;
}

/* Toolbar */
.cfm-toolbar[b-z7ptx4aq9l] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.cfm-btn-add[b-z7ptx4aq9l] { background: var(--phos-primary); color: #fff; }
.cfm-btn-add:hover[b-z7ptx4aq9l] { background: var(--phos-primary-dark); }

.cfm-btn-add-group[b-z7ptx4aq9l] { background: transparent; color: var(--phos-primary); border: 1px solid rgba(0,0,0,0.12); }
.cfm-btn-add-group:hover[b-z7ptx4aq9l] { background: rgba(0,0,0,0.04); }

.cfm-btn-text[b-z7ptx4aq9l] { background: transparent; color: #546e7a; border: 1px solid #cfd8dc; }
.cfm-btn-text:hover[b-z7ptx4aq9l] { background: #eceff1; }

.cfm-btn-preview[b-z7ptx4aq9l] { background: transparent; color: #2e7d32; border: 1px solid #c8e6c9; }
.cfm-btn-preview:hover[b-z7ptx4aq9l] { background: #e8f5e9; }

/* Field list */
.cfm-list[b-z7ptx4aq9l] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cfm-field-row[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.cfm-field-row:hover[b-z7ptx4aq9l] {
    border-color: #c5cae9;
    box-shadow: 0 1px 4px rgba(57,73,171,0.06);
}

.cfm-field-row.cfm-info-row[b-z7ptx4aq9l] {
    border-left: 3px solid #0288d1;
    background: #f8fcff;
}

.cfm-drag[b-z7ptx4aq9l] {
    font-size: 0.9rem;
    color: #b0bec5;
    padding: 0.35rem 0.4rem;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.cfm-drag:hover[b-z7ptx4aq9l] { color: #78909c; }

.cfm-field-name[b-z7ptx4aq9l] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #263238;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 80px;
}

.cfm-field-desc[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    color: #90a4ae;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.cfm-field-tags[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Tags */
.cfm-tag[b-z7ptx4aq9l] {
    display: inline-block;
    padding: 0.1rem 0.375rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 3px;
    white-space: nowrap;
}

.cfm-tag-type[b-z7ptx4aq9l] { background: #f3e5f5; color: #6a1b9a; }
.cfm-tag-req[b-z7ptx4aq9l] { background: #ffebee; color: #c62828; }
.cfm-tag-admin[b-z7ptx4aq9l] { background: #fff3e0; color: #e65100; }
.cfm-tag-info[b-z7ptx4aq9l] { background: #e3f2fd; color: #1565c0; }
.cfm-tag-width[b-z7ptx4aq9l] { background: #e0f2f1; color: #00695c; }
.cfm-tag-group[b-z7ptx4aq9l] { background: #e8eaf6; color: #283593; }

/* Icon buttons */
.cfm-icon-btn[b-z7ptx4aq9l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #b0bec5;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
    font-size: 0.7rem;
    flex-shrink: 0;
    padding: 0;
}

.cfm-icon-btn:hover[b-z7ptx4aq9l] { background: #f5f5f5; color: #546e7a; }
.cfm-icon-btn-danger:hover[b-z7ptx4aq9l] { background: #ffebee; color: #e53935; }

/* Group blocks */
.cfm-group-block[b-z7ptx4aq9l] {
    border: 1px solid #c5cae9;
    border-radius: 6px;
    background: #fafafe;
    overflow: hidden;
}

.cfm-group-hdr[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #eef0f8;
}

.cfm-group-hdr-icon[b-z7ptx4aq9l] { color: var(--phos-primary); font-size: 0.8rem; flex-shrink: 0; }

.cfm-group-name[b-z7ptx4aq9l] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #263238;
}

.cfm-group-req-tag[b-z7ptx4aq9l] {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #ffebee;
    color: #c62828;
    padding: 0.1rem 0.375rem;
    border-radius: 3px;
}

.cfm-group-desc[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    color: #90a4ae;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cfm-group-actions[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    flex-shrink: 0;
}

.cfm-group-body[b-z7ptx4aq9l] {
    padding: 0.375rem;
}

/* In-group drag handles are visible — they're needed for resort */
.cfm-group-body .cfm-drag[b-z7ptx4aq9l] { display: flex; color: #c0c8d0; }

.cfm-group-empty[b-z7ptx4aq9l] {
    font-size: 0.75rem;
    color: #b0bec5;
    text-align: center;
    padding: 0.75rem;
    font-style: italic;
}

/* Empty state */
.cfm-empty[b-z7ptx4aq9l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: #b0bec5;
    text-align: center;
}

.cfm-empty i[b-z7ptx4aq9l] { font-size: 2rem; margin-bottom: 0.5rem; opacity: 0.4; }
.cfm-empty p[b-z7ptx4aq9l] { font-size: 0.8125rem; margin: 0; }

/* Inherited fields */
.cfm-inherited[b-z7ptx4aq9l] {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cfm-inherited-hdr[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #78909c;
    padding: 0.4rem 0.75rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cfm-inherited-edit-link[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--phos-primary);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.85;
}

.cfm-inherited-edit-link:hover[b-z7ptx4aq9l] {
    opacity: 1;
    text-decoration: underline;
}
}

.cfm-inherited-body[b-z7ptx4aq9l] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
}

.cfm-inherited-pill[b-z7ptx4aq9l] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background: #fff;
}

.cfm-inherited-pill-type[b-z7ptx4aq9l] {
    color: #90a4ae;
    font-size: 0.625rem;
}

/* ============================
   CFM Modals
   ============================ */

.cfm-modal-backdrop[b-z7ptx4aq9l] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: phosOverlayIn 0.15s ease;
}

.cfm-modal-dialog[b-z7ptx4aq9l] {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cfm-modal-lg[b-z7ptx4aq9l] { max-width: 680px; }
.cfm-modal-sm[b-z7ptx4aq9l] { max-width: 480px; }

.cfm-modal-body[b-z7ptx4aq9l] { padding: 1.25rem; }

.cfm-modal-hdr[b-z7ptx4aq9l] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cfm-modal-icon[b-z7ptx4aq9l] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--phos-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cfm-modal-title[b-z7ptx4aq9l] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #263238;
}

.cfm-modal-subtitle[b-z7ptx4aq9l] {
    font-size: 0.75rem;
    color: #90a4ae;
}

.cfm-modal-close[b-z7ptx4aq9l] {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #90a4ae;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cfm-modal-close:hover[b-z7ptx4aq9l] { color: #546e7a; }

/* Form elements (exclusive to CFM — cfm-input, cfm-label stay in app.css) */
.cfm-label-sm[b-z7ptx4aq9l] {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #37474f;
    margin-bottom: 0.3rem;
}

.cfm-form-row[b-z7ptx4aq9l] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cfm-divider[b-z7ptx4aq9l] {
    border-top: 1px solid #eceff1;
    margin: 0.75rem 0;
}

.cfm-section-hdr[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #546e7a;
    margin-bottom: 0.5rem;
}

.cfm-hint[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    color: #90a4ae;
    margin-top: 0.2rem;
}

.cfm-link-btn[b-z7ptx4aq9l] {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--phos-primary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
}

.cfm-link-btn:hover[b-z7ptx4aq9l] { text-decoration: underline; }

.cfm-option-row[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
    padding: 0.2rem 0.375rem;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.12s;
}

.cfm-option-row:hover[b-z7ptx4aq9l] { border-color: #c5cae9; }

.cfm-option-drag[b-z7ptx4aq9l] {
    font-size: 0.8rem;
    color: #c0c8d0;
    padding: 0.3rem 0.35rem;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    flex-shrink: 0;
    transition: color 0.12s;
}

.cfm-option-drag:hover[b-z7ptx4aq9l] { color: #78909c; }

.cfm-check[b-z7ptx4aq9l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #37474f;
    cursor: pointer;
    user-select: none;
}

.cfm-check input[type="checkbox"][b-z7ptx4aq9l],
.cfm-check input[type="radio"][b-z7ptx4aq9l] {
    margin: 0;
    accent-color: var(--phos-primary);
}

/* Modal footer */
.cfm-modal-footer[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cfm-footer-checks[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cfm-footer-btns[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Toast */
.cfm-toast[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    animation: cfm-toast-in-b-z7ptx4aq9l 0.3s ease;
}

@keyframes cfm-toast-in-b-z7ptx4aq9l {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Validation error */
.cfm-validation-error[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Preview */
.cfm-preview-group[b-z7ptx4aq9l] {
    border: 1px solid #c5cae9;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #fafafe;
}

.cfm-preview-group-hdr[b-z7ptx4aq9l] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #263238;
    margin-bottom: 0.35rem;
}

.cfm-preview-group-desc[b-z7ptx4aq9l] {
    font-size: 0.6875rem;
    color: #90a4ae;
    margin-bottom: 0.5rem;
}

.cfm-preview-info[b-z7ptx4aq9l] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.cfm-preview-info i[b-z7ptx4aq9l] { margin-top: 2px; flex-shrink: 0; }

.cfm-radio-stack[b-z7ptx4aq9l] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cfm-preview-error[b-z7ptx4aq9l] {
    font-size: 0.72rem;
    color: #e53935;
    margin-top: 3px;
}

.cfm-preview-footer[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cfm-validate-ok[b-z7ptx4aq9l] {
    font-size: 0.8rem;
    color: #2e7d32;
}

.cfm-validate-err[b-z7ptx4aq9l] {
    font-size: 0.8rem;
    color: #e53935;
}

.cfm-btn-export[b-z7ptx4aq9l] { background: transparent; color: #1565c0; border: 1px solid #bbdefb; }
.cfm-btn-export:hover[b-z7ptx4aq9l] { background: #e3f2fd; }

.cfm-btn-import[b-z7ptx4aq9l] { background: transparent; color: #5c6bc0; border: 1px solid #c5cae9; }
.cfm-btn-import:hover[b-z7ptx4aq9l] { background: #e8eaf6; }

.cfm-btn-ghost[b-z7ptx4aq9l] { background: transparent; color: #546e7a; border: 1px solid #cfd8dc; }
.cfm-btn-ghost:hover[b-z7ptx4aq9l] { background: #eceff1; }

/* ============================
   Import modal elements
   ============================ */

.cfm-import-dropzone[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border: 2px dashed #c5cae9;
    border-radius: 6px;
    background: #fafafe;
    color: #546e7a;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.cfm-import-dropzone.cfm-dropzone-over[b-z7ptx4aq9l],
.cfm-import-dropzone:hover[b-z7ptx4aq9l] {
    border-color: #7986cb;
    background: #f0f1ff;
}

.cfm-import-dropzone-icon[b-z7ptx4aq9l] {
    font-size: 1.5rem;
    color: #9fa8da;
}

.cfm-browse-link[b-z7ptx4aq9l] {
    color: var(--phos-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin: 0;
}

.cfm-import-or[b-z7ptx4aq9l] {
    text-align: center;
    font-size: 0.75rem;
    color: #90a4ae;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cfm-import-or[b-z7ptx4aq9l]::before,
.cfm-import-or[b-z7ptx4aq9l]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eceff1;
}

.cfm-import-textarea[b-z7ptx4aq9l] {
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    min-height: 120px;
    resize: vertical;
}

.cfm-import-valid[b-z7ptx4aq9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}


.cfm-drop-target[b-z7ptx4aq9l] { border: 2px dashed var(--phos-primary) !important; background: rgba(0,0,0,0.02) !important; }

/* Mobile tweaks for cfm */
@media (max-width: 767.98px) {
    .cfm-field-name[b-z7ptx4aq9l] { white-space: normal; min-width: 60px; }
    .cfm-field-desc[b-z7ptx4aq9l] { display: none; }
    .cfm-field-tags[b-z7ptx4aq9l] { flex-wrap: wrap; }
    .cfm-modal-dialog[b-z7ptx4aq9l] { margin: 0.5rem; max-width: calc(100vw - 1rem) !important; }
    .cfm-modal-body[b-z7ptx4aq9l] { padding: 1rem; }
    .cfm-form-row[b-z7ptx4aq9l] { flex-wrap: wrap; }
    .cfm-form-row > div[b-z7ptx4aq9l] { flex: 1 1 100% !important; }
    .cfm-toolbar[b-z7ptx4aq9l] { gap: 0.25rem; }
    .cfm-toolbar .cfm-btn[b-z7ptx4aq9l] { font-size: 0.6rem; padding: 0.3rem 0.5rem; }
}
/* /Components/Shared/PhosDatePicker.razor.rz.scp.css */
.phos-dp[b-8wghgzkuqg] {
    position: relative;
    display: block;
}

.phos-dp-text-input[b-8wghgzkuqg] {
    padding-right: 2.5rem !important;
    cursor: pointer;
    background-color: #fff !important; /* override Bootstrap [readonly] grey */
}

.phos-dp-text-input:focus[b-8wghgzkuqg] {
    outline: none;
}

.phos-dp-icon-btn[b-8wghgzkuqg] {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--phos-primary);
    cursor: pointer;
    padding: 0.15rem 0.25rem;
    line-height: 1;
    font-size: 0.85rem;
    pointer-events: auto;
    transition: color 0.15s;
}

.phos-dp-icon-btn:hover[b-8wghgzkuqg] {
    color: var(--phos-primary-dark);
}
/* /Components/Shared/RichTextEditor.razor.rz.scp.css */
/* === Markdown Editor — GitHub-inspired Write/Preview editor === */

.mde-wrapper[b-xege7hvogn] {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    font-size: 0.875rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mde-wrapper:focus-within[b-xege7hvogn] {
    border-color: var(--phos-primary, #3949ab);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--phos-primary, #3949ab) 15%, transparent);
}

/* ── Tab bar + Toolbar ── */
.mde-header[b-xege7hvogn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d0d7de;
    background: #f6f8fa;
    padding: 0 0.5rem;
    min-height: 40px;
    gap: 0.5rem;
}

.mde-tabs[b-xege7hvogn] {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.mde-tab[b-xege7hvogn] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #57606a;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.12s, border-color 0.12s, background 0.12s;
    border-radius: 4px 4px 0 0;
}

.mde-tab:hover[b-xege7hvogn] {
    color: #24292f;
    background: rgba(0, 0, 0, 0.04);
}

.mde-tab-active[b-xege7hvogn] {
    color: #24292f;
    border-bottom-color: var(--phos-primary, #3949ab);
    background: #fff;
}

/* ── Toolbar ── */
.mde-toolbar[b-xege7hvogn] {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: wrap;
}

.mde-tb-btn[b-xege7hvogn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 4px;
    color: #57606a;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.12s, background 0.12s;
}

.mde-tb-btn:hover[b-xege7hvogn] {
    background: rgba(0, 0, 0, 0.07);
    color: #24292f;
}

.mde-tb-sep[b-xege7hvogn] {
    display: inline-block;
    width: 1px;
    height: 16px;
    background: #d0d7de;
    margin: 0 4px;
    flex-shrink: 0;
}

/* ── Textarea ── */
.mde-textarea[b-xege7hvogn] {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    resize: vertical;
    padding: 0.75rem;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #24292f;
    background: #fff;
    min-height: var(--mde-min-height, 120px);
    box-sizing: border-box;
    tab-size: 2;
}

.mde-textarea[b-xege7hvogn]::placeholder {
    color: #8c959f;
    font-style: italic;
}

/* ── Preview ── */
.mde-preview[b-xege7hvogn] {
    padding: 0.75rem;
    min-height: var(--mde-min-height, 120px);
}

/* ── ReadOnly ── */
.mde-readonly[b-xege7hvogn] {
    border: none;
    border-radius: 0;
    background: transparent;
}

.mde-readonly:focus-within[b-xege7hvogn] {
    border: none;
    box-shadow: none;
}

.mde-readonly .markdown-body[b-xege7hvogn] {
    padding: 0;
}

/* /Components/Shared/TagSelect.razor.rz.scp.css */
/* ============================
   Tag Select Component
   ============================ */

.tag-select[b-uwldqvyaaa] {
    position: relative;
}

.tag-select-box[b-uwldqvyaaa] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    min-height: 36px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #cfd8dc;
    border-radius: 4px;
    background: #fafafa;
    cursor: text;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-select-open .tag-select-box[b-uwldqvyaaa] {
    border-color: #5c6bc0;
    box-shadow: 0 0 0 2px rgba(92,107,192,0.12);
    background: #fff;
}

.tag-select-pill[b-uwldqvyaaa] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 1rem;
    background: #1976d2;
    color: #fff;
    white-space: nowrap;
    user-select: none;
}

.tag-select-pill-remove[b-uwldqvyaaa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 2px;
}

.tag-select-pill-remove:hover[b-uwldqvyaaa] { color: #fff; }

.tag-select-input[b-uwldqvyaaa] {
    flex: 1;
    min-width: 60px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.8125rem;
    color: #263238;
    padding: 0.15rem 0;
}

.tag-select-input[b-uwldqvyaaa]::placeholder { color: #b0bec5; }

.tag-select-clear[b-uwldqvyaaa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #90a4ae;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0 0.25rem;
    flex-shrink: 0;
}

.tag-select-clear:hover[b-uwldqvyaaa] { color: #546e7a; }

.tag-select-dropdown[b-uwldqvyaaa] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #fff;
    border: 1px solid #cfd8dc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
}

.tag-select-option[b-uwldqvyaaa] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    color: #263238;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.tag-select-option:last-child[b-uwldqvyaaa] { border-bottom: none; }
.tag-select-option:hover[b-uwldqvyaaa] { background: #1976d2; color: #fff; }
.tag-select-option.selected[b-uwldqvyaaa] { background: #1976d2; color: #fff; }
