/* /Components/Layout/AuthorisationLayout.razor.rz.scp.css */
.page[b-72vv4j3v0c] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-72vv4j3v0c] {
    flex: 1;
}

.sidebar[b-72vv4j3v0c] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-72vv4j3v0c] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-72vv4j3v0c]  a, .top-row[b-72vv4j3v0c]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-72vv4j3v0c]  a:hover, .top-row[b-72vv4j3v0c]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-72vv4j3v0c]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-72vv4j3v0c] {
        justify-content: space-between;
    }

    .top-row[b-72vv4j3v0c]  a, .top-row[b-72vv4j3v0c]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-72vv4j3v0c] {
        flex-direction: row;
    }

    .sidebar[b-72vv4j3v0c] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-72vv4j3v0c] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-72vv4j3v0c]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-72vv4j3v0c], article[b-72vv4j3v0c] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-72vv4j3v0c] {
    background: var(--brand-primary-light, #fff8f0);
    border-top: 3px solid var(--brand-primary, #f7931e);
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    display: none;
    left: 0;
    padding: 14px 3.25rem 14px 20px;
    position: fixed;
    width: 100%;
    z-index: 2000;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 13px;
    color: #33353F;
}

    #blazor-error-ui .blazor-error-icon[b-72vv4j3v0c] {
        color: var(--brand-primary, #f7931e);
        font-size: 16px;
        margin-right: 8px;
    }

    #blazor-error-ui .reload[b-72vv4j3v0c] {
        color: #fff;
        background-color: var(--brand-primary, #f7931e);
        border: 2px solid var(--brand-primary, #f7931e);
        border-radius: 0.75rem;
        padding: 6px 16px;
        margin-left: 16px;
        text-decoration: none;
        font-weight: 600;
        display: inline-block;
    }

        #blazor-error-ui .reload:hover[b-72vv4j3v0c] {
            background-color: var(--brand-primary-dark, #e58419);
            border-color: var(--brand-primary-dark, #e58419);
            color: #fff;
        }

    #blazor-error-ui .dismiss[b-72vv4j3v0c] {
        cursor: pointer;
        position: absolute;
        right: 0.9rem;
        top: 0.9rem;
        color: #7f8082;
        font-size: 16px;
        text-decoration: none;
    }

        #blazor-error-ui .dismiss:hover[b-72vv4j3v0c] {
            color: #33353F;
        }
/* /Components/Layout/ManagementLayout.razor.rz.scp.css */
.page[b-ymnsa4rn4m] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden !important
}

main[b-ymnsa4rn4m] {
    flex: 1;
    /* Flex items default to min-width: auto, which lets a wide table stretch main past the
       screen instead of scrolling inside its .table-responsive-container. */
    min-width: 0;
}

.sidebar[b-ymnsa4rn4m] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* ----------------------------------- */
/* dropdown stuff */

/* Base Container & Structural Resets */
.dropdown[b-ymnsa4rn4m] {
    display: inline-block;
}

/* Remove default Bootstrap arrow markup indicators */
.profile-btn.dropdown-toggle[b-ymnsa4rn4m]::after {
    display: none !important;
}

/* Trigger Button Styles (matches dark top navbar styling) */
.profile-btn[b-ymnsa4rn4m] {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    gap: 16px;
}

.trigger-text-group[b-ymnsa4rn4m] {
    line-height: 1.3;
}

.trigger-user-name[b-ymnsa4rn4m] {
    font-size: 0.8rem;
  
    color: #C3C3C3;
}

.login-status[b-ymnsa4rn4m] {
    font-size: 12px;
    color: #7b7b7b;
}

.custom-arrow[b-ymnsa4rn4m] {
    font-size: 8px;
    color: #7b7b7b;
    margin-bottom: 2px;
}

/* The Popup Card Context Box Container */
.profile-popup.dropdown-menu[b-ymnsa4rn4m] {
    width: 220px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    margin-top: -50px !important;
    z-index: 9999;
}

/* Header Context Element Alignment */
.popup-header-wrapper[b-ymnsa4rn4m] {
    padding: 0 16px 2px 16px;
}

.popup-header[b-ymnsa4rn4m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info[b-ymnsa4rn4m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Explicit Gray Font Colors matching your image */
.user-name[b-ymnsa4rn4m] {
    font-size: 15px;
    font-weight: 500;
    color: #7d7d7d; /* Muted gray name header */
}

.last-login[b-ymnsa4rn4m] {
    font-size: 12px;
    color: #757575; /* Slate gray info label text */
    margin-top: -5px;
}

.arrow-icon[b-ymnsa4rn4m] {
    font-size: 8px;
    color: #000000;
    margin-top: 5px;
    
}

/* Ultra Thin Divider Settings */
.popup-divider[b-ymnsa4rn4m] {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 14px 0 10px 0;
    opacity: 1;
}

/* Menu Actions Padding and Grid Spacing */
.menu-link.dropdown-item[b-ymnsa4rn4m] {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #7d7d7d;
    border-radius: 4px;
    background-color: transparent;
     transition: none; 
    margin-left: 10px;
    width: 90%;

}

/* Alignment container for icons */
.menu-icon-wrapper[b-ymnsa4rn4m] {
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 14px;
}

.menu-icon[b-ymnsa4rn4m] {
    color: #666666;
}

/* Active Orange Selection Styles Override */
.menu-link.dropdown-item:hover[b-ymnsa4rn4m],
.menu-link.dropdown-item:focus[b-ymnsa4rn4m] {
    background-color: var(--brand-primary, #ff6600) !important;
    color: #ffffff !important;
}

    .menu-link.dropdown-item:hover .menu-icon[b-ymnsa4rn4m] {
        color: #ffffff;
    }

/* ----------------------------------- */
/* Row stuff */

.top-row[b-ymnsa4rn4m] {
    background-color: #313232;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    height: 60px;
    display: flex;
    align-items: center;
}

    .top-row[b-ymnsa4rn4m]  a, .top-row[b-ymnsa4rn4m]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-ymnsa4rn4m]  a:hover, .top-row[b-ymnsa4rn4m]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-ymnsa4rn4m]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.logo-container[b-ymnsa4rn4m] {
    display: inline-block;
    line-height: 50px;
    height: 53px;
    border: 1px solid white;
    background-color: white;
    border-radius: 5px;
    margin-left: 5px;
}

    .logo-container img[b-ymnsa4rn4m] {
        max-height: 40px;
        max-width: 290px;
        padding: 0 6px;
    }

@media (max-width: 640.98px) {
    .top-row[b-ymnsa4rn4m] {
        justify-content: space-between;
    }

        .top-row[b-ymnsa4rn4m]  a, .top-row[b-ymnsa4rn4m]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-ymnsa4rn4m] {
        flex-direction: row;
    }

    .sidebar[b-ymnsa4rn4m] {
        width: 300px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ymnsa4rn4m] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-ymnsa4rn4m]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-ymnsa4rn4m], article[b-ymnsa4rn4m] {
        padding-right: 1.5rem !important;
        margin-left: -24px;
    }
}

.vertical-line[b-ymnsa4rn4m] {
    border-left: 2px solid black; /* Thickness and color */
    height: 50px; /* Length of the line */
    margin-right: 24px;
}

.bg-custom-dark[b-ymnsa4rn4m] {
    background-color: #212529;
}

.profile-btn[b-ymnsa4rn4m] {
    background: none;
    border: none;
    text-align: left;
    color: #e0e0e0;
    transition: opacity 0.2s;
    vertical-align: middle;
}

    .profile-btn:hover[b-ymnsa4rn4m] {
        opacity: 0.8;
    }

    .profile-btn[b-ymnsa4rn4m]::after {
        display: none !important; /* Removes default bootstrap arrow */
    }

.user-name[b-ymnsa4rn4m] {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: black;
}

.login-status[b-ymnsa4rn4m] {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #888888;
}

.custom-arrow[b-ymnsa4rn4m] {
    display: inline-block;
    padding: 3px;
    margin-left: 12px;
    margin-bottom: 4px;
    transform: rotate(-180deg);
}

/* Sub-header Navigation Bar */
.sub-navbar[b-ymnsa4rn4m] {
    background-color: #F6F6F6;
    border-bottom: 2px solid #e0e0e0;
    height: 50px;
}

.nav-label[b-ymnsa4rn4m] {
    width: 295px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #495057;
    display: flex;
    align-items: center;
    padding-left: 0;
    /*transition: width 0.25s ease;*/
    white-space: nowrap;
    overflow: hidden;
    background-color: white;
    height: 110%;
    gap: 0;
}

.nav-label-text[b-ymnsa4rn4m] {
    padding-left: 4px;
    /*transition: opacity 0.2s ease, width 0.2s ease;*/
    overflow: hidden;
    margin-left: 10px
}

.toggle-btn[b-ymnsa4rn4m] {
    border: none !important;
    width: 56px;
    min-width: 56px;
    color: black;
    height: 100%;
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F6F6
}

.tab-dashboard[b-ymnsa4rn4m] {
    border-bottom: 2px solid orange;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #212529;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: #F6F6F6;
    border-left: 1px solid #F2f2f2;
}

.breadcrumb-nav[b-ymnsa4rn4m] {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.breadcrumb[b-ymnsa4rn4m] {
    font-size: 0.78rem;
    color: #6c757d;
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item[b-ymnsa4rn4m]::before {
    color: #adb5bd;
}

.breadcrumb-item a[b-ymnsa4rn4m] {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active[b-ymnsa4rn4m] {
    color: var(--brand-primary, #f09224);
    font-weight: 500;
}

/* Main Layout Area */
.app-container[b-ymnsa4rn4m] {
    min-height: calc(100vh - 110px);
    overflow: hidden;
    position: relative;
}

/* Left Sidebar Rail — the actual flex item next to the page content. Its width never changes
   on hover (only .sidebar-panel inside it does), so the page content never shifts. */
.sidebar-rail[b-ymnsa4rn4m] {
    width: 300px;
    flex-shrink: 0;
    position: relative;
}

/* Left Sidebar Panel */
.sidebar-panel[b-ymnsa4rn4m] {
    width: 100%;
    height: 100%;
    background-color: white;
    /*transition: width 0.25s ease;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -5px 0 0 #F6F6F6 inset;
    white-space: nowrap;
}

/* Mobile sidebar overlay — hidden on desktop */
.sidebar-overlay[b-ymnsa4rn4m] {
    display: none;
}

.sidebar-box[b-ymnsa4rn4m] {
    border: 1px solid #e5e7eb;
    margin: 10px;
    flex-grow: 1;
    background-color: #ffffff;
    /*transition: margin 0.3s ease;*/
}

/* Footer styles */
[b-ymnsa4rn4m] .footer-panel {
    background-color: #323232;
    width: 294px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 1.2rem;
    /*transition: width 0.3s ease, padding 0.3s ease;*/
    white-space: nowrap;
}

/* Main White Content Area */
.content-area[b-ymnsa4rn4m] {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    min-height: calc(100vh - 134px);
}

/* Collapsed Sidebar State — icon-rail only */
.sidebar-collapsed .sidebar-rail[b-ymnsa4rn4m] {
    width: 56px;
}

/* The rail's own width (above) stays fixed at 56px even on hover — .sidebar-panel is
   absolutely positioned within it so growing to 300px floats over the page content instead
   of pushing/resizing it (the rail itself never changes size, so the flex layout never
   recalculates and the page never shifts). */
.sidebar-collapsed .sidebar-panel[b-ymnsa4rn4m] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}

    /* On hover: expand over the page so content layout is unaffected */
    .sidebar-collapsed .sidebar-panel:hover[b-ymnsa4rn4m] {
        width: 300px;
        z-index: 50;
        box-shadow: 4px 0 16px rgba(0,0,0,0.15);
    }

        .sidebar-collapsed .sidebar-panel:hover[b-ymnsa4rn4m]  .footer-panel {
            width: 100%
        }

.sidebar-collapsed .nav-label[b-ymnsa4rn4m] {
    width: 56px;
    padding-left: 0;
    justify-content: center;
    overflow: hidden;
}

    .sidebar-collapsed .nav-label .nav-label-text[b-ymnsa4rn4m] {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }

.sidebar-collapsed .toggle-btn[b-ymnsa4rn4m] {
    width: 56px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-collapsed .sidebar-box[b-ymnsa4rn4m] {
    margin: 10px 4px;
}

.sidebar-collapsed[b-ymnsa4rn4m]  .footer-panel {
    width: 95%;
    padding-left: 0;
    justify-content: center;
}
/* Hide text labels when collapsed and not hovered */
.sidebar-collapsed .sidebar-panel:not(:hover) .icon-container span[b-ymnsa4rn4m] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-collapsed .sidebar-panel:not(:hover)[b-ymnsa4rn4m]  .footer-panel p {
    opacity: 0;
    width: 0;
    overflow: hidden;
}
/* Icons deliberately keep their normal (expanded) padding-left/justify-content here rather than
   re-centering for the narrow collapsed rail — recentering made every icon jump sideways the
   instant the sidebar expanded on hover, since the label span (hidden via width:0 above) reveals
   without needing the icon itself to move. */

.icon-container[b-ymnsa4rn4m] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
    color: black;
    width: 100%;
    margin-bottom: 6px;
    padding-left: 17px;
    padding-bottom: 10px;
    padding-top: 13px;
}

    .icon-container i[b-ymnsa4rn4m] {
        font-size: 1.15rem;
    }

    .icon-container span[b-ymnsa4rn4m] {
        font-size: 0.8rem;
        transition: opacity 0.2s ease, width 0.2s ease;
        margin-top: 3px
    }

    .icon-container:hover[b-ymnsa4rn4m] {
        color: var(--brand-primary, orange);
        background-color: #f5f5f5
    }

    .icon-container.active[b-ymnsa4rn4m] {
        color: var(--brand-primary, orange);
        font-weight: 600;
        box-shadow: 2px 0 0 var(--brand-primary, #f7931e) inset;
    }

    .icon-container-disabled[b-ymnsa4rn4m] {
        opacity: 0.45;
        cursor: not-allowed;
    }

        .icon-container-disabled:hover[b-ymnsa4rn4m] {
            color: black;
            background-color: transparent;
        }

/* .refresh-button now lives in wwwroot/styles/shared.css (shared with PageLayout). */
/* ===== MOBILE HEADER OVERFLOW MENU =====
   Hidden on desktop, where the profile dropdown is shown directly in the top row (see the mobile
   media query below, which hides it and reveals this instead). */
.mobile-header-menu[b-ymnsa4rn4m] {
    display: none;
    position: relative;
}

.mobile-header-menu-trigger[b-ymnsa4rn4m] {
    background: none;
    border: none;
    color: #C3C3C3;
    font-size: 22px;
    line-height: 1;
    padding: 4px 10px;
    cursor: pointer;
}

.mobile-header-menu-overlay[b-ymnsa4rn4m] {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mobile-header-menu-panel[b-ymnsa4rn4m] {
    position: absolute;
    top: 100%;
    right: 0;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 10000;
}

    .mobile-header-menu-panel li[b-ymnsa4rn4m] {
        padding: 6px 16px;
        font-size: 0.78rem;
        color: #333333;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .mobile-header-menu-panel .mobile-menu-divider[b-ymnsa4rn4m] {
        border-top: 1px solid #f0f0f0;
        margin: 4px 0;
        padding: 0;
    }

.mobile-menu-item[b-ymnsa4rn4m] {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 6px 16px;
    font-size: 0.78rem;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .mobile-menu-item:hover[b-ymnsa4rn4m] {
        background-color: #f5f5f5;
    }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .top-row[b-ymnsa4rn4m] {
        padding: 0 10px;
        flex-wrap: nowrap;
        gap: 6px;
    }

        .top-row img[b-ymnsa4rn4m] {
            max-width: 40px !important;
            margin-left: 0 !important;
        }

        .top-row p[b-ymnsa4rn4m] {
            font-size: 0.7rem;
            margin-top: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 80px;
        }

    .user-name[b-ymnsa4rn4m] {
        display: none;
    }

    .login-status[b-ymnsa4rn4m] {
        display: none;
    }

    .vertical-line[b-ymnsa4rn4m] {
        display: none;
    }

    /* Consolidated into .mobile-header-menu's single chevron dropdown instead (see markup and the
       base styles above). */
    .profile-dropdown[b-ymnsa4rn4m] {
        display: none;
    }

    .mobile-header-menu[b-ymnsa4rn4m] {
        display: flex;
        align-items: center;
    }

    .sub-navbar[b-ymnsa4rn4m] {
        padding: 0 8px;
    }

    /* The "Navigation" text is dropped, but the burger toggle button inside .nav-label must stay
       visible/clickable — it was previously clipped away entirely by width:0 + overflow:hidden,
       leaving mobile users with no way to open the drawer at all. */
    .nav-label[b-ymnsa4rn4m] {
        width: auto;
        padding-left: 0;
        overflow: visible;
        background-color: transparent;
    }

    .nav-label-text[b-ymnsa4rn4m] {
        display: none;
    }

    .app-container[b-ymnsa4rn4m] {
        position: relative;
    }

    /* .sidebar-panel is position:fixed below (out of flow entirely) on mobile, so the rail
       doesn't need to reserve any space for it here. */
    .sidebar-rail[b-ymnsa4rn4m] {
        width: 0;
    }

    .sidebar-panel[b-ymnsa4rn4m] {
        position: fixed;
        top: 0;
        left: -260px;
        height: 100vh;
        z-index: 100;
        width: 240px;
        /*transition: left 0.3s ease;*/
        background-color: #fff;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    }

        .sidebar-panel.mobile-open[b-ymnsa4rn4m] {
            left: 0;
        }

    [b-ymnsa4rn4m] .footer-panel {
        width: 240px;
    }

    /* Deliberately no ".sidebar-collapsed .sidebar-panel" override here — "sidebar-collapsed" is
       the separate desktop icon-rail feature (event.js now skips toggling it below this same
       768px breakpoint), and a rule reasserting the same left/width values it used to redeclare
       had equal CSS specificity to ".sidebar-panel.mobile-open" above and, on ties, source order
       decided the winner — so if that class was ever present it silently fought the drawer's own
       open state instead of just being a no-op. The base closed-state values below already cover
       the closed case; ".mobile-open" is the only thing that should ever open it here. */
    .sidebar-overlay[b-ymnsa4rn4m] {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }

        .sidebar-overlay.active[b-ymnsa4rn4m] {
            display: block;
        }
}
/* /Components/Layout/Pagelayout.razor.rz.scp.css */
.page[b-6nemo49pfx] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden !important
}

main[b-6nemo49pfx] {
    flex: 1;
    /* Flex items default to min-width: auto, which lets a wide table (e.g. the user list's
       no-wrap columns) stretch main past the screen instead of scrolling inside its
       .table-responsive-container. */
    min-width: 0;
}

.sidebar[b-6nemo49pfx] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* ----------------------------------- */
/* dropdown stuff */

/* Base Container & Structural Resets */
.dropdown[b-6nemo49pfx] {
    display: inline-block;
}

/* Remove default Bootstrap arrow markup indicators */
.profile-btn.dropdown-toggle[b-6nemo49pfx]::after {
    display: none !important;
}

/* Trigger Button Styles (matches dark top navbar styling) */
.profile-btn[b-6nemo49pfx] {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    gap: 16px;
    margin-right: -21px;
}

.trigger-text-group[b-6nemo49pfx] {
    line-height: 1.3;
}

.trigger-user-name[b-6nemo49pfx] {
    font-size: 0.8rem;
  
    color: #C3C3C3;
}

.login-status[b-6nemo49pfx] {
    font-size: 12px;
    color: #7b7b7b;
}

.custom-arrow[b-6nemo49pfx] {
    font-size: 8px;
    color: #7b7b7b;
    margin-bottom: 2px;
}

/* The Popup Card Context Box Container */
.profile-popup.dropdown-menu[b-6nemo49pfx] {
    width: 220px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    margin-top: -50px !important;
    z-index: 9999;
}

/* Header Context Element Alignment */
.popup-header-wrapper[b-6nemo49pfx] {
    padding: 0 16px 2px 16px;
}

.popup-header[b-6nemo49pfx] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info[b-6nemo49pfx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Explicit Gray Font Colors matching your image */
.user-name[b-6nemo49pfx] {
    font-size: 15px;
    font-weight: 500;
    color: #7d7d7d; /* Muted gray name header */
}

.last-login[b-6nemo49pfx] {
    font-size: 12px;
    color: #757575; /* Slate gray info label text */
    margin-top: -5px;
}

.arrow-icon[b-6nemo49pfx] {
    font-size: 8px;
    color: #000000;
    margin-top: 5px;
    
}

/* Ultra Thin Divider Settings */
.popup-divider[b-6nemo49pfx] {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 14px 0 10px 0;
    opacity: 1;
}

/* Menu Actions Padding and Grid Spacing */
.menu-link.dropdown-item[b-6nemo49pfx] {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #7d7d7d;
    border-radius: 4px;
    background-color: transparent;
     transition: none; 
    margin-left: 10px;
    width: 90%;

}

/* Alignment container for icons */
.menu-icon-wrapper[b-6nemo49pfx] {
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 14px;
}

.menu-icon[b-6nemo49pfx] {
    color: #666666;
}

/* Active Orange Selection Styles Override */
.menu-link.dropdown-item:hover[b-6nemo49pfx],
.menu-link.dropdown-item:focus[b-6nemo49pfx] {
    background-color: var(--brand-primary, #ff6600) !important;
    color: #ffffff !important;
}

    .menu-link.dropdown-item:hover .menu-icon[b-6nemo49pfx] {
        color: #ffffff;
    }

.menu-link[b-6nemo49pfx] {
    text-decoration: none;
}

/* ----------------------------------- */
/* Row stuff */

.top-row[b-6nemo49pfx] {
    background-color: #313232;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    height: 60px;
    display: flex;
    align-items: center;
}

    .top-row[b-6nemo49pfx]  a, .top-row[b-6nemo49pfx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-6nemo49pfx]  a:hover, .top-row[b-6nemo49pfx]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-6nemo49pfx]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.logo-container[b-6nemo49pfx] {
    display: inline-block;
    line-height: 50px;
    height: 53px;
    border: 1px solid white;
    background-color: white;
    border-radius: 5px;
    margin-left: 5px;
}

    .logo-container img[b-6nemo49pfx] {
        max-height: 40px;
        max-width: 290px;
        padding: 0 6px;
    }

@media (max-width: 640.98px) {
    .top-row[b-6nemo49pfx] {
        justify-content: space-between;
    }

        .top-row[b-6nemo49pfx]  a, .top-row[b-6nemo49pfx]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-6nemo49pfx] {
        flex-direction: row;
    }

    .sidebar[b-6nemo49pfx] {
        width: 300px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6nemo49pfx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-6nemo49pfx]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-6nemo49pfx], article[b-6nemo49pfx] {
        padding-right: 1.5rem !important;
        margin-left: -24px;
    }
}

.vertical-line[b-6nemo49pfx] {
    border-left: 2px solid black; /* Thickness and color */
    height: 50px; /* Length of the line */
    margin-right: 24px;
}

/* Current user's branch(es) — fixed size, truncated with an ellipsis; the full list shows on hover. */
.branch-label[b-6nemo49pfx] {
    max-width: 180px;
    margin-top: 16px;
    margin-right: 24px;
    font-size: 0.8rem;
    color: lightgray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

/* Queue hub connection-status indicator */
.connection-status[b-6nemo49pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    font-size: 0.78rem;
    color: #C3C3C3;
    white-space: nowrap;
}

.connection-dot[b-6nemo49pfx] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.connection-status.connected .connection-dot[b-6nemo49pfx] {
    background: #3ecf8e;
    box-shadow: 0 0 0 rgba(62, 207, 142, 0.6);
    animation: connection-pulse-b-6nemo49pfx 1.6s infinite;
}

.connection-status.reconnecting .connection-dot[b-6nemo49pfx] {
    background: var(--brand-primary, #f7931e);
    animation: connection-pulse-orange-b-6nemo49pfx 1s infinite;
}

.connection-status.disconnected .connection-dot[b-6nemo49pfx] {
    background: #e5484d;
}

@keyframes connection-pulse-b-6nemo49pfx {
    0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(62, 207, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}

@keyframes connection-pulse-orange-b-6nemo49pfx {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Agent status (Online/Away/Offline) dot — shown next to the trigger button label and next to
   each option in the status dropdown below. */
.agent-status-dot[b-6nemo49pfx] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
    margin-bottom: 5px;
}

.agent-status-dot.online[b-6nemo49pfx] { background: #3ecf8e; }
.agent-status-dot.away[b-6nemo49pfx] { background: var(--brand-primary, #f7931e); }
.agent-status-dot.offline[b-6nemo49pfx] { background: #e5484d; }

/* Agent status dropdown — a lightweight custom dropdown (rather than a nested Bootstrap
   dropdown-toggle) since it lives inside the existing profile-popup .dropdown-menu already. */
.agent-status-dropdown[b-6nemo49pfx] {
    position: relative;
    margin-top: 8px;
}

.agent-status-trigger[b-6nemo49pfx] {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.agent-status-caret[b-6nemo49pfx] {
    margin-left: 6px;
    font-size: 10px;
    color: #999999;
    margin-bottom: 5px;
}

.agent-status-menu[b-6nemo49pfx] {
    position: absolute;
    top: 100%;
    left: -13px;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    min-width: 90px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    width: 95px;
}

.agent-status-item[b-6nemo49pfx] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #333333;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.agent-status-item:hover[b-6nemo49pfx] {
    background-color: #f5f5f5;
}

.agent-status-overlay[b-6nemo49pfx] {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/* Notification dropdown defaults to 300px wide, which can overflow a narrow phone viewport
   despite Bootstrap's collision-aware Popper positioning — clamp it below that width. */
.notification-dropdown-menu[b-6nemo49pfx] {
    min-width: 300px;
}

@media (max-width: 420px) {
    .notification-dropdown-menu[b-6nemo49pfx] {
        min-width: unset;
        width: calc(100vw - 32px);
    }
}

.bg-custom-dark[b-6nemo49pfx] {
    background-color: #212529;
}

.profile-btn[b-6nemo49pfx] {
    background: none;
    border: none;
    text-align: left;
    color: #e0e0e0;
    transition: opacity 0.2s;
    vertical-align: middle;
    margin-right: -21px;
}

    .profile-btn:hover[b-6nemo49pfx] {
        opacity: 0.8;
    }

    .profile-btn[b-6nemo49pfx]::after {
        display: none !important; /* Removes default bootstrap arrow */
    }

.user-name[b-6nemo49pfx] {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: black;
}

.login-status[b-6nemo49pfx] {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #888888;
}

.custom-arrow[b-6nemo49pfx] {
    display: inline-block;
    padding: 3px;
    margin-left: 12px;
    margin-bottom: 4px;
    transform: rotate(-180deg);
}

/* Sub-header Navigation Bar */
.sub-navbar[b-6nemo49pfx] {
    background-color: #F6F6F6;
    border-bottom: 2px solid #e0e0e0;
    height: 50px;
}

.nav-label[b-6nemo49pfx] {
    width: 295px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #495057;
    display: flex;
    align-items: center;
    padding-left: 0;
    /*transition: width 0.25s ease;*/
    white-space: nowrap;
    overflow: hidden;
    background-color: white;
    height: 110%;
    gap: 0;
}

.nav-label-text[b-6nemo49pfx] {
    padding-left: 4px;
    /*transition: opacity 0.2s ease, width 0.2s ease;*/
    overflow: hidden;
    margin-left: 10px
}

.toggle-btn[b-6nemo49pfx] {
    border: none !important;
    width: 56px;
    min-width: 56px;
    color: black;
    height: 100%;
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F6F6
}

.tab-dashboard[b-6nemo49pfx] {
    border-bottom: 2px solid orange;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #212529;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: #F6F6F6;
    border-left: 1px solid #F2f2f2;
}

.breadcrumb-nav[b-6nemo49pfx] {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.breadcrumb[b-6nemo49pfx] {
    font-size: 0.78rem;
    color: #6c757d;
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item[b-6nemo49pfx]::before {
    color: #adb5bd;
}

.breadcrumb-item a[b-6nemo49pfx] {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active[b-6nemo49pfx] {
    color: var(--brand-primary, #f09224);
    font-weight: 500;
}

/* Main Layout Area */
.app-container[b-6nemo49pfx] {
    min-height: calc(100vh - 110px);
    overflow: hidden;
    position: relative;
}

/* Left Sidebar Rail — the actual flex item next to the page content. Its width never changes
   on hover (only .sidebar-panel inside it does), so the page content never shifts. */
.sidebar-rail[b-6nemo49pfx] {
    width: 300px;
    flex-shrink: 0;
    position: relative;
}

/* Left Sidebar Panel */
.sidebar-panel[b-6nemo49pfx] {
    width: 100%;
    height: 100%;
    background-color: white;
    /*transition: width 0.25s ease;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -5px 0 0 #F6F6F6 inset;
    white-space: nowrap;
}

/* Mobile sidebar overlay — hidden on desktop */
.sidebar-overlay[b-6nemo49pfx] {
    display: none;
}

.sidebar-box[b-6nemo49pfx] {
    border: 1px solid #e5e7eb;
    margin: 10px;
    flex-grow: 1;
    background-color: #ffffff;
    /*transition: margin 0.3s ease;*/
}

/* Footer styles */
[b-6nemo49pfx] .footer-panel {
    background-color: #323232;
    width: 294px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 1.2rem;
    /*transition: width 0.3s ease, padding 0.3s ease;*/
    white-space: nowrap;
}

/* Main White Content Area */
.content-area[b-6nemo49pfx] {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    min-height: calc(100vh - 134px);
}

/* Collapsed Sidebar State — icon-rail only */
.sidebar-collapsed .sidebar-rail[b-6nemo49pfx] {
    width: 56px;
}

/* The rail's own width (above) stays fixed at 56px even on hover — .sidebar-panel is
   absolutely positioned within it so growing to 300px floats over the page content instead
   of pushing/resizing it (the rail itself never changes size, so the flex layout never
   recalculates and the page never shifts). */
.sidebar-collapsed .sidebar-panel[b-6nemo49pfx] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}

    /* On hover: expand over the page so content layout is unaffected */
    .sidebar-collapsed .sidebar-panel:hover[b-6nemo49pfx] {
        width: 300px;
        z-index: 50;
        box-shadow: 4px 0 16px rgba(0,0,0,0.15);
    }

        .sidebar-collapsed .sidebar-panel:hover[b-6nemo49pfx]  .footer-panel {
            width: 100%
        }

.sidebar-collapsed .nav-label[b-6nemo49pfx] {
    width: 56px;
    padding-left: 0;
    justify-content: center;
    overflow: hidden;
}

    .sidebar-collapsed .nav-label .nav-label-text[b-6nemo49pfx] {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }

.sidebar-collapsed .toggle-btn[b-6nemo49pfx] {
    width: 56px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-collapsed .sidebar-box[b-6nemo49pfx] {
    margin: 10px 4px;
}

.sidebar-collapsed[b-6nemo49pfx]  .footer-panel {
    width: 95%;
    padding-left: 0;
    justify-content: center;
}
/* Hide text labels when collapsed and not hovered */
.sidebar-collapsed .sidebar-panel:not(:hover) .icon-container span[b-6nemo49pfx] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-collapsed .sidebar-panel:not(:hover)[b-6nemo49pfx]  .footer-panel p {
    opacity: 0;
    width: 0;
    overflow: hidden;
}
/* Icons deliberately keep their normal (expanded) padding-left/justify-content here rather than
   re-centering for the narrow collapsed rail — recentering made every icon jump sideways the
   instant the sidebar expanded on hover, since the label span (hidden via width:0 above) reveals
   without needing the icon itself to move. */

.icon-container[b-6nemo49pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
    color: black;
    width: 100%;
    margin-bottom: 6px;
    padding-left: 17px;
    padding-bottom: 10px;
    padding-top: 13px;
}

    .icon-container i[b-6nemo49pfx] {
        font-size: 1.15rem;
    }

    .icon-container span[b-6nemo49pfx] {
        font-size: 0.8rem;
        transition: opacity 0.2s ease, width 0.2s ease;
        margin-top: 3px
    }

    .icon-container:hover[b-6nemo49pfx] {
        color: var(--brand-primary, orange);
        background-color: #f5f5f5
    }

    .icon-container.active[b-6nemo49pfx] {
        color: var(--brand-primary, orange);
        font-weight: 600;
        box-shadow: 2px 0 0 var(--brand-primary, #f7931e) inset;
    }

    .icon-container.disabled[b-6nemo49pfx] {
        cursor: not-allowed;
        color: #b7b7b7;
        pointer-events: none;
    }

/* .refresh-button now lives in wwwroot/styles/shared.css (shared with ManagementLayout). */
/* ===== MOBILE HEADER OVERFLOW MENU =====
   Hidden on desktop, where the connection state / agent status / branch / profile dropdown are
   each shown individually in the top row (see the mobile media query below, which hides those and
   reveals this instead). */
.mobile-header-menu[b-6nemo49pfx] {
    display: none;
    position: relative;
}

.mobile-header-menu-trigger[b-6nemo49pfx] {
    background: none;
    border: none;
    color: #C3C3C3;
    font-size: 22px;
    line-height: 1;
    padding: 4px 10px;
    cursor: pointer;
}

.mobile-header-menu-overlay[b-6nemo49pfx] {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mobile-header-menu-panel[b-6nemo49pfx] {
    position: absolute;
    top: 100%;
    right: 0;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 10000;
}

    .mobile-header-menu-panel li[b-6nemo49pfx] {
        padding: 6px 16px;
        font-size: 0.78rem;
        color: #333333;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .mobile-header-menu-panel .mobile-menu-divider[b-6nemo49pfx] {
        border-top: 1px solid #f0f0f0;
        margin: 4px 0;
        padding: 0;
    }

.mobile-menu-item[b-6nemo49pfx] {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 6px 16px;
    font-size: 0.78rem;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .mobile-menu-item:hover[b-6nemo49pfx] {
        background-color: #f5f5f5;
    }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .top-row[b-6nemo49pfx] {
        padding: 0 10px;
        flex-wrap: nowrap;
        gap: 6px;
    }

        .top-row img[b-6nemo49pfx] {
            max-width: 40px !important;
            margin-left: 0 !important;
        }

        .top-row p[b-6nemo49pfx] {
            font-size: 0.7rem;
            margin-top: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 80px;
        }

    .user-name[b-6nemo49pfx] {
        display: none;
    }

    .login-status[b-6nemo49pfx] {
        display: none;
    }

    .vertical-line[b-6nemo49pfx] {
        display: none;
    }

    /* Consolidated into .mobile-header-menu's single chevron dropdown instead (see markup and the
       base styles above) — showing all of these individually doesn't fit a narrow header. */
    .connection-status[b-6nemo49pfx],
    .agent-status-dropdown[b-6nemo49pfx],
    .branch-label[b-6nemo49pfx],
    .profile-dropdown[b-6nemo49pfx] {
        display: none;
    }

    .mobile-header-menu[b-6nemo49pfx] {
        display: flex;
        align-items: center;
    }

    .sub-navbar[b-6nemo49pfx] {
        padding: 0 8px;
    }

    /* The "Navigation" text is dropped, but the burger toggle button inside .nav-label must stay
       visible/clickable — it was previously clipped away entirely by width:0 + overflow:hidden,
       leaving mobile users with no way to open the drawer at all. */
    .nav-label[b-6nemo49pfx] {
        width: auto;
        padding-left: 0;
        overflow: visible;
        background-color: transparent;
    }

    .nav-label-text[b-6nemo49pfx] {
        display: none;
    }

    /* Breadcrumbs add nothing on a phone-width header — there's no room for both the current
       page tab and a breadcrumb trail, and the page name label already identifies the page. */
    .breadcrumb-nav[b-6nemo49pfx] {
        display: none;
    }

    .app-container[b-6nemo49pfx] {
        position: relative;
        /* The body element is globally overflow:hidden (global.css, the app-shell pattern), and
           every page beneath this layout relies on ITS OWN internal scroll container to be
           visible/scrollable — pages built around lists/tables provide one (e.g.
           .user-management-container), but simpler pages like Dashboard don't, so their content
           was silently clipped with no way to scroll to it at all on a short mobile viewport.
           Bounding .app-container's height and letting .flex-grow-1 scroll internally gives every
           page beneath this layout a working scroll region regardless of whether it built its own. */
        height: calc(100vh - 110px);
        overflow: hidden;
    }

    .flex-grow-1[b-6nemo49pfx] {
        height: 100%;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    /* .sidebar-panel is position:fixed below (out of flow entirely) on mobile, so the rail
       doesn't need to reserve any space for it here. */
    .sidebar-rail[b-6nemo49pfx] {
        width: 0;
    }

    .sidebar-panel[b-6nemo49pfx] {
        position: fixed;
        top: 0;
        left: -260px;
        height: 100vh;
        z-index: 100;
        width: 240px;
        /*transition: left 0.3s ease;*/
        background-color: #fff;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    }

        .sidebar-panel.mobile-open[b-6nemo49pfx] {
            left: 0;
        }

    [b-6nemo49pfx] .footer-panel {
        width: 240px;
    }

    /* Deliberately no ".sidebar-collapsed .sidebar-panel" override here — "sidebar-collapsed" is
       the separate desktop icon-rail feature (event.js now skips toggling it below this same
       768px breakpoint), and a rule reasserting the same left/width values it used to redeclare
       had equal CSS specificity to ".sidebar-panel.mobile-open" above and, on ties, source order
       decided the winner — so if that class was ever present it silently fought the drawer's own
       open state instead of just being a no-op. The base closed-state values below already cover
       the closed case; ".mobile-open" is the only thing that should ever open it here. */
    .sidebar-overlay[b-6nemo49pfx] {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }

        .sidebar-overlay.active[b-6nemo49pfx] {
            display: block;
        }
}
/* /Components/Pages/Chat.razor.rz.scp.css */
body[b-16ky96ozuv] {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
}

/* Outer elevated shell — softer, larger radius in line with the rest of the app's card
   surfaces (search-card/user-list-card use the same 0 0 30px 5px #efefef shadow language). */
.chat-shell[b-16ky96ozuv] {
    height: 81vh;
    border-radius: 16px;
    box-shadow: 0 0 30px 5px #efefef;
    overflow: hidden;
}

/* Sidebar structure — a faint off-white so the (now white) chat cards float above it. */
.sidebar-panel[b-16ky96ozuv] {
    width: 350px;
    height: 82vh;
    flex-shrink: 0;
    background-color: #fbfbfd !important;
}

/* Input search customization */
.search-bar .form-control[b-16ky96ozuv] {
    border-radius: 10px 0 0 10px;
    font-size: 0.85rem;
    border-color: #e8e8ec;
}

.search-bar .input-group-text[b-16ky96ozuv] {
    border-radius: 0 10px 10px 0;
    border-color: #e8e8ec;
}

.search-bar .form-control:focus[b-16ky96ozuv] {
    border-color: var(--brand-primary, #f7931e);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 247, 147, 30), 0.12);
}

.filter-text[b-16ky96ozuv] {
    font-size: 0.6rem;
    margin-top: -17px;
    margin-left: 14px;
    margin-bottom: 6px;
}

/* Channel segmented control (WhatsApp / Chatbox) */
.channel-tabs[b-16ky96ozuv] {
    background-color: #f1f3f5;
    border-radius: 12px;
    padding: 4px;
}

.tab-pill[b-16ky96ozuv],
.tab-pill-red[b-16ky96ozuv] {
    border-radius: 9px !important;
    font-weight: 500;
    /* Small horizontal margin so the two fully-rounded pills sit apart inside the shared
       .channel-tabs track, instead of the flat touching edges the old half-rounded corners
       (border-radius: 4px 0 0 4px / 0 4px 4px 0) were designed to butt up against. */
    margin: 0 2px;
    width: calc(100% - 4px) !important;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tab-pill.active[b-16ky96ozuv],
.tab-pill-red.active[b-16ky96ozuv] {
    background-color: var(--brand-primary, #f7931e) !important;
    box-shadow: 0 2px 6px rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
}

/* Chat card layout — a clean white "floating" list item instead of a flat tinted block,
   with a soft lift on hover and a branded accent bar (not a flat grey fill) when selected. */
.chat-card[b-16ky96ozuv] {
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-card:hover[b-16ky96ozuv] {
    background-color: #f8fafc;
    box-shadow: 0 2px 10px rgba(43, 57, 74, 0.06);
}

.active-card[b-16ky96ozuv] {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(43, 57, 74, 0.05);
}

/* Applied to whichever sidebar card matches GlobalService.SelectedConversationId, driven
   entirely from component state — no JS/DOM manipulation needed to keep it in sync. */
.chat-card-selected[b-16ky96ozuv],
.chat-card-selected:hover[b-16ky96ozuv] {
    background-color: rgba(var(--brand-primary-rgb, 247, 147, 30), 0.09);
    box-shadow: none;
    position: relative;
}

.chat-card-selected[b-16ky96ozuv]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background-color: var(--brand-primary, #f7931e);
}

.msg-preview[b-16ky96ozuv] {
    font-size: 0.65rem;
    margin-top: -5px;
}

.time-stamp[b-16ky96ozuv] {
    font-size: 0.65rem;
}

.agent-name[b-16ky96ozuv] {
    right: 15px;
    top: 32px;
    font-size: 0.65rem;
    color: #8e9aa8;
}

/* Branded gradient avatar used in place of the flat bg-secondary grey, for both the sidebar
   list and the chat header. Scoped to Chat.razor only, so it doesn't affect avatars elsewhere. */
.avatar-gradient[b-16ky96ozuv] {
    background: linear-gradient(135deg, var(--brand-primary, #f7931e), var(--brand-primary-dark, #f4b350)) !important;
}

/* Center Panel Grid Layout — see shared.css for: chat-panel, chat-header,
   bubble-user-action, bubble-received, message-time, block-time, divider-notification
   (moved there so HistoryView.razor's read-only message view can reuse the same styling).
   The overrides just below still only apply within Chat.razor's own rendered markup —
   Blazor's CSS isolation scopes every rule in this file — so HistoryView keeps the
   original shared look while this page gets a slightly more refined one. */

.mini-icon[b-16ky96ozuv] {
    font-size: 0.55rem;
}

.username[b-16ky96ozuv]{
    font-size: 14px
}

/* Customer name + subtitle in the chat header — also kept compact to fit the fixed 55px
   .chat-header without clipping. */
.chat-user-name[b-16ky96ozuv] {
    font-size: 0.85rem;
    line-height: 1.2;
    padding-top: 8px;
}

.chat-user-subtitle[b-16ky96ozuv] {
    font-size: 0.65rem;
}

/* Chat header polish — kept compact since .chat-header has a fixed 55px height; the label
   above plus a roomier chip was pushing past the top/bottom edge and getting clipped. */
.status-chip[b-16ky96ozuv],
.priority-chip[b-16ky96ozuv] {
    border: 1px solid #e8e8ec;
    border-radius: 6px;
    padding: 1px 8px;
    font-size: 0.78rem;
    line-height: 1.3;
    background-color: #fff;
    transition: border-color 0.15s ease;
}

.status-chip:hover[b-16ky96ozuv],
.priority-chip:hover[b-16ky96ozuv] {
    border-color: var(--brand-primary, #f7931e);
}

.header-icon-btn[b-16ky96ozuv] {
    border-radius: 8px;
    padding: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-icon-btn:hover[b-16ky96ozuv] {
    background-color: var(--brand-primary-light, #fff3e6);
    color: var(--brand-primary, #f7931e) !important;
}

/* Message bubbles — same shared classes as HistoryView.razor, but this override only
   reaches Chat.razor's rendered DOM thanks to Blazor's per-component CSS scoping. */
.bubble-user-action[b-16ky96ozuv],
.bubble-received[b-16ky96ozuv] {
    border-radius: 16px !important;
    box-shadow: 0 1px 2px rgba(43, 57, 74, 0.06);
}

.bubble-received[b-16ky96ozuv] {
    border-color: #f0f1f4 !important;
}

/* Emojis in message bubbles (markup built by EmojiText, so ::deep is needed to reach it).
   A message of just 1–3 emojis is shown large, WhatsApp-style; emojis mixed into text are
   bumped up a little so they don't look smaller than the letters around them. */
.chat-workspace[b-16ky96ozuv]  .emoji-only {
    display: inline-block;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.chat-workspace[b-16ky96ozuv]  .chat-emoji {
    font-size: 1.4em;
    line-height: 1;
    vertical-align: -0.1em;
}

/* Teams-style animated emojis (Noto Animated Emoji images) — sized to the emoji text they
   replace, so they line up with static emojis in the same message. */
.chat-workspace[b-16ky96ozuv]  .animated-emoji {
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.2em;
    user-select: none;
}

.chat-workspace[b-16ky96ozuv]  .emoji-only .animated-emoji {
    width: 1.2em;
    height: 1.2em;
    margin: 0 0.05em;
}

.divider-notification[b-16ky96ozuv] {
    background-color: #f4f6f9;
    border-radius: 20px;
}

/* Notification Event Line Divider Component */
.system-event-divider[b-16ky96ozuv]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(to right, transparent, #e8d4f2 20%, #e8d4f2 80%, transparent);
    z-index: 1;
}

.system-event-divider span[b-16ky96ozuv] {
    position: relative;
    z-index: 2;
    font-size: 0.72rem;
    display: inline-block;
    line-height: 1.3;
    padding: 8px 24px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border: 1px solid #e8d4f2 !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    color: #6b46c1;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .system-event-divider span:hover[b-16ky96ozuv] {
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
    }

/* RIGHT HAND SIDE SLIDING UTILITY SLOTS PANEL ARCHITECTURE */
.sliding-panel[b-16ky96ozuv] {
    width: 300px;
    height: 82vh;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-16ky96ozuv 0.15s ease-out;
    flex-shrink: 0;  

}

@keyframes slideIn-b-16ky96ozuv {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Hover feedback now lives on the outer .chat-card (background tint + soft shadow) so it
   can't push content past the card's rounded corners the way scaling this inner element did. */
.card-chat[b-16ky96ozuv] {
    transition: none;
}

/* Emoji Picker Styles — anchored to the footer itself (not the emoji icon) so it can be opened
   from both the desktop inline icon and the mobile three-dots menu. */
.emoji-picker[b-16ky96ozuv] {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 16px;
    background: white;
    border: 1px solid #e1e6eb;
    border-radius: 12px;
    width: 470px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    animation: emojiSlideUp-b-16ky96ozuv 0.2s ease-out;
}

@keyframes emojiSlideUp-b-16ky96ozuv {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emoji-picker-header[b-16ky96ozuv] {
    padding: 12px;
    border-bottom: 1px solid #f1f3f5;
    background: linear-gradient(to bottom, #fafbfc, #ffffff);
    border-radius: 12px 12px 0 0;
}

.emoji-categories[b-16ky96ozuv] {
    display: flex;
    gap: 8px;
    justify-content: space-around;
}

.emoji-category-btn[b-16ky96ozuv] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #6c757d;
}

    .emoji-category-btn:hover[b-16ky96ozuv] {
        background: #f1f3f5;
        transform: scale(1.1);
    }

    .emoji-category-btn.active[b-16ky96ozuv] {
        background: var(--brand-primary, #f09224);
        color: white;
        transform: scale(1.05);
    }

.emoji-picker-body[b-16ky96ozuv] {
    padding: 12px;
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

    .emoji-picker-body[b-16ky96ozuv]::-webkit-scrollbar {
        width: 6px;
    }

    .emoji-picker-body[b-16ky96ozuv]::-webkit-scrollbar-track {
        background: #f8fafc;
        border-radius: 3px;
    }

    .emoji-picker-body[b-16ky96ozuv]::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 3px;
    }

        .emoji-picker-body[b-16ky96ozuv]::-webkit-scrollbar-thumb:hover {
            background: #a0aec0;
        }

.emoji-item[b-16ky96ozuv] {
    font-size: 1.6rem;
    cursor: pointer;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .emoji-item:hover[b-16ky96ozuv] {
        transform: scale(1.3);
        z-index: 10;
    }

    .emoji-item:active[b-16ky96ozuv] {
        transform: scale(1.1);
    }

/* Formatting Toolbar */
.formatting-toolbar[b-16ky96ozuv] {
    flex-wrap: wrap;
}

.fmt-btn[b-16ky96ozuv] {
    background: none;
    border: none;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

    .fmt-btn:hover[b-16ky96ozuv] {
        background-color: #f1f3f5;
        color: #2b394a;
    }

.fmt-divider[b-16ky96ozuv] {
    width: 1px;
    height: 16px;
    background-color: #dee2e6;
    margin: 0 2px;
}

/* Applied to the message input footer when the logged-in agent does not own the selected conversation. */
.footer-disabled[b-16ky96ozuv] {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.message-editor[b-16ky96ozuv] {
    min-height: 38px;
    max-height: 120px;
    overflow-y: auto;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #e1e6eb;
    background: #f8fafc;
    font-size: 0.85rem;
    color: #212529;
    outline: none;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f8fafc;
}

    .message-editor:focus[b-16ky96ozuv] {
        border-color: var(--brand-primary, #f09224);
        background: #fff;
    }

    .message-editor:empty[b-16ky96ozuv]::before {
        content: attr(data-placeholder);
        color: #adb5bd;
        pointer-events: none;
    }

.message-input-textarea[b-16ky96ozuv] {
    resize: none;
    overflow-y: hidden;
    line-height: 1.5;
}

/* Footer icon buttons (attach image/file, emoji) get the same subtle hover treatment as the
   header toolbar, instead of just a bare Bootstrap Icon with no interactive feedback. */
.footer-icon-btn[b-16ky96ozuv] {
    border-radius: 8px;
    padding: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.footer-icon-btn:hover[b-16ky96ozuv] {
    background-color: var(--brand-primary-light, #fff3e6);
    color: var(--brand-primary, #f7931e) !important;
}

/* Rounded "pill" shell around the message textarea — the icons/send button sit outside it,
   a common modern messaging-app layout instead of a single flat input row. */
.message-input-shell[b-16ky96ozuv] {
    background-color: #f1f3f5;
    border-radius: 20px;
    padding: 2px 16px;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.message-input-shell:focus-within[b-16ky96ozuv] {
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 247, 147, 30), 0.14), inset 0 0 0 1px var(--brand-primary-soft, #f0d3ac);
}

/* Circular branded send button, matching the .btn-orange-floating pattern already used
   elsewhere in the app, instead of a plain muted-grey link-styled icon button. */
.send-btn-modern[b-16ky96ozuv] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-primary, #f7931e);
    color: #fff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
    transition: background-color 0.15s ease;
}

.send-btn-modern:hover:not(:disabled)[b-16ky96ozuv] {
    background-color: var(--brand-primary-dark, #e58419);
}

.send-btn-modern:disabled[b-16ky96ozuv] {
    background-color: #d8dadd;
    box-shadow: none;
    cursor: not-allowed;
}

/* Mobile-only three-dots menu in the footer (emoji / PDF / image), opening upwards above the icon. */
.attach-menu[b-16ky96ozuv] {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid #e1e6eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 1000;
    animation: emojiSlideUp-b-16ky96ozuv 0.2s ease-out;
}

.attach-menu-item[b-16ky96ozuv] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #495057;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
}

    .attach-menu-item i[b-16ky96ozuv] {
        font-size: 1.1rem;
        color: var(--brand-primary, #f7931e);
    }

    .attach-menu-item:hover[b-16ky96ozuv],
    .attach-menu-item:active[b-16ky96ozuv] {
        background-color: var(--brand-primary-light, #fff3e6);
    }

/* Slightly softer, larger modal corners for the joining/leave-chat dialogs on this page. */
.modal-content[b-16ky96ozuv] {
    border-radius: 16px;
}

/* Image Preview Styles */
.image-preview-container[b-16ky96ozuv] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: #f8fafc;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
}

.image-preview-thumb[b-16ky96ozuv] {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.suggestions-strip[b-16ky96ozuv] {
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f8fafc;
    background-color: transparent !important;
    /* A flex child will not shrink below its content width by default (min-width: auto),
       which lets a long chip row stretch the whole messages panel. Forcing min-width/max-width
       keeps the strip at the parent's width so the overflow scrollbar kicks in instead. */
    min-width: 0;
    max-width: 100%;
    /* Hug the content instead of stretching full width, and pin the strip to the right
       edge of the chat panel so the chips sit bottom-right above the message input. */
    align-self: flex-end;
}

    .suggestions-strip[b-16ky96ozuv]::-webkit-scrollbar {
        height: 4px;
    }

    .suggestions-strip[b-16ky96ozuv]::-webkit-scrollbar-track {
        background: #f8fafc;
    }

    .suggestions-strip[b-16ky96ozuv]::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 2px;
    }

    .suggestions-strip > div[b-16ky96ozuv] {
        display: flex;
        gap: 8px;
        width: max-content;
        /* Anchor the chip row to the bottom-right of the chat container; when the row is
           wider than the strip it falls back to the left edge so scrolling still reaches
           every chip. */
        margin-left: auto;
    }

.suggestion-chip[b-16ky96ozuv] {
    font-size: 0.72rem;
    white-space: nowrap;
    padding: 4px 10px;
    border: 1px solid #e1e6eb;
    border-radius: 20px;
    background-color: #f8fafc;
    color: #495057;
    transition: all 0.15s ease;
}

    .suggestion-chip:hover[b-16ky96ozuv] {
        background-color: var(--brand-primary, #f09224);
        border-color: var(--brand-primary, #f09224);
        color: #fff;
    }

/* Search Highlight Styles */
.search-highlight[b-16ky96ozuv] {
    background-color: #ffd700;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.search-match[b-16ky96ozuv] {
    background-color: #fff9e6;
    border-radius: 14px;
    transition: background-color 0.2s ease;
}

.current-search-result[b-16ky96ozuv] {
    background-color: #ffe4b3;
    border-radius: 14px;
    animation: pulse-b-16ky96ozuv 0.5s ease;
    scroll-margin-top: 20px;
}

@keyframes pulse-b-16ky96ozuv {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Search Results List Styles */
.search-results-list[b-16ky96ozuv] {
    overflow-y: auto;
}

.search-result-item[b-16ky96ozuv] {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-result-item:hover[b-16ky96ozuv] {
    background-color: #f8fafc;
    border-color: #e1e6eb;
}

.search-result-item.active[b-16ky96ozuv] {
    background-color: #eef3f7;
    border-color: #2b394a;
}

.search-result-text[b-16ky96ozuv] {
    font-size: 0.8rem;
    color: #495057;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== CHAT MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* This page (like every page under PageLayout) renders inside .flex-grow-1, which on mobile
       is bounded to calc(100vh - 110px) — the space actually left below the app's top bar and
       sub-navbar (see Pagelayout.razor.css) — and scrolls internally if a page overflows it.
       These rules used to size themselves off 100dvh (the FULL device viewport), which is taller
       than that available space; the panel then extended below the visible area and the message
       input footer at its bottom needed a scroll to reach. Sizing off 100% instead makes the chat
       fill exactly the space it actually has, with no scroll needed to see the send box — every
       ancestor in the chain (down from .flex-grow-1) needs an explicit height for a 100% child to
       resolve against, hence the extra rule for the padding wrapper div below. */
    div[style*="padding: 30px"][b-16ky96ozuv] {
        padding: 0 !important;
        height: 100%;
    }

    .container-fluid.d-flex[b-16ky96ozuv] {
        flex-direction: column !important;
        height: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* The height:100% chain above doesn't reliably resolve all the way down (the page's root
       <body> wrapper sits between .flex-grow-1 and the padding div and has no height of its own),
       so the shell collapsed to its content height and the send footer floated mid-screen with
       empty space below it. Size the shell straight off the *visible* viewport instead: 100dvh
       (excludes the mobile browser's URL/toolbar, unlike 100vh) minus PageLayout's 60px top bar
       + 50px sub-navbar, so the chat panel - and its footer - always reach the bottom edge. */
    .container-fluid.chat-shell[b-16ky96ozuv] {
        height: calc(100dvh - 110px) !important;
    }

    /* Transparent on mobile so the chat list sits directly on the page background; the chat cards
       themselves keep their own white background. !important + the scoped selector's higher
       specificity beats both the base #fbfbfd rule above and Bootstrap's bg-white utility. */
    .sidebar-panel[b-16ky96ozuv] {
        width: 100% !important;
        height: 100% !important;
        border-right: none !important;
        background-color: transparent !important;
    }

    .chat-panel[b-16ky96ozuv] {
        width: 100% !important;
        height: 100% !important;
    }

    /* Flex-grow to fill whatever space is actually left between the header and footer, instead
       of a fixed calc() guess at their combined height — robust regardless of how tall the header
       wraps to (it can wrap onto two lines, see .chat-header below) or the footer's emoji picker. */
    .chat-workspace[b-16ky96ozuv] {
        height: auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }

    .sliding-panel[b-16ky96ozuv] {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: 100% !important;
        max-width: 360px;
        z-index: 200;
        box-shadow: -4px 0 16px rgba(0,0,0,0.15);
    }

    .header-icons[b-16ky96ozuv] {
        gap: 0.75rem !important;
        font-size: 1rem !important;
    }

    .chat-header[b-16ky96ozuv] {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 12px !important;
        gap: 8px;
    }

    /* Message input bar pinned to the bottom of the chat panel: never shrinks away when the
       messages above overflow, and stays stuck to the bottom edge if an ancestor scrolls. */
    .chat-footer[b-16ky96ozuv] {
        position: sticky;
        bottom: 0;
        z-index: 50;
        flex-shrink: 0;
        gap: 10px !important;
        padding: 10px 12px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    }

    .emoji-picker[b-16ky96ozuv] {
        width: auto;
        left: 8px;
        right: 8px;
    }

    .emoji-picker-body[b-16ky96ozuv] {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* Product name on a chat card — only rendered when the client has more than one product of the
   chat's type (e.g. two WhatsApp numbers), so agents can see which one the chat came in on. */
.chat-product-tag[b-16ky96ozuv] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    /* Solid, darker brand orange with white text: stands out on the white card while keeping
       readable contrast (the lighter var(--brand-primary, #f7931e) brand orange is too pale behind white text). */
    background-color: var(--brand-primary-dark, #d96c00);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(var(--brand-primary-dark-rgb, 217, 108, 0), 0.35);
}

    .chat-product-tag i[b-16ky96ozuv] {
        font-size: 0.8rem;
    }
/* /Components/Pages/Dashboard.razor.rz.scp.css */
body[b-69xhuqc4sv] {
    height: 83vh;
    background-color: transparent;
}

/* Section title with a fading horizontal rule, used above each dashboard section.
   Margins mirror .client-grid-container's own 20px/1400px so every section's left edge lines up. */
.section-header[b-69xhuqc4sv] {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1400px;
    margin: 20px 20px 4px 20px;
    padding: 0 20px;
}

.section-header-title[b-69xhuqc4sv] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #8a8d93;
    white-space: nowrap;
}

.section-header-line[b-69xhuqc4sv] {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

/* Quick-stats strip — no card, each stat stacked: icon, then a big number, then its subtext below.
   Margin + padding match .client-grid-container's own so both sections' left edges line up. */
.stats-strip[b-69xhuqc4sv] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 44px;
    max-width: 1400px;
    margin: 20px;
    padding: 20px;
}

.stat-tile[b-69xhuqc4sv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.stat-tile-top[b-69xhuqc4sv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-tile-icon[b-69xhuqc4sv] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--brand-primary, #f7931e);
    color: #fff;
    font-size: 1rem;
}

.stat-tile-number[b-69xhuqc4sv] {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2023;
    line-height: 1;
}

/* Shown in place of .stat-tile-number while StatsLoading is true — sized to roughly match that
   2rem/line-height:1 number so the tile doesn't visibly resize once the real value arrives. */
.stat-tile-number-skeleton[b-69xhuqc4sv] {
    width: 48px;
    height: 2rem;
    border-radius: 6px;
    background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
    background-size: 200% 100%;
    animation: stat-tile-skeleton-shimmer-b-69xhuqc4sv 1.4s ease-in-out infinite;
}

@keyframes stat-tile-skeleton-shimmer-b-69xhuqc4sv {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.stat-tile-label[b-69xhuqc4sv] {
    font-size: 0.85rem;
    color: #8a8d93;
    font-weight: 500;
    white-space: nowrap;
}

/* Quick Access cards on mobile — the forced 2-column CSS grid this block used to apply fought
   with the page's own scroll container (the grid's fixed track sizing could end up taller than
   the available viewport with no way to reach the rest), so this now lets .client-grid-container
   fall back to its normal flex-wrap layout (global.css's .client-grid-container/.client-card),
   with .client-card explicitly sized to fill the row (see below) and the logo/label trimmed to
   fit more comfortably on a phone. body's overflow-y is explicitly re-enabled here since
   body { height: 83vh } above otherwise combines with global overflow:hidden to clip anything
   past 83% of the viewport with no way to scroll to it. */
@media (max-width: 768px) {
    body[b-69xhuqc4sv] {
        overflow-y: auto;
    }

    .client-grid-container[b-69xhuqc4sv] {
        gap: 12px !important;
        margin: 12px !important;
        padding: 0 !important;
        max-width: 100%;
    }

    .client-card[b-69xhuqc4sv] {
        /* Overrides global.css's own mobile .client-card rule (max-width: calc(50% - 26px);
           margin: 8px), which was tuned for its own container's margin/padding and left visible
           dead space on the right edge once combined with this container's own 12px gap/margin
           above. flex-basis + max-width sized against that 12px gap (instead of a per-card
           margin) makes two cards per row span the full container width edge-to-edge. */
        flex: 1 1 calc(50% - 6px);
        max-width: calc(50% - 6px);
        margin: 0;
        padding: 0.6rem;
    }

    .logo-wrapper[b-69xhuqc4sv] {
        height: 46px;
        margin-bottom: 8px;
        padding-top: 4px;
    }

    .client-logo[b-69xhuqc4sv] {
        max-height: 34px;
    }

    .client-name[b-69xhuqc4sv] {
        font-size: 0.78rem;
    }
}
/* /Components/Pages/Help.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, floating-actions-container,
   btn-orange-floating, btn-floating-top */

/* ---- Page Guide Grid ---- */
.help-page-grid[b-paon0m6tcl] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.help-divider[b-paon0m6tcl] {
    border: 0;
    height: 1px;
    background-color: #f0f0f0;
    margin: 0;
}

.help-page-card[b-paon0m6tcl] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
}

.help-page-icon[b-paon0m6tcl] {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: var(--brand-primary-light, #fdf4e7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-primary-soft, #f9dba8);
}

.help-page-icon img[b-paon0m6tcl] {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.help-page-content[b-paon0m6tcl] {
    flex: 1;
}

.help-page-title[b-paon0m6tcl] {
    font-size: 1rem;
    font-weight: 600;
    color: #2b394a;
    margin-bottom: 6px;
}

.help-page-content p[b-paon0m6tcl] {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.help-page-content ul[b-paon0m6tcl] {
    padding-left: 18px;
    margin-bottom: 0;
}

.help-page-content ul li[b-paon0m6tcl] {
    font-size: 0.88rem;
    color: #666666;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* ---- FAQ Accordion ---- */
.faq-item[b-paon0m6tcl] {
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child[b-paon0m6tcl] {
    border-bottom: none;
}

.faq-question[b-paon0m6tcl] {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2b394a;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover[b-paon0m6tcl] {
    color: var(--brand-primary, #f59e23);
}

.faq-question:focus[b-paon0m6tcl] {
    outline: none;
    box-shadow: none;
}

.faq-icon[b-paon0m6tcl] {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--brand-primary, #f59e23);
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon[b-paon0m6tcl] {
    transform: rotate(45deg);
}

.faq-answer[b-paon0m6tcl] {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.65;
    padding: 0 4px 18px 4px;
}

/* ---- Responsive ---- */
@media (max-width: 575.98px) {
    .help-page-card[b-paon0m6tcl] {
        flex-direction: column;
        gap: 14px;
    }

    .help-page-icon[b-paon0m6tcl] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Pages/History.razor.rz.scp.css */
/* See shared.css for all styles used in this page */

/* "Send WhatsApp Request" — previously a floating pill anchored bottom-right of the viewport
   (easy to miss, especially below the fold on a long results list). Moved into the list's own
   controls-row, in the same eye-line as Download/Refresh, and given WhatsApp's brand green so it
   reads as a distinct, prominent action rather than blending in with the other icon buttons. */
.btn-send-whatsapp[b-jmm1pakm59] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    height: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .btn-send-whatsapp i[b-jmm1pakm59] {
        font-size: 1rem;
    }

    .btn-send-whatsapp:hover[b-jmm1pakm59] {
        background-color: #1ebe57;
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.5);
        color: #ffffff;
    }

/* ---- History table: product colours ---- */

.product-label[b-jmm1pakm59] {
    font-weight: 600;
}

/* Darker than WhatsApp's #25D366 brand green so it stays readable as text on white. */
.product-whatsapp[b-jmm1pakm59] {
    color: #128c4a;
}

.product-chatbox[b-jmm1pakm59] {
    color: var(--brand-primary, #f7931e);
}

/* ---- History table: "Today" / "Earlier" group dividers ---- */

.history-divider td[b-jmm1pakm59] {
    padding: 14px 8px 6px !important;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fafafa;
}

/* Not a data row — don't pick up the table's hover highlight. */
.history-divider:hover[b-jmm1pakm59] {
    background-color: transparent !important;
}

.history-divider-label[b-jmm1pakm59] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7b7b7b;
}

    .history-divider-label i[b-jmm1pakm59] {
        margin-right: 6px;
    }

.history-divider-today .history-divider-label[b-jmm1pakm59] {
    color: var(--brand-primary, #f7931e);
}

.history-divider-count[b-jmm1pakm59] {
    display: inline-block;
    margin-left: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #eaeaea;
    color: #555555;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.6;
}

.history-divider-today .history-divider-count[b-jmm1pakm59] {
    background-color: var(--brand-primary, #f7931e);
    color: #ffffff;
}
/* /Components/Pages/HistoryView.razor.rz.scp.css */
/* Reuses: chat-panel, chat-header, bubble-user-action, bubble-received,
   message-time, divider-notification, block-time, avatar-circle-sm, mini-text
   — all defined globally in shared.css (chat-workspace is styled inline). */

.hv-info-panel[b-bjgby99vrf] {
    width: 280px;
    height: 81vh;
    flex-shrink: 0;
}

.hv-avatar[b-bjgby99vrf] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.hv-section-label[b-bjgby99vrf] {
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 8px;
}

.hv-stat-row[b-bjgby99vrf] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    padding: 3px 0;
    border-bottom: 1px solid #f4f4f4;
}

    .hv-stat-row:last-child[b-bjgby99vrf] {
        border-bottom: none;
    }

/* Stack the info panel above the messages panel instead of squeezing both side-by-side into a
   fixed-height row — the outer container and both panels use inline heights (77vh/50vh) sized
   for the desktop two-column layout, so overriding them needs !important here.

   The page's own scroll region is .user-management-container (height:82vh; overflow:auto, in
   shared.css) — the outer wrapper around this whole page. The info panel used to ALSO cap itself
   at 45vh with its own internal overflow-y:auto (set inline in the markup), which put two
   independently-scrollable regions a few pixels apart: a touch-scroll gesture over the info
   panel would only ever scroll that inner 45vh box, making the rest of the page (chat header,
   messages) feel unreachable/clipped. Letting the info panel grow to its natural height instead
   means the OUTER container is the only thing that scrolls to reveal it, and the messages panel
   below it, in one continuous motion — .chat-workspace keeps its own internal scroll since a long
   chat history is expected to scroll independently, like a real chat window. */
@media (max-width: 768px) {
    .container-fluid.d-flex[b-bjgby99vrf] {
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }

    .hv-info-panel[b-bjgby99vrf] {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
    }

        .hv-info-panel > .flex-grow-1[b-bjgby99vrf] {
            overflow-y: visible !important;
        }

    #chat-workspace[b-bjgby99vrf] {
        height: 60vh !important;
    }

    /* The -40px offset (set inline in the markup) was tuned for the wide desktop chat pane;
       on a narrow phone-width pane it shoves the centered event text off-center, and a longer
       handover message can run past the left edge. */
    .divider-notification span[b-bjgby99vrf] {
        margin-left: 0 !important;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Reset & Base Styles */
*[b-1gb2sgvluq] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;
}

body[b-1gb2sgvluq] {
    height: 83vh;
    background-color: transparent;
}
/* /Components/Pages/Management/ManagementBillingBulk.razor.rz.scp.css */
.sticky-preview[b-gl4th9egon] {
    position: sticky;
    top: 20px;
}
/* /Components/Pages/Management/ManagementBillingCreate.razor.rz.scp.css */
.sticky-preview[b-thbre522sk] {
    position: sticky;
    top: 20px;
}
/* /Components/Pages/Management/ManagementBillingView.razor.rz.scp.css */
.sticky-preview[b-edpn6en0zb] {
    position: sticky;
    top: 20px;
}
/* /Components/Pages/Management/ManagementDashboard.razor.rz.scp.css */
body[b-5fmktebw8c] {
    height: 83vh;
    background-color: transparent;
}

.client-select-row[b-5fmktebw8c] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
    margin: 12px 51px 0;
}

.client-select-label[b-5fmktebw8c] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #33353F;
}

.client-select[b-5fmktebw8c] {
    border-radius: 0.75rem;
}

    .client-select:focus[b-5fmktebw8c] {
        border-color: var(--brand-primary, #f7931e);
        box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb, 247, 147, 30), 0.2);
    }

.client-card-disabled[b-5fmktebw8c] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.client-select-hint[b-5fmktebw8c] {
    margin: -8px 20px 0;
    font-size: 0.8rem;
    color: #7f8082;
}

/* The 51px left offset above was tuned to align with the card grid on desktop; it eats too
   much of a narrow phone screen (~14% of a 375px viewport), so it's reduced here. */
@media (max-width: 768px) {
    .client-select-row[b-5fmktebw8c] {
        margin-left: 16px;
        margin-right: 16px;
    }
}
/* /Components/Pages/Management/ManagementHelp.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, floating-actions-container,
   floating-actions-container-scroll, floating-actions-container-left,
   btn-orange-floating, btn-floating-top, btn-floating-delete */

/* ---- Page Guide Grid ---- */
.help-page-grid[b-8q0e09412r] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.help-divider[b-8q0e09412r] {
    border: 0;
    height: 1px;
    background-color: #f0f0f0;
    margin: 0;
}

.help-page-card[b-8q0e09412r] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
}

.help-page-icon[b-8q0e09412r] {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: var(--brand-primary-light, #fdf4e7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-primary-soft, #f9dba8);
    font-size: 1.3rem;
    color: var(--brand-primary, #f59e23);
}

.help-page-content[b-8q0e09412r] {
    flex: 1;
}

.help-page-title[b-8q0e09412r] {
    font-size: 1rem;
    font-weight: 600;
    color: #2b394a;
    margin-bottom: 6px;
}

.help-page-content p[b-8q0e09412r] {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.help-page-content ul[b-8q0e09412r] {
    padding-left: 18px;
    margin-bottom: 0;
}

.help-page-content ul li[b-8q0e09412r] {
    font-size: 0.88rem;
    color: #666666;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* ---- FAQ Accordion ---- */
.faq-item[b-8q0e09412r] {
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child[b-8q0e09412r] {
    border-bottom: none;
}

.faq-question[b-8q0e09412r] {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2b394a;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover[b-8q0e09412r] {
    color: var(--brand-primary, #f59e23);
}

.faq-question:focus[b-8q0e09412r] {
    outline: none;
    box-shadow: none;
}

.faq-icon[b-8q0e09412r] {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--brand-primary, #f59e23);
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon[b-8q0e09412r] {
    transform: rotate(45deg);
}

.faq-answer[b-8q0e09412r] {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.65;
    padding: 0 4px 18px 4px;
}

/* ---- Responsive ---- */
@media (max-width: 575.98px) {
    .help-page-card[b-8q0e09412r] {
        flex-direction: column;
        gap: 14px;
    }

    .help-page-icon[b-8q0e09412r] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Pages/Management/ManagementLogs.razor.rz.scp.css */
body[b-rdz93o0ukq] {
    background-color: transparent;
    padding: 16px 24px;
    box-sizing: border-box;
}

/* Toolbar */
.logs-toolbar[b-rdz93o0ukq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    margin-bottom: 12px;
    font-family: "Poppins", Arial, sans-serif;
}

.logs-toolbar-left[b-rdz93o0ukq],
.logs-toolbar-right[b-rdz93o0ukq] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.logs-live-indicator[b-rdz93o0ukq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
}

    .logs-live-indicator.paused[b-rdz93o0ukq] {
        color: #7f8082;
    }

.logs-live-dot[b-rdz93o0ukq] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2e7d32;
}

.logs-live-indicator.live .logs-live-dot[b-rdz93o0ukq] {
    animation: logs-pulse-b-rdz93o0ukq 1.4s ease-in-out infinite;
}

.logs-live-indicator.paused .logs-live-dot[b-rdz93o0ukq] {
    background-color: #bdbdbd;
}

@keyframes logs-pulse-b-rdz93o0ukq {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 4px rgba(46, 125, 50, 0);
    }
}

.logs-count[b-rdz93o0ukq] {
    font-size: 12px;
    color: #7f8082;
    font-weight: 600;
}

.logs-count-error[b-rdz93o0ukq] {
    color: #e53935;
}

.logs-count-info[b-rdz93o0ukq] {
    color: #3b82f6;
}

.logs-filter-group[b-rdz93o0ukq] {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.logs-filter-btn[b-rdz93o0ukq] {
    background: #fff;
    border: none;
    color: #7f8082;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
}

    .logs-filter-btn:not(:last-child)[b-rdz93o0ukq] {
        border-right: 1px solid #e0e0e0;
    }

    .logs-filter-btn.active[b-rdz93o0ukq] {
        background-color: var(--brand-primary, #f7931e);
        color: #fff;
    }

    .logs-filter-btn.logs-filter-error.active[b-rdz93o0ukq] {
        background-color: #e53935;
    }

    .logs-filter-btn.logs-filter-info.active[b-rdz93o0ukq] {
        background-color: #3b82f6;
    }

.logs-action-btn[b-rdz93o0ukq] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    color: #33353F;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .logs-action-btn:hover[b-rdz93o0ukq] {
        border-color: var(--brand-primary, #f7931e);
        color: var(--brand-primary, #f7931e);
    }

/* Console */
.logs-console[b-rdz93o0ukq] {
    height: 62vh;
    background: #1e1e24;
    border-radius: 0.75rem;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    overflow-y: auto;
    font-family: "Cascadia Code", "Consolas", "Courier New", monospace;
    font-size: 12.5px;
}

.logs-empty[b-rdz93o0ukq] {
    color: #7f8082;
    text-align: center;
    padding: 40px 0;
    font-family: "Poppins", Arial, sans-serif;
}

.logs-line[b-rdz93o0ukq] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding: 4px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d4d4d8;
}

    .logs-line:hover[b-rdz93o0ukq] {
        background: rgba(255, 255, 255, 0.03);
    }

.logs-line-error[b-rdz93o0ukq],
.logs-line-critical[b-rdz93o0ukq] {
    background: rgba(229, 57, 53, 0.1);
}

    .logs-line-error:hover[b-rdz93o0ukq],
    .logs-line-critical:hover[b-rdz93o0ukq] {
        background: rgba(229, 57, 53, 0.16);
    }

.logs-timestamp[b-rdz93o0ukq] {
    color: #7f8082;
    flex-shrink: 0;
}

.logs-level-badge[b-rdz93o0ukq] {
    flex-shrink: 0;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    border-radius: 0.4rem;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logs-level-trace[b-rdz93o0ukq],
.logs-level-debug[b-rdz93o0ukq] {
    background: rgba(158, 158, 158, 0.2);
    color: #bdbdbd;
}

.logs-level-information[b-rdz93o0ukq] {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
}

.logs-level-warning[b-rdz93o0ukq] {
    background: rgba(var(--brand-primary-rgb, 247, 147, 30), 0.2);
    color: var(--brand-primary, #f7931e);
}

.logs-level-error[b-rdz93o0ukq],
.logs-level-critical[b-rdz93o0ukq] {
    background: rgba(229, 57, 53, 0.22);
    color: #f87171;
}

.logs-category[b-rdz93o0ukq] {
    color: #a78bfa;
    flex-shrink: 0;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logs-message[b-rdz93o0ukq] {
    color: #e4e4e7;
    flex: 1;
    min-width: 200px;
    word-break: break-word;
}

.logs-exception[b-rdz93o0ukq] {
    flex-basis: 100%;
    margin: 4px 0 0;
    padding: 8px 10px;
    background: rgba(229, 57, 53, 0.08);
    border-left: 2px solid #e53935;
    color: #f4a3a1;
    font-size: 11.5px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* On a narrow phone, .logs-category's 320px max-width leaves little room for the timestamp/badge
   sharing its line, and .logs-message's 200px min-width can force it to wrap early rather than
   just dropping to its own full-width line — shrink the former and let the latter claim the row. */
@media (max-width: 768px) {
    body[b-rdz93o0ukq] {
        padding: 16px 12px;
    }

    .logs-line[b-rdz93o0ukq] {
        gap: 6px;
    }

    .logs-category[b-rdz93o0ukq] {
        max-width: 55vw;
    }

    .logs-message[b-rdz93o0ukq] {
        min-width: 100%;
    }
}
/* /Components/Pages/Management/ManagementOrganisation.razor.rz.scp.css */
.org-list-logo[b-1doe7v9koo] {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e5e5e5;
}
/* /Components/Pages/Management/ManagementOrganisationActions.razor.rz.scp.css */
/* See shared.css for: user-management-container, panel-header-btn,
   floating-actions-container, btn-orange-floating, btn-floating-*,
   form-label, form-control, form-select, form-check-input */

/* Main Layout Card Box */
.details-card[b-mxq5hivdrl] {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin: 24px auto;
}

/* Inner Container Card Padding rules */
.panel-body[b-mxq5hivdrl] {
    padding: 32px 24px;
}

/* Section Instruction Sub-titles styling */
.section-instruction[b-mxq5hivdrl] {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Horizontal Dividers between core layout sections */
.section-horizontal-divider[b-mxq5hivdrl] {
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
    padding-top: 28px;
}

/* Explicit Grayed-out field shading matching Password/Confirm inputs */
.input-shaded[b-mxq5hivdrl] {
    background-color: #eaecf0 !important;
}

/* Password helper icons container layout rules */
.input-icon-wrapper[b-mxq5hivdrl] {
    position: relative;
}

/* Checkbox Outer Container Height Frame */
.checkbox-container-box[b-mxq5hivdrl] {
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    min-height: 46px;
}

/* Fixed textareas sizing */
textarea.form-control[b-mxq5hivdrl] {
    min-height: 130px;
    resize: none;
}

@media (min-width: 768px) {
    .vertical-divider-left[b-mxq5hivdrl] {
        border-left: 1px solid #e5e7eb;
        padding-left: 24px;
    }
}

/* Password input wrapper with toggle button overlay */
.password-input-wrapper[b-mxq5hivdrl] {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-wrapper .form-control[b-mxq5hivdrl] {
        padding-right: 2.5rem;
    }

.password-toggle-btn[b-mxq5hivdrl] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    padding: 0;
    color: #aaaaaa;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

    .password-toggle-btn:hover[b-mxq5hivdrl] {
        color: var(--brand-primary, #ff9900);
    }

/* "Generate password" button — mirrors UserManagementNew.razor.css so both create-user forms
   look identical. */
.btn-generate-password[b-mxq5hivdrl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--brand-primary, #ff9900);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--brand-primary, #ff9900);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .btn-generate-password:hover[b-mxq5hivdrl] {
        background-color: var(--brand-primary, #ff9900);
        color: #ffffff;
    }

/* Strength meter bar */
.password-strength-wrapper[b-mxq5hivdrl] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength-bar[b-mxq5hivdrl] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

    .password-strength-bar .progress-bar[b-mxq5hivdrl] {
        border-radius: 3px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

/* Strength label colours */
.password-strength-label[b-mxq5hivdrl] {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}

.strength-very-weak[b-mxq5hivdrl]  { color: #dc3545; }
.strength-weak[b-mxq5hivdrl]       { color: #fd7e14; }
.strength-fair[b-mxq5hivdrl]       { color: #0dcaf0; }
.strength-strong[b-mxq5hivdrl]     { color: #0d6efd; }
.strength-very-strong[b-mxq5hivdrl] { color: #198754; }

/* Validation checklist */
.password-checklist[b-mxq5hivdrl] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .password-checklist li[b-mxq5hivdrl] {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .password-checklist .check-pass[b-mxq5hivdrl] {
        color: #198754;
    }

    .password-checklist .check-fail[b-mxq5hivdrl] {
        color: #aaaaaa;
    }

/* Data annotation validation messages */
.validation-message[b-mxq5hivdrl] {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Account-notification radio option cards (Send welcome mail / Send password) */
.notify-option-card[b-mxq5hivdrl] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 12px 14px;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .notify-option-card:hover[b-mxq5hivdrl] {
        border-color: var(--brand-primary, #ff9900);
    }

    .notify-option-card input[type="radio"][b-mxq5hivdrl] {
        margin-top: 3px;
        flex-shrink: 0;
    }

.notify-option-title[b-mxq5hivdrl] {
    font-weight: 600;
    color: #333333;
    display: block;
}

.notify-option-description[b-mxq5hivdrl] {
    color: #777777;
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}
/* /Components/Pages/Management/ManagementOrganisationCreate.razor.rz.scp.css */
.sticky-preview[b-uo0avppwba] {
    position: sticky;
    top: 20px;
}

.org-logo-upload[b-uo0avppwba] {
    width: 160px;
    height: 160px;
    border: 2px dashed #e5e5e5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    overflow: hidden;
    background: #fafafa;
    transition: border-color 0.15s ease;
}

.org-logo-upload:hover[b-uo0avppwba] {
    border-color: var(--brand-primary, #f59e23);
}

.org-logo-upload img[b-uo0avppwba] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.org-logo-upload i[b-uo0avppwba] {
    font-size: 2rem;
    margin-bottom: 8px;
}

.org-logo-hint[b-uo0avppwba] {
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
}
/* /Components/Pages/Management/ManagementOrganisationEdit.razor.rz.scp.css */
/* /Components/Pages/Management/ManagementSuggestionBuilder.razor.rz.scp.css */
body[b-x8o2rt1yfa] {
    background-color: transparent;
    padding: 16px 24px;
    box-sizing: border-box;
}
/* /Components/Pages/Management/ManagementTemplatesEdit.razor.rz.scp.css */
/* ---- Category selection cards ---- */
.category-card[b-l437wo0jxk] {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    height: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover[b-l437wo0jxk] {
    border-color: var(--brand-primary, #f59e23);
}

.selected-category[b-l437wo0jxk] {
    border-color: var(--brand-primary, #f59e23);
    background-color: var(--brand-primary-light, #fff8ef);
    box-shadow: 0 0 0 1px var(--brand-primary, #f59e23) inset;
}

/* ---- Emoji picker ---- */
.emoji-picker[b-l437wo0jxk] {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.emoji-picker .nav-tabs[b-l437wo0jxk] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 8px;
}

.emoji-picker .nav-link[b-l437wo0jxk] {
    color: #666;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.emoji-picker .nav-link.active[b-l437wo0jxk] {
    color: var(--brand-primary, #f59e23);
    border-bottom-color: var(--brand-primary, #f59e23);
    background: transparent;
}

.emoji-grid[b-l437wo0jxk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
    gap: 4px;
    padding: 10px;
    max-height: 160px;
    overflow-y: auto;
}

.emoji-btn[b-l437wo0jxk] {
    border: none;
    background: transparent;
    font-size: 1.3rem;
    line-height: 1;
    padding: 6px;
    border-radius: 6px;
}

.emoji-btn:hover[b-l437wo0jxk] {
    background-color: #f0f0f0;
}

/* ---- Two-column layout: form (left, 50%) / mobile preview (right, 50%) ----
   Widths are set directly rather than via Bootstrap's col-lg-* for a clean, explicit 50/50
   split; `order` visually places the preview last without reordering the markup, since the
   form's block is much larger and easier to keep first in the DOM. */
.template-preview-col[b-l437wo0jxk] {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.template-form-col[b-l437wo0jxk] {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .template-preview-col[b-l437wo0jxk] {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .template-form-col[b-l437wo0jxk] {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    /* Push the phone toward the left edge of its column — the boundary between the two 50%
       columns — so it sits near the screen's true horizontal center rather than the center of
       just its own half. */
    .mobile-container[b-l437wo0jxk] {
        justify-content: flex-start;
    }
}

/* ---- Mobile preview ---- */
.sticky-preview[b-l437wo0jxk] {
    position: sticky;
    top: 20px;
}

.mobile-container[b-l437wo0jxk] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.phone-frame[b-l437wo0jxk] {
    width: 280px;
    height: 500px;
    border: 3px solid #333;
    border-radius: 25px;
    background: #F0E7E0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.whatsapp-header[b-l437wo0jxk] {
    background: #075e54;
    color: white;
    height: 60px;
    flex-shrink: 0;
}

.whatsapp-avatar[b-l437wo0jxk] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
}

.whatsapp-contact-name[b-l437wo0jxk] {
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
}

.whatsapp-status[b-l437wo0jxk] {
    color: #d1f4cc;
    font-size: 0.7rem;
}

.message-container[b-l437wo0jxk] {
    flex: 1;
    padding: 5px;
    background: #F0E7E0;
    overflow-y: auto;
}

.message-bubble[b-l437wo0jxk] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    overflow: hidden;
}

.message-bubble.empty-state[b-l437wo0jxk] {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    box-shadow: none;
}

.message-header .header-media[b-l437wo0jxk] {
    width: 100%;
    height: 120px;
    object-fit: contain;
    display: block;
}

.header-placeholder[b-l437wo0jxk] {
    height: 120px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    gap: 4px;
}

.header-text[b-l437wo0jxk] {
    padding: 12px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
}

.message-body[b-l437wo0jxk] {
    padding: 12px;
}

.message-text[b-l437wo0jxk] {
    line-height: 1.4;
    white-space: pre-wrap;
    font-size: 0.85rem;
}

.message-footer[b-l437wo0jxk] {
    padding: 8px 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
}

.message-buttons[b-l437wo0jxk] {
    padding: 8px;
    border-top: 1px solid #e9ecef;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.whatsapp-button[b-l437wo0jxk] {
    color: #075e54;
    border: 1px solid #075e54;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 6px;
    width: 100%;
}

.whatsapp-input-bar[b-l437wo0jxk] {
    background: #F0E7E0;
    border-top: 1px solid #ddd;
    flex-shrink: 0;
    height: 60px;
}

.input-field[b-l437wo0jxk] {
    background: white;
    border-radius: 20px;
    font-size: 0.8rem;
}

.mic-button[b-l437wo0jxk] {
    width: 40px;
    height: 40px;
    background: #075e54;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .phone-frame[b-l437wo0jxk] {
        width: 250px;
        height: 450px;
    }

    .whatsapp-button[b-l437wo0jxk] {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}
/* /Components/Pages/Management/ManagementUserEdit.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   form-label, form-control, form-select, name-input-wrapper, btn-search,
   table-responsive-container, users-table, floating-actions-container,
   btn-orange-floating, btn-floating-*, vertical-divider.

   The tab-card chrome and password-section styles below mirror UserManagementDetails.razor.css
   (the equivalent "edit user" page's password tab) — this page previously had no .razor.css at
   all, so this whole "Additional information" tabbed card, including the password section, was
   rendering completely unstyled. */

/* Card Frame & Outer Borders */
.custom-tabs-card[b-lirnh5kl7f] {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    margin: 20px;
}

/* Tab Navigation Header Controls */
.custom-nav-tabs.nav-tabs[b-lirnh5kl7f] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #eaeaea;
    padding-left: 0;
}

.custom-nav-tabs .nav-link[b-lirnh5kl7f] {
    color: var(--brand-primary, #ff9900); /* Subtle lighter orange text color */
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    background-color: transparent;
    transition: all 0.15s ease;
}

    /* Hover States for Tabs */
    .custom-nav-tabs .nav-link:hover[b-lirnh5kl7f] {
        background-color: #f0f0f0;
        color: var(--brand-primary-dark, #e68a00);
        border: none;
    }

    /* Overriding Active Tab State precisely mapping the top orange underline */
    .custom-nav-tabs .nav-link.active[b-lirnh5kl7f] {
        color: var(--brand-primary, #ff9900) !important;
        background-color: #ffffff !important;
        border-top: 3px solid var(--brand-primary, #ff9900) !important; /* Thick orange accent line on top */
        border-left: 1px solid #eaeaea !important;
        border-right: 1px solid #eaeaea !important;
        margin-top: -1px; /* Visual fix for alignment flush */
    }

/* First active tab left edge boundary alignment correction */
.custom-nav-tabs .nav-item:first-child .nav-link.active[b-lirnh5kl7f] {
    border-left: none !important;
}

/* Inner Tab Box Content Alignment */
.custom-tab-body[b-lirnh5kl7f] {
    padding: 24px;
}

.description-text[b-lirnh5kl7f] {
    font-size: 13px;
    color: #555555;
    margin-bottom: 20px;
}

/* Gray Warning Panel Layout Structure */
.custom-empty-alert[b-lirnh5kl7f] {
    background-color: #eeeeee;
    border: none;
    border-radius: 4px;
    color: #777777;
    font-size: 13px;
    font-style: italic;
    padding: 14px 18px;
    margin-bottom: 0;
}

/* Password input wrapper with toggle button overlay */
.password-input-wrapper[b-lirnh5kl7f] {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-wrapper .form-control[b-lirnh5kl7f] {
        padding-right: 2.5rem;
    }

.password-toggle-btn[b-lirnh5kl7f] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    padding: 0;
    color: #aaaaaa;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

    .password-toggle-btn:hover[b-lirnh5kl7f] {
        color: var(--brand-primary, #ff9900);
    }

/* Strength meter bar */
.password-strength-wrapper[b-lirnh5kl7f] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength-bar[b-lirnh5kl7f] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

    .password-strength-bar .progress-bar[b-lirnh5kl7f] {
        border-radius: 3px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

/* Strength label colours */
.password-strength-label[b-lirnh5kl7f] {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}

.strength-very-weak[b-lirnh5kl7f]  { color: #dc3545; }
.strength-weak[b-lirnh5kl7f]       { color: #fd7e14; }
.strength-fair[b-lirnh5kl7f]       { color: #0dcaf0; }
.strength-strong[b-lirnh5kl7f]     { color: #0d6efd; }
.strength-very-strong[b-lirnh5kl7f] { color: #198754; }

/* Validation checklist */
.password-checklist[b-lirnh5kl7f] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .password-checklist li[b-lirnh5kl7f] {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .password-checklist .check-pass[b-lirnh5kl7f] {
        color: #198754;
    }

    .password-checklist .check-fail[b-lirnh5kl7f] {
        color: #aaaaaa;
    }
/* /Components/Pages/Reports.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, form-label, form-control,
   form-select, name-input-wrapper, checkbox-container, form-check-input,
   btn-search, controls-row, action-controls, items-per-page-select, orange-btn,
   results-banner, table-responsive-container, users-table, username-link,
   table-checkbox, status-*, custom-pagination, pag-btn, pag-center,
   floating-actions-container, btn-orange-floating, btn-floating-* */
/* /Components/Pages/ReportsNew.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, form-label, form-control,
   form-select, name-input-wrapper, checkbox-container, form-check-input,
   btn-search, controls-row, action-controls, items-per-page-select, orange-btn,
   results-banner, table-responsive-container, users-table, username-link,
   table-checkbox, status-*, custom-pagination, pag-btn, pag-center,
   floating-actions-container, btn-orange-floating, btn-floating-* */
/* See shared.css for: user-management-container, panel-header-btn,
   floating-actions-container, btn-orange-floating, btn-floating-*,
   form-label, form-control, form-select, form-check-input */

/* Main Layout Card Box */
.details-card[b-2ixymwg0m9] {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin: 24px auto;
}

/* Inner Container Card Padding rules */
.panel-body[b-2ixymwg0m9] {
    padding: 32px 24px;
}

/* Section Instruction Sub-titles styling */
.section-instruction[b-2ixymwg0m9] {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Horizontal Dividers between core layout sections */
.section-horizontal-divider[b-2ixymwg0m9] {
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
    padding-top: 28px;
}

/* Explicit Grayed-out field shading matching Password/Confirm inputs */
.input-shaded[b-2ixymwg0m9] {
    background-color: #eaecf0 !important;
}

/* Password helper icons container layout rules */
.input-icon-wrapper[b-2ixymwg0m9] {
    position: relative;
}

.mock-helper-dots[b-2ixymwg0m9] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d32f2f;
    color: white;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.65rem;
    pointer-events: none;
}

/* Checkbox Outer Container Height Frame */
.checkbox-container-box[b-2ixymwg0m9] {
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    min-height: 46px;
}

/* Fixed textareas sizing */
textarea.form-control[b-2ixymwg0m9] {
    min-height: 130px;
    resize: none;
}



@media (min-width: 768px) {
    .vertical-divider-left[b-2ixymwg0m9] {
        border-left: 1px solid #e5e7eb;
        padding-left: 24px;
    }
}
/* /Components/Pages/ReportsView.razor.rz.scp.css */
.headerFilter[b-h2dk76740e] {
    display: flex;
    height: 7vh;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-right: auto;
    margin-left: 10.5%;
    width: 79%
}

    .headerFilter select[b-h2dk76740e] {
        width: 15%;
        height: 50%;
        margin-top: 1.2%;
        margin-left: 20px;
        font-size: 11px;
        padding-bottom: 4px;
        padding-top: -10px
    }

    .headerFilter button[b-h2dk76740e] {
        margin-top: 1.4%;
        margin-right: 20px;
        width: 8%;
        height: 50%;
        font-size: 11px;
        padding-top: -10px;
        padding-bottom: 4px;
    }

.bodyParent[b-h2dk76740e] {
    display: flex;
    margin-right: auto;
    margin-left: 12%;
    width: 100%
}

.bodyReport[b-h2dk76740e] {
    display: flex;
    overflow-y: hidden;
    width: 95%;
    margin-bottom: 20px;
    padding: 10px;
    margin-left: -55px
}

.navTabsStyles[b-h2dk76740e] {
    margin-bottom: 10px;
    width: 81.5vw;
    margin-left: 120px;
    margin-top: -10px
}

.dateStyles[b-h2dk76740e] {
    display: flex
}

    .dateStyles input[b-h2dk76740e] {
        margin-top: 16px;
        margin-left: 10px;
        height: 40%;
        border: 1px solid #cccccc;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px
    }

    .dateStyles p[b-h2dk76740e] {
        margin-top: 15px;
        margin-left: 20px;
        font-size: 14px
    }

.tableStyles[b-h2dk76740e] {
    overflow-y: auto;
    overflow-x: auto;
    width: 65%;
    margin-left: -10px;
    font-size: 13px;
    height: 66vh
}

.tableHeader[b-h2dk76740e] {
    text-align: center;
    margin-top: 10px;
    font-size: 18px
}

.chartHeader[b-h2dk76740e] {
    text-align: center;
    margin-top: 10px;
    font-size: 18px
}

.chartStyles[b-h2dk76740e] {
    width: 50%
}

.stats-card[b-h2dk76740e] {
    min-height: 120px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
}

.innerChartStyles[b-h2dk76740e] {
    max-width: 100%;
    margin-left: -1px;
    margin-top: 80px
}

.nullStyles[b-h2dk76740e] {
    margin-top: 50px;
    position: absolute;
    margin-left: 18%
}

.mobile-slide-in[b-h2dk76740e] {
    animation: slideInUp-b-h2dk76740e 0.6s ease-out;
}

.mobile-fade-in[b-h2dk76740e] {
    animation: fadeIn-b-h2dk76740e 0.8s ease-out;
}

.mobile-bounce[b-h2dk76740e] {
    animation: bounceIn-b-h2dk76740e 0.7s ease-out;
}

.mobile-scale[b-h2dk76740e] {
    animation: scaleIn-b-h2dk76740e 0.5s ease-out;
}

@keyframes slideInUp-b-h2dk76740e {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn-b-h2dk76740e {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceIn-b-h2dk76740e {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleIn-b-h2dk76740e {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.mobile-card[b-h2dk76740e] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .mobile-card:active[b-h2dk76740e] {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
/* /Components/Pages/Settings.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, search-header-btn, search-body,
   search-instructions, btn-search. */

/* Browser permission status banner, coloured by state. */
.permission-row[b-cjaev699bq] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--perm-border);
    border-radius: 8px;
    background-color: var(--perm-bg);
    flex-wrap: wrap;
}

.permission-granted[b-cjaev699bq] {
    --perm-bg: #ecfdf5;
    --perm-border: #a7f3d0;
    --perm-accent: #047857;
}

.permission-denied[b-cjaev699bq] {
    --perm-bg: #fef2f2;
    --perm-border: #fecaca;
    --perm-accent: #b91c1c;
}

.permission-default[b-cjaev699bq] {
    --perm-bg: #fffbeb;
    --perm-border: #fde68a;
    --perm-accent: #b45309;
}

.permission-unsupported[b-cjaev699bq] {
    --perm-bg: #f3f4f6;
    --perm-border: #e5e7eb;
    --perm-accent: #4b5563;
}

.permission-icon[b-cjaev699bq] {
    font-size: 1.5rem;
    color: var(--perm-accent);
}

.permission-text[b-cjaev699bq] {
    flex: 1 1 220px;
    min-width: 0;
}

.permission-title[b-cjaev699bq] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--perm-accent);
}

.permission-detail[b-cjaev699bq] {
    font-size: 0.8rem;
    color: #4b5563;
}

/* Rows of label + switch. */
.setting-list[b-cjaev699bq] {
    border: 1px solid #eef0f3;
    border-radius: 8px;
    overflow: hidden;
}

/* Preferences still save while permission is missing, but read as inactive. */
.setting-list-muted[b-cjaev699bq] {
    opacity: 0.6;
}

.setting-row[b-cjaev699bq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background-color: #fff;
}

    .setting-row + .setting-row[b-cjaev699bq] {
        border-top: 1px solid #eef0f3;
    }

.setting-label[b-cjaev699bq] {
    display: block;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
}

.setting-hint[b-cjaev699bq] {
    font-size: 0.75rem;
    color: #6b7280;
}

.setting-switch[b-cjaev699bq] {
    width: 2.5em;
    height: 1.35em;
    cursor: pointer;
}

    .setting-switch:checked[b-cjaev699bq] {
        background-color: var(--brand-primary, #f7931e);
        border-color: var(--brand-primary, #f7931e);
    }

    .setting-switch:focus[b-cjaev699bq] {
        box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb, 247, 147, 30), 0.25);
        border-color: var(--brand-primary, #f7931e);
    }

.setting-footnote[b-cjaev699bq] {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #6b7280;
}
/* /Components/Pages/UserManagement.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, form-label, form-control,
   form-select, name-input-wrapper, checkbox-container, form-check-input,
   btn-search, controls-row, action-controls, items-per-page-select, orange-btn,
   results-banner, table-responsive-container, users-table, username-link,
   table-checkbox, status-*, custom-pagination, pag-btn, pag-center,
   floating-actions-container, btn-orange-floating, btn-floating-* */

/* /Components/Pages/UserManagementDetails.razor.rz.scp.css */
/* See shared.css for: user-management-container, search-card, user-list-card,
   search-header-btn, panel-header-btn, search-body, search-footer, panel-body,
   panel-footer, search-instructions, instruction-text, form-label, form-control,
   form-select, name-input-wrapper, checkbox-container, form-check-input,
   btn-search, controls-row, action-controls, items-per-page-select, orange-btn,
   results-banner, table-responsive-container, users-table, username-link,
   table-checkbox, status-*, custom-pagination, pag-btn, pag-center,
   floating-actions-container, btn-orange-floating, btn-floating-* */

/* Card Frame & Outer Borders */
.custom-tabs-card[b-5tyut7aqlg] {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    margin: 20px;
}

/* Tab Navigation Header Controls */
.custom-nav-tabs.nav-tabs[b-5tyut7aqlg] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #eaeaea;
    padding-left: 0;
}

.custom-nav-tabs .nav-link[b-5tyut7aqlg] {
    color: var(--brand-primary, #ff9900); /* Subtle lighter orange text color */
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    background-color: transparent;
    transition: all 0.15s ease;
}

    /* Hover States for Tabs */
    .custom-nav-tabs .nav-link:hover[b-5tyut7aqlg] {
        background-color: #f0f0f0;
        color: var(--brand-primary-dark, #e68a00);
        border: none;
    }

    /* Overriding Active Tab State precisely mapping the top orange underline */
    .custom-nav-tabs .nav-link.active[b-5tyut7aqlg] {
        color: var(--brand-primary, #ff9900) !important;
        background-color: #ffffff !important;
        border-top: 3px solid var(--brand-primary, #ff9900) !important; /* Thick orange accent line on top */
        border-left: 1px solid #eaeaea !important;
        border-right: 1px solid #eaeaea !important;
        margin-top: -1px; /* Visual fix for alignment flush */
    }

/* First active tab left edge boundary alignment correction */
.custom-nav-tabs .nav-item:first-child .nav-link.active[b-5tyut7aqlg] {
    border-left: none !important;
}

/* Inner Tab Box Content Alignment */
.custom-tab-body[b-5tyut7aqlg] {
    padding: 24px;
}

.description-text[b-5tyut7aqlg] {
    font-size: 13px;
    color: #555555;
    margin-bottom: 20px;
}

/* Gray Warning Panel Layout Structure */
.custom-empty-alert[b-5tyut7aqlg] {
    background-color: #eeeeee;
    border: none;
    border-radius: 4px;
    color: #777777;
    font-size: 13px;
    font-style: italic;
    padding: 14px 18px;
    margin-bottom: 0;
}

/* Password input wrapper with toggle button overlay */
.password-input-wrapper[b-5tyut7aqlg] {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-wrapper .form-control[b-5tyut7aqlg] {
        padding-right: 2.5rem;
    }

.password-toggle-btn[b-5tyut7aqlg] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    padding: 0;
    color: #aaaaaa;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

    .password-toggle-btn:hover[b-5tyut7aqlg] {
        color: var(--brand-primary, #ff9900);
    }

/* Strength meter bar */
.password-strength-wrapper[b-5tyut7aqlg] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength-bar[b-5tyut7aqlg] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

    .password-strength-bar .progress-bar[b-5tyut7aqlg] {
        border-radius: 3px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

/* Strength label colours */
.password-strength-label[b-5tyut7aqlg] {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}

.strength-very-weak[b-5tyut7aqlg]  { color: #dc3545; }
.strength-weak[b-5tyut7aqlg]       { color: #fd7e14; }
.strength-fair[b-5tyut7aqlg]       { color: #0dcaf0; }
.strength-strong[b-5tyut7aqlg]     { color: #0d6efd; }
.strength-very-strong[b-5tyut7aqlg] { color: #198754; }

/* Validation checklist */
.password-checklist[b-5tyut7aqlg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .password-checklist li[b-5tyut7aqlg] {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .password-checklist .check-pass[b-5tyut7aqlg] {
        color: #198754;
    }

    .password-checklist .check-fail[b-5tyut7aqlg] {
        color: #aaaaaa;
    }
/* /Components/Pages/UserManagementNew.razor.rz.scp.css */
/* See shared.css for: user-management-container, panel-header-btn,
   floating-actions-container, btn-orange-floating, btn-floating-*,
   form-label, form-control, form-select, form-check-input */

/* Main Layout Card Box */
.details-card[b-fx867iunhw] {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin: 24px auto;
}

/* Inner Container Card Padding rules */
.panel-body[b-fx867iunhw] {
    padding: 32px 24px;
}

/* Section Instruction Sub-titles styling */
.section-instruction[b-fx867iunhw] {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Horizontal Dividers between core layout sections */
.section-horizontal-divider[b-fx867iunhw] {
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
    padding-top: 28px;
}

/* Explicit Grayed-out field shading matching Password/Confirm inputs */
.input-shaded[b-fx867iunhw] {
    background-color: #eaecf0 !important;
}

/* Password helper icons container layout rules */
.input-icon-wrapper[b-fx867iunhw] {
    position: relative;
}

.mock-helper-dots[b-fx867iunhw] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d32f2f;
    color: white;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.65rem;
    pointer-events: none;
}

/* Checkbox Outer Container Height Frame */
.checkbox-container-box[b-fx867iunhw] {
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    min-height: 46px;
}

/* Fixed textareas sizing */
textarea.form-control[b-fx867iunhw] {
    min-height: 130px;
    resize: none;
}



@media (min-width: 768px) {
    .vertical-divider-left[b-fx867iunhw] {
        border-left: 1px solid #e5e7eb;
        padding-left: 24px;
    }
}

/* Password input wrapper with toggle button overlay */
.password-input-wrapper[b-fx867iunhw] {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-wrapper .form-control[b-fx867iunhw] {
        padding-right: 2.5rem;
    }

.password-toggle-btn[b-fx867iunhw] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    padding: 0;
    color: #aaaaaa;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

    .password-toggle-btn:hover[b-fx867iunhw] {
        color: var(--brand-primary, #ff9900);
    }

/* "Generate password" button */
.btn-generate-password[b-fx867iunhw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--brand-primary, #ff9900);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--brand-primary, #ff9900);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .btn-generate-password:hover[b-fx867iunhw] {
        background-color: var(--brand-primary, #ff9900);
        color: #ffffff;
    }

/* Strength meter bar */
.password-strength-wrapper[b-fx867iunhw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength-bar[b-fx867iunhw] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

    .password-strength-bar .progress-bar[b-fx867iunhw] {
        border-radius: 3px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

/* Strength label colours */
.password-strength-label[b-fx867iunhw] {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}

.strength-very-weak[b-fx867iunhw]  { color: #dc3545; }
.strength-weak[b-fx867iunhw]       { color: #fd7e14; }
.strength-fair[b-fx867iunhw]       { color: #0dcaf0; }
.strength-strong[b-fx867iunhw]     { color: #0d6efd; }
.strength-very-strong[b-fx867iunhw] { color: #198754; }

/* Validation checklist */
.password-checklist[b-fx867iunhw] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .password-checklist li[b-fx867iunhw] {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .password-checklist .check-pass[b-fx867iunhw] {
        color: #198754;
    }

    .password-checklist .check-fail[b-fx867iunhw] {
        color: #aaaaaa;
    }

/* Data annotation validation messages */
.validation-message[b-fx867iunhw] {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Account-notification radio option cards (Send welcome mail / Send password) */
.notify-option-card[b-fx867iunhw] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 12px 14px;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .notify-option-card:hover[b-fx867iunhw] {
        border-color: var(--brand-primary, #ff9900);
    }

    .notify-option-card input[type="radio"][b-fx867iunhw] {
        margin-top: 3px;
        flex-shrink: 0;
    }

.notify-option-title[b-fx867iunhw] {
    font-weight: 600;
    color: #333333;
    display: block;
}

.notify-option-description[b-fx867iunhw] {
    color: #777777;
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}
/* /Components/Pages/WhatsAppRequest.razor.rz.scp.css */
.mobile-container[b-r46agvz27d] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.phone-frame[b-r46agvz27d] {
    width: 280px;
    height: 500px;
    border: 3px solid #333;
    border-radius: 25px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.whatsapp-header[b-r46agvz27d] {
    background: #075e54;
    color: white;
    height: 60px;
    flex-shrink: 0;
}

.whatsapp-avatar[b-r46agvz27d] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.whatsapp-contact-name[b-r46agvz27d] {
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.2;
}

.whatsapp-status[b-r46agvz27d] {
    color: #d1f4cc;
    font-size: 0.65rem;
}

.message-container[b-r46agvz27d] {
    flex: 1;
    padding: 12px;
    background: #e5ddd5;
    overflow-y: auto;
    max-height: 380px;
}

.message-bubble[b-r46agvz27d] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    overflow: hidden;
}

    .message-bubble.empty-state[b-r46agvz27d] {
        background: #f5f5f5;
        border: 2px dashed #ccc;
    }

.message-header .header-media[b-r46agvz27d],
.header-media[b-r46agvz27d] {
    width: 100%;
    height: 100px;
    object-fit: contain;
    display: block;
}

.header-placeholder[b-r46agvz27d] {
    height: 120px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.header-text[b-r46agvz27d] {
    padding: 10px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.message-body[b-r46agvz27d] {
    padding: 10px 12px;
}

.message-text[b-r46agvz27d] {
    line-height: 1.4;
    white-space: pre-wrap;
}

.message-footer[b-r46agvz27d] {
    padding: 6px 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.message-buttons[b-r46agvz27d] {
    padding: 8px;
    border-top: 1px solid #e9ecef;
    max-height: 200px;
    overflow-y: auto;
    position: relative;
}

.whatsapp-button[b-r46agvz27d] {
    color: #075e54 !important;
    border: 1px solid #075e54 !important;
    background: transparent;
    text-transform: none;
    font-size: 0.78rem;
}

    .whatsapp-button:hover[b-r46agvz27d] {
        background: rgba(7, 94, 84, 0.08) !important;
    }

.button-list-overlay[b-r46agvz27d] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(280px, 90vw);
    max-height: min(350px, 70vh);
    overflow-y: auto;
    z-index: 1300;
    background: white;
}

.whatsapp-input-bar[b-r46agvz27d] {
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    height: 56px;
    flex-shrink: 0;
}

.input-field[b-r46agvz27d] {
    background: white;
    border-radius: 20px;
    height: 36px;
}

.mic-button[b-r46agvz27d] {
    width: 38px;
    height: 38px;
    background: #075e54;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .phone-frame[b-r46agvz27d] {
        width: 250px;
        height: 450px;
    }

    .button-list-overlay[b-r46agvz27d] {
        width: 95vw;
        max-height: 60vh;
    }

    .message-buttons[b-r46agvz27d] {
        max-height: 150px;
    }

    .whatsapp-button[b-r46agvz27d] {
        font-size: 0.72rem;
        padding: 3px 6px;
    }
}
/* /Components/Shared/BranchPicker.razor.rz.scp.css */
/* Branch picker: a responsive grid of toggleable chips. Accent colours follow the client theme
   via the --brand-* variables (orange by default, navy for C-BRTA). */

.branch-picker-header[b-codntgzck5] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 10px;
}

.branch-picker-count[b-codntgzck5] {
    font-size: 0.8rem;
    color: #7b7b7b;
}

.branch-picker-actions[b-codntgzck5] {
    margin-left: auto;
    display: flex;
    gap: 12px;
}

.branch-picker-link[b-codntgzck5] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-primary, #f7931e);
    cursor: pointer;
}

    .branch-picker-link:hover:not(:disabled)[b-codntgzck5] {
        text-decoration: underline;
    }

    .branch-picker-link:disabled[b-codntgzck5] {
        color: #b7b7b7;
        cursor: default;
    }

.branch-picker-grid[b-codntgzck5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.branch-chip[b-codntgzck5] {
    position: relative; /* anchors the hidden checkbox */
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.85rem;
    color: #333333;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

    .branch-chip:hover[b-codntgzck5] {
        border-color: var(--brand-primary, #f7931e);
    }

    .branch-chip.selected[b-codntgzck5] {
        border-color: var(--brand-primary, #f7931e);
        background-color: var(--brand-primary-light, #fff8f0);
        font-weight: 500;
    }

    /* Keyboard focus lands on the visually hidden checkbox; show it on the chip instead. */
    .branch-chip:focus-within[b-codntgzck5] {
        box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 247, 147, 30), 0.2);
    }

/* Hidden but still focusable/clickable, so the chip stays keyboard- and screen-reader-accessible. */
.branch-chip-input[b-codntgzck5] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.branch-chip-icon[b-codntgzck5] {
    flex-shrink: 0;
    font-size: 1rem;
    color: #b7b7b7;
}

.branch-chip.selected .branch-chip-icon[b-codntgzck5] {
    color: var(--brand-primary, #f7931e);
}

.branch-chip-text[b-codntgzck5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/ContactSupportModal.razor.rz.scp.css */
/* ===== CONTACT SUPPORT MODAL =====
   Previously duplicated verbatim in PageLayout.razor.css and ManagementLayout.razor.css — Blazor's
   CSS isolation only scopes styles to elements written directly in the component's own markup, not
   into a child component's rendered output, so a layout's .razor.css can't actually reach this
   component's elements. Scoping it here (where the markup is authored) is both correct and the
   single source of truth, regardless of which layout renders <ContactSupportModal />. */
.support-modal-content[b-6ydk91m793] {
    border-radius: 14px;
    overflow: hidden;
}

.support-modal-header[b-6ydk91m793] {
    padding: 18px 24px 14px;
    background: linear-gradient(180deg, var(--brand-primary-light, #fffaf4) 0%, #ffffff 100%);
}

.support-header-icon[b-6ydk91m793] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-primary, #f7931e), var(--brand-primary, #f09224));
    color: #fff;
    font-size: 1rem;
}

.support-header-subtitle[b-6ydk91m793] {
    font-size: 0.75rem;
    color: #8c8e96;
}

.support-modal-footer[b-6ydk91m793] {
    padding: 12px 24px 18px;
}

.support-label[b-6ydk91m793] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .support-label i[b-6ydk91m793] {
        color: var(--brand-primary, #f09224);
        font-size: 0.85rem;
    }

.support-label-required[b-6ydk91m793]::after {
    content: '*';
    color: #dc3545;
    margin-left: 1px;
}

.support-label-hint[b-6ydk91m793] {
    font-weight: 400;
    color: #adb5bd;
    font-size: 0.72rem;
}

.support-dropzone[b-6ydk91m793] {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background-color: var(--brand-primary-light, #fff7ef);
    padding: 14px;
    transition: border-color 0.2s, background-color 0.2s;
    min-height: 112px;
}

    .support-dropzone.dragover[b-6ydk91m793] {
        border-color: var(--brand-primary, #f09224);
        background-color: var(--brand-primary-light, #ffe9d1);
    }

.support-drop-prompt[b-6ydk91m793] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 0 6px;
    cursor: pointer;
}

/* Brand-orange cloud glyph (sized directly on the <i> in the markup) — lifts and deepens in color
   on hover/drag so it still reads as an interactive upload control. */
.support-drop-icon[b-6ydk91m793] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--brand-primary, #f09224);
    transition: transform 0.2s ease, color 0.2s ease;
}

    .support-drop-prompt:hover .support-drop-icon[b-6ydk91m793] {
        color: var(--brand-primary-dark, #d97f16);
        transform: translateY(-3px) scale(1.08);
    }

.support-dropzone.dragover .support-drop-icon[b-6ydk91m793] {
    color: var(--brand-primary-dark, #d97f16);
    transform: translateY(-3px) scale(1.08);
}

.support-drop-text[b-6ydk91m793] {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.support-browse-link[b-6ydk91m793] {
    color: var(--brand-primary, #f09224);
    font-weight: 600;
    text-decoration: underline;
}

.support-previews[b-6ydk91m793] {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    /* Extra room top/right (beyond the plain 2px the other edges get) so the remove button's -7px
       overflow (below) has space to sit in before this container's own scroll clipping cuts it off. */
    padding: 8px 10px 2px 2px;
}

/* Fixed-size preview tile — the thumbnail itself never grows/shrinks with the image's own
   dimensions, so a row of attachments always lines up cleanly regardless of what was uploaded.
   The explicit z-index (not just position:relative) turns each tile into its own stacking context,
   so its remove button can't end up painted under a neighboring tile that happens to come later
   in the markup. */
.support-preview-item[b-6ydk91m793] {
    position: relative;
    z-index: 0;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
}

.support-preview-thumb[b-6ydk91m793] {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s ease;
}

.support-preview-item:hover .support-preview-thumb[b-6ydk91m793] {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

    /* "cover" (not "contain") so every tile reads as a real photo thumbnail — filled edge-to-edge
       and cropped to the square, the way attachment previews look in any modern upload UI. */
    .support-preview-thumb img[b-6ydk91m793] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* "Add more" tile shown alongside existing previews (up to the 5-image cap) so there's always a
   click target for adding attachments — otherwise the initial drag/drop + browse prompt disappears
   once at least one image is attached. Sized to match .support-preview-item so it sits in the same grid. */
.support-preview-add[b-6ydk91m793] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #adb5bd;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

    .support-preview-add:hover[b-6ydk91m793] {
        border-color: var(--brand-primary, #f09224);
        color: var(--brand-primary, #f09224);
        background-color: var(--brand-primary-light, #fff8f0);
    }

/* Positioned on .support-preview-item (not .support-preview-thumb, which clips its own overflow
   for the image), so the button itself is never clipped by the thumbnail's rounded/hidden edges.
   A white "ghost" circle (icon-colored, not a solid red fill) so it reads as a light, modern
   overlay control rather than a harsh stop-sign sitting on top of the photo. z-index lifts it
   above the thumbnail (and any neighboring tile) so it's never partially covered. */
.support-preview-remove[b-6ydk91m793] {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    color: #dc3545;
    border: none;
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .support-preview-remove:hover[b-6ydk91m793] {
        background: #dc3545;
        color: #fff;
        transform: scale(1.1);
    }

.support-rules[b-6ydk91m793] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 10px;
}

    .support-rules small[b-6ydk91m793] {
        font-size: 0.72rem;
        color: #6c757d;
    }

.support-success-icon[b-6ydk91m793] {
    font-size: 2.75rem;
    color: #28a745;
}

.support-submit-btn[b-6ydk91m793] {
    background-color: var(--brand-primary, #f09224);
    color: #fff;
    padding: 6px 16px;
}

    .support-submit-btn:hover:not(:disabled)[b-6ydk91m793] {
        background-color: var(--brand-primary-dark, #d97f16);
        color: #fff;
    }

    .support-submit-btn:disabled[b-6ydk91m793] {
        opacity: 0.7;
    }
/* /Components/Shared/EnvironmentBadge.razor.rz.scp.css */
/* Environment badge pinned to the bottom of the (white) drawer. */
.env-badge-wrap[b-rk0swgbt04] {
    display: flex;
    justify-content: center;
    padding: 10px 12px 14px;
    border-top: 1px solid #eef0f3;
}

.env-badge[b-rk0swgbt04] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 5px 12px;
    border: 1px solid var(--env-border);
    border-radius: 999px;
    background-color: var(--env-bg);
    color: var(--env-text);
    font-size: 0.72rem;
    line-height: 1.3;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}

/* Per-environment palette: blue for DEV, amber for UAT. */
.env-dev[b-rk0swgbt04] {
    --env-bg: #e0f2fe;
    --env-border: #7dd3fc;
    --env-text: #075985;
    --env-dot: #0ea5e9;
    --env-dot-rgb: 14, 165, 233;
}

.env-uat[b-rk0swgbt04] {
    --env-bg: #fef3c7;
    --env-border: #fcd34d;
    --env-text: #92400e;
    --env-dot: #f59e0b;
    --env-dot-rgb: 245, 158, 11;
}

.env-dot[b-rk0swgbt04] {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--env-dot);
    animation: env-pulse-b-rk0swgbt04 2s ease-out infinite;
}

.env-label[b-rk0swgbt04] {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.env-name[b-rk0swgbt04] {
    font-weight: 500;
    opacity: 0.85;
}

    .env-name[b-rk0swgbt04]::before {
        content: "·";
        margin-right: 7px;
        opacity: 0.6;
    }

@keyframes env-pulse-b-rk0swgbt04 {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--env-dot-rgb), 0.55);
    }

    70%, 100% {
        box-shadow: 0 0 0 6px rgba(var(--env-dot-rgb), 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .env-dot[b-rk0swgbt04] {
        animation: none;
    }
}

/* Collapsed icon rail (56px, not hovered): shrink to a compact "DEV"/"UAT" pill. */
.sidebar-collapsed .sidebar-panel:not(:hover) .env-badge-wrap[b-rk0swgbt04] {
    padding: 10px 0 14px;
}

.sidebar-collapsed .sidebar-panel:not(:hover) .env-badge[b-rk0swgbt04] {
    gap: 0;
    padding: 4px 7px;
    font-size: 0.62rem;
}

.sidebar-collapsed .sidebar-panel:not(:hover) .env-dot[b-rk0swgbt04],
.sidebar-collapsed .sidebar-panel:not(:hover) .env-name[b-rk0swgbt04] {
    display: none;
}
/* /Components/Shared/LayoutFooter.razor.rz.scp.css */
/* Blazor's reconnect/unhandled-error banner (#blazor-error-ui). These styles must live here, next
   to the markup in LayoutFooter.razor: Blazor CSS isolation scopes a .razor.css file's selectors to
   elements rendered by that same component, so when they sat in Pagelayout.razor.css /
   ManagementLayout.razor.css they never matched this element — "display: none" was never applied
   and the banner showed on every page load instead of only when Blazor's script reveals it. */
#blazor-error-ui[b-m9k8x6bf7g] {
    background: var(--brand-primary-light, #fff8f0);
    border-top: 3px solid var(--brand-primary, #f7931e);
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    display: none;
    left: 0;
    padding: 14px 3.25rem 14px 20px;
    position: fixed;
    width: 100%;
    z-index: 2000;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 13px;
    color: #33353F;
}

    #blazor-error-ui .blazor-error-icon[b-m9k8x6bf7g] {
        color: var(--brand-primary, #f7931e);
        font-size: 16px;
        margin-right: 8px;
    }

    #blazor-error-ui .reload[b-m9k8x6bf7g] {
        color: #fff;
        background-color: var(--brand-primary, #f7931e);
        border: 2px solid var(--brand-primary, #f7931e);
        border-radius: 0.75rem;
        padding: 6px 16px;
        margin-left: 16px;
        text-decoration: none;
        font-weight: 600;
        display: inline-block;
    }

        #blazor-error-ui .reload:hover[b-m9k8x6bf7g] {
            background-color: var(--brand-primary-dark, #e58419);
            border-color: var(--brand-primary-dark, #e58419);
            color: #fff;
        }

    #blazor-error-ui .dismiss[b-m9k8x6bf7g] {
        cursor: pointer;
        position: absolute;
        right: 0.9rem;
        top: 0.9rem;
        color: #7f8082;
        font-size: 16px;
        text-decoration: none;
    }

        #blazor-error-ui .dismiss:hover[b-m9k8x6bf7g] {
            color: #33353F;
        }
/* /Components/Shared/MediaCarousel.razor.rz.scp.css */
/* Side-by-side attachment carousel inside a chat bubble. */

.media-carousel[b-0bufjq56ol] {
    position: relative;
    width: 100%;
    max-width: 420px;
}

/* Horizontal strip; snaps to each item and scrolls by touch, trackpad, shift+wheel or the arrows. */
.media-carousel-track[b-0bufjq56ol] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

    .media-carousel-track[b-0bufjq56ol]::-webkit-scrollbar {
        height: 6px;
    }

    .media-carousel-track[b-0bufjq56ol]::-webkit-scrollbar-thumb {
        background-color: #d6d5d5;
        border-radius: 3px;
    }

.media-carousel-item[b-0bufjq56ol] {
    position: relative;
    flex: 0 0 180px;
    height: 180px;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f1f3f5;
}

    .media-carousel-item img[b-0bufjq56ol],
    .media-carousel-item video[b-0bufjq56ol] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .media-carousel-item img[b-0bufjq56ol] {
        cursor: pointer;
        transition: transform 0.2s ease;
    }

        .media-carousel-item img:hover[b-0bufjq56ol] {
            transform: scale(1.03);
        }

/* PDF / generic file tile. */
.media-carousel-file[b-0bufjq56ol] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    background: none;
    color: #555555;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
}

    .media-carousel-file i[b-0bufjq56ol] {
        font-size: 2rem;
    }

/* "2 of 4" label on each item. */
.media-carousel-index[b-0bufjq56ol] {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 0.7rem;
    pointer-events: none;
}

/* Total attachment count, top-right of the strip. */
.media-carousel-count[b-0bufjq56ol] {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 0.7rem;
    pointer-events: none;
}

    .media-carousel-count i[b-0bufjq56ol] {
        margin-right: 3px;
    }

.media-carousel-nav[b-0bufjq56ol] {
    position: absolute;
    top: calc(50% - 3px);
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
}

    .media-carousel-nav.prev[b-0bufjq56ol] {
        left: 6px;
    }

    .media-carousel-nav.next[b-0bufjq56ol] {
        right: 6px;
    }

/* Arrows appear on hover/focus so they don't cover the media the rest of the time; always shown on touch screens. */
.media-carousel:hover .media-carousel-nav[b-0bufjq56ol],
.media-carousel-nav:focus-visible[b-0bufjq56ol] {
    opacity: 1;
}

@media (hover: none) {
    .media-carousel-nav[b-0bufjq56ol] {
        opacity: 1;
    }
}
