@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Common/GlobalSearch.razor.rz.scp.css */
.global-search-container[b-gb2o83an7e] {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-button[b-gb2o83an7e] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-button:hover[b-gb2o83an7e] {
    border-color: #9ca3af;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-button .bi-search[b-gb2o83an7e] {
    color: #6b7280;
    font-size: 16px;
    margin-right: 8px;
}

.search-placeholder[b-gb2o83an7e] {
    color: #9ca3af;
    font-size: 14px;
}

.search-overlay[b-gb2o83an7e] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    animation: fadeIn-b-gb2o83an7e 0.2s ease-out;
}

@keyframes fadeIn-b-gb2o83an7e {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-dropdown[b-gb2o83an7e] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: dropDown-b-gb2o83an7e 0.25s ease-out;
    transform-origin: top center;
}

@keyframes dropDown-b-gb2o83an7e {
    from {
        opacity: 0;
        transform: scaleY(0.95) translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
        max-height: 70vh;
    }
}

@keyframes dropUp-b-gb2o83an7e {
    from {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scaleY(0.95) translateY(-10px);
    }
}

.search-input-container[b-gb2o83an7e] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.search-input-container .bi-search[b-gb2o83an7e] {
    color: #6b7280;
    font-size: 18px;
    margin-right: 12px;
}

.search-input[b-gb2o83an7e] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #111827;
}

.search-input[b-gb2o83an7e]::placeholder {
    color: #9ca3af;
}

.search-results[b-gb2o83an7e] {
    overflow-y: auto;
    max-height: calc(70vh - 60px);
    padding: 8px 0;
}

.search-loading[b-gb2o83an7e] {
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

.result-group[b-gb2o83an7e] {
    margin-bottom: 8px;
}

.result-group-header[b-gb2o83an7e] {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f9fafb;
}

.result-item[b-gb2o83an7e] {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.result-item:hover[b-gb2o83an7e] {
    background-color: #f3f4f6;
}

.result-icon[b-gb2o83an7e] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 50%;
}

.result-content[b-gb2o83an7e] {
    flex: 1;
}

.result-title[b-gb2o83an7e] {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.result-subtitle[b-gb2o83an7e] {
    font-size: 12px;
    color: #6b7280;
}

.no-results[b-gb2o83an7e] {
    padding: 32px;
    text-align: center;
    color: #6b7280;
}

.no-results .bi[b-gb2o83an7e] {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}
/* /Components/Layout/AdminMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   Admin Zone — Amber-accented admin section
   ═══════════════════════════════════════════════════ */

.admin-zone[b-t2ycyzt8cj] {
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.admin-zone[b-t2ycyzt8cj]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #f59e0b, #d97706);
    border-radius: 0 2px 2px 0;
    opacity: 0.5;
}

/* ── Outer Admin Section ───────────────────────────── */

.admin-section[b-t2ycyzt8cj] {
    border: none;
    margin: 0;
}

.admin-header[b-t2ycyzt8cj] {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.25rem 0.25rem;
    user-select: none;
    transition: opacity 0.2s;
}

.admin-header:hover[b-t2ycyzt8cj] {
    opacity: 0.85;
}

.admin-header[b-t2ycyzt8cj]::-webkit-details-marker {
    display: none;
}

.admin-header-content[b-t2ycyzt8cj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.675rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f59e0b;
}

.admin-icon[b-t2ycyzt8cj] {
    font-size: 0.8rem;
}

.admin-chevron[b-t2ycyzt8cj] {
    font-size: 0.6rem;
    color: #5a7a9e;
    transition: transform 0.25s ease;
}

.admin-section:not([open]) .admin-chevron[b-t2ycyzt8cj] {
    transform: rotate(-90deg);
}

.admin-section[open] .admin-chevron[b-t2ycyzt8cj] {
    transform: rotate(0deg);
}

/* ── Admin Sub-groups ──────────────────────────────── */

.admin-group[b-t2ycyzt8cj] {
    border: none;
    margin: 0;
}

.admin-group + .admin-group[b-t2ycyzt8cj] {
    border-top: 1px solid rgba(255,255,255,0.04);
}

.admin-group-header[b-t2ycyzt8cj] {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 1.25rem 0.125rem;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a6a8e;
    user-select: none;
    transition: color 0.2s;
}

.admin-group-header:hover[b-t2ycyzt8cj] {
    color: #7a9abe;
}

.admin-group-header[b-t2ycyzt8cj]::-webkit-details-marker {
    display: none;
}

.admin-group-title[b-t2ycyzt8cj] {
    flex: 1;
}

.admin-group-chevron[b-t2ycyzt8cj] {
    font-size: 0.5rem;
    transition: transform 0.25s ease;
}

.admin-group:not([open]) .admin-group-chevron[b-t2ycyzt8cj] {
    transform: rotate(-90deg);
}

.admin-group[open] .admin-group-chevron[b-t2ycyzt8cj] {
    transform: rotate(0deg);
}

.admin-group-items[b-t2ycyzt8cj] {
    padding-bottom: 0.125rem;
}

/* ── Nav Items (matching main theme) ───────────────── */

.nav-item[b-t2ycyzt8cj] {
    padding: 1px 0.75rem;
}

.nav-item[b-t2ycyzt8cj]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #8da2c0;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    height: auto;
}

.nav-item[b-t2ycyzt8cj]  .nav-link:hover {
    color: #e2e8f0;
    background: rgba(27, 110, 194, 0.1);
}

.nav-item[b-t2ycyzt8cj]  a.active {
    color: #ffffff;
    background: rgba(27, 110, 194, 0.18);
    font-weight: 500;
}

.nav-item[b-t2ycyzt8cj]  a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    bottom: 0.375rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #1b6ec2;
}

/* ── Icons ─────────────────────────────────────────── */

.blazorIcon[b-t2ycyzt8cj] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.nav-item[b-t2ycyzt8cj]  a.active .blazorIcon {
    opacity: 1;
    color: #3b9eff;
}

.nav-label[b-t2ycyzt8cj] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Diagnostic link (warning accent) ──────────────── */

.admin-diagnostic[b-t2ycyzt8cj] {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}

.diagnostic-link[b-t2ycyzt8cj] {
    color: #f59e0b !important;
}

.diagnostic-link:hover[b-t2ycyzt8cj] {
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, 0.1) !important;
}
/* /Components/Layout/ChangeCompanyStoreButton.razor.rz.scp.css */
.bi[b-ink0yeg8co] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.blazorIcon[b-ink0yeg8co] {
    width: 1.25rem;
    margin-right: 0.75rem;
}

.nav-item[b-ink0yeg8co] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ink0yeg8co] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ink0yeg8co] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ink0yeg8co]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item[b-ink0yeg8co]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-ink0yeg8co]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
/* /Components/Layout/ChatDrawer.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   Chat Drawer — Slide-in panel from the right
   ═══════════════════════════════════════════════════ */

.chat-drawer[b-v3lsf5wmjf] {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.chat-drawer.open[b-v3lsf5wmjf] {
    transform: translateX(0);
}

/* ── Header ──────────────────────────────────────── */

.chat-drawer-header[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #f8f9fa;
}

.chat-drawer-title[b-v3lsf5wmjf] {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-back-btn[b-v3lsf5wmjf],
.chat-new-btn[b-v3lsf5wmjf],
.chat-close-btn[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s;
}

.chat-back-btn:hover[b-v3lsf5wmjf],
.chat-new-btn:hover[b-v3lsf5wmjf],
.chat-close-btn:hover[b-v3lsf5wmjf] {
    background: #e5e7eb;
}

/* ── Body ────────────────────────────────────────── */

.chat-drawer-body[b-v3lsf5wmjf] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ── Conversation List ───────────────────────────── */

.conversation-list[b-v3lsf5wmjf] {
    flex: 1;
    overflow-y: auto;
}

.conversation-item[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f4f6;
}

.conversation-item:hover[b-v3lsf5wmjf] {
    background: #f0f7ff;
}

.conversation-item.unread[b-v3lsf5wmjf] {
    background: #f0f7ff;
}

.conv-avatar[b-v3lsf5wmjf] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4f46e5;
    font-size: 1.1rem;
}

.conv-details[b-v3lsf5wmjf] {
    flex: 1;
    overflow: hidden;
}

.conv-name[b-v3lsf5wmjf] {
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-item.unread .conv-name[b-v3lsf5wmjf] {
    font-weight: 700;
}

.conv-preview[b-v3lsf5wmjf] {
    font-size: 0.8rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conv-meta[b-v3lsf5wmjf] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.conv-time[b-v3lsf5wmjf] {
    font-size: 0.7rem;
    color: #9ca3af;
    white-space: nowrap;
}

.unread-badge[b-v3lsf5wmjf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #1b6ec2;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 0.35rem;
}

/* ── Empty State ─────────────────────────────────── */

.empty-state[b-v3lsf5wmjf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

/* ── Disconnected Banner ─────────────────────────── */

.chat-disconnected-banner[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #92400e;
    background: #fef3c7;
    border-bottom: 1px solid #fde68a;
    flex-shrink: 0;
}

/* ── Chat View ───────────────────────────────────── */

.chat-view[b-v3lsf5wmjf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Hide Syncfusion's built-in message hover toolbar */
.chat-view[b-v3lsf5wmjf]  .e-message-item .e-toolbar,
.chat-view[b-v3lsf5wmjf]  .e-message-item .e-chat-message-toolbar {
    display: none !important;
}

/* Restore left-padding + avatar space for template messages
   (Syncfusion removes it on .e-message-item-template) */
.chat-view[b-v3lsf5wmjf]  .e-left.e-message-item-template {
    padding-left: 40px;
}

/* ── Delete button (shown on hover, only when unread) ── */

.chat-view[b-v3lsf5wmjf]  .chat-msg-content-wrap {
    position: relative;
}

.chat-view[b-v3lsf5wmjf]  .chat-msg-delete {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    z-index: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: background 0.15s, color 0.15s;
}

.chat-view[b-v3lsf5wmjf]  .chat-msg-content-wrap:hover .chat-msg-delete {
    display: inline-flex;
}

.chat-view[b-v3lsf5wmjf]  .chat-msg-delete:hover {
    color: #fff;
    background: #dc2626;
}

/* ── Message Image ───────────────────────────────── */

.chat-view[b-v3lsf5wmjf]  .chat-msg-image {
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.chat-view[b-v3lsf5wmjf]  .chat-msg-image img {
    max-width: 220px;
    max-height: 180px;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.15s;
}

.chat-view[b-v3lsf5wmjf]  .chat-msg-image:hover img {
    opacity: 0.85;
}

/* ── Reactions ───────────────────────────────────── */

.chat-view[b-v3lsf5wmjf]  .chat-msg-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.chat-view[b-v3lsf5wmjf]  .e-right .chat-msg-reactions {
    justify-content: flex-end;
}

.chat-view[b-v3lsf5wmjf]  .reaction-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.chat-view[b-v3lsf5wmjf]  .reaction-pill:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.chat-view[b-v3lsf5wmjf]  .reaction-pill.mine {
    background: #dbeafe;
    border-color: #93c5fd;
}

.chat-view[b-v3lsf5wmjf]  .reaction-count {
    font-weight: 600;
    color: #374151;
}

.chat-view[b-v3lsf5wmjf]  .reaction-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px dashed #d1d5db;
    border-radius: 50%;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.7rem;
    transition: color 0.15s, border-color 0.15s;
}

.chat-view[b-v3lsf5wmjf]  .reaction-add-btn:hover {
    color: #374151;
    border-color: #9ca3af;
}

/* ── Reaction Picker Popup ───────────────────────── */

.chat-view[b-v3lsf5wmjf]  .reaction-picker-popup {
    display: flex;
    gap: 0.15rem;
    padding: 0.3rem 0.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
}

.chat-view[b-v3lsf5wmjf]  .reaction-picker-item {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.chat-view[b-v3lsf5wmjf]  .reaction-picker-item:hover {
    background: #f3f4f6;
}

.typing-indicator[b-v3lsf5wmjf] {
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    color: #6b7280;
    background: #fefce8;
    border-bottom: 1px solid #fde68a;
}

/* ── New Conversation Panel ──────────────────────── */

.new-conversation-panel[b-v3lsf5wmjf] {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

.user-select-list[b-v3lsf5wmjf] {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

.user-select-item[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.9rem;
}

.user-select-item:hover[b-v3lsf5wmjf] {
    background: #f3f4f6;
}

.user-select-item.selected[b-v3lsf5wmjf] {
    background: #e0e7ff;
}

.user-presence-dot[b-v3lsf5wmjf] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-presence-dot.online[b-v3lsf5wmjf] {
    background: #22c55e;
}

.user-presence-dot.offline[b-v3lsf5wmjf] {
    background: #d1d5db;
}

.selected-users-tags[b-v3lsf5wmjf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* ── Custom Footer Bar ───────────────────────────── */

.chat-footer-bar[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.chat-footer-btn[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.chat-footer-btn:hover[b-v3lsf5wmjf] {
    background: #e5e7eb;
    color: #374151;
}

.chat-footer-input[b-v3lsf5wmjf] {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}

.chat-footer-input:focus[b-v3lsf5wmjf] {
    border-color: #1b6ec2;
}

.chat-footer-send[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: #1b6ec2;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.chat-footer-send:hover[b-v3lsf5wmjf] {
    background: #1558a0;
}

.chat-footer-send:disabled[b-v3lsf5wmjf] {
    background: #9ca3af;
    cursor: not-allowed;
}

/* ── Image preview ───────────────────────────────── */

.chat-image-preview[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #374151;
    background: #eff6ff;
    border-top: 1px solid #dbeafe;
}

/* ── Emoji Picker Panel ──────────────────────────── */

.emoji-picker-panel[b-v3lsf5wmjf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    max-height: 150px;
    overflow-y: auto;
}

.emoji-btn[b-v3lsf5wmjf] {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover[b-v3lsf5wmjf] {
    background: #f3f4f6;
}

/* ── Image Viewer Overlay ────────────────────────── */

.image-viewer-overlay[b-v3lsf5wmjf] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fade-in-b-v3lsf5wmjf 0.2s ease;
}

@keyframes fade-in-b-v3lsf5wmjf {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-viewer-header[b-v3lsf5wmjf] {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    z-index: 1;
}

.image-viewer-close[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.image-viewer-close:hover[b-v3lsf5wmjf] {
    background: rgba(255, 255, 255, 0.3);
}

.image-viewer-body[b-v3lsf5wmjf] {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

.image-viewer-img[b-v3lsf5wmjf] {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    user-select: none;
}

/* ── Mobile responsive ───────────────────────────── */

@media (max-width: 480px) {
    .chat-drawer[b-v3lsf5wmjf] {
        width: 100vw;
    }
}
/* /Components/Layout/ChatHeaderButton.razor.rz.scp.css */
.header-action-btn[b-4q3w1aiocq] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
}

.header-action-btn:hover[b-4q3w1aiocq] {
    background: #f0f7ff;
    color: #1b6ec2;
}

.header-action-btn:focus-visible[b-4q3w1aiocq] {
    box-shadow: 0 0 0 2px #1b6ec2;
}

.header-action-btn .bi[b-4q3w1aiocq] {
    font-size: 1.15rem;
}

.header-chat-badge[b-4q3w1aiocq] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #ef4444;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

.header-chat-offline[b-4q3w1aiocq] {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.6rem;
    color: #f59e0b;
    background: #fff;
    border-radius: 50%;
    padding: 1px;
    line-height: 1;
}
/* /Components/Layout/CustomerMessageDrawer.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Customer Message Drawer — Teal-themed slide-in panel
   Visually distinct from the internal staff ChatDrawer.
   ═══════════════════════════════════════════════════════ */

.cust-drawer[b-231yjwqyhq] {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #f0fdfa;
    box-shadow: -4px 0 24px rgba(13, 148, 136, 0.18);
    /* z-index set via inline style to beat Syncfusion dialog inline styles */
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 3px solid #0d9488;
}

.cust-drawer.open[b-231yjwqyhq] {
    transform: translateX(0);
}

/* ── Header ──────────────────────────────────────────── */
.cust-drawer-header[b-231yjwqyhq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #99f6e4;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
    color: #fff;
}

.cust-drawer-title[b-231yjwqyhq] {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.cust-customer-link[b-231yjwqyhq] {
    color: #fff;
    text-decoration: underline dotted rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

a.cust-customer-link:hover[b-231yjwqyhq] {
    text-decoration: underline solid #fff;
    color: #ccfbf1;
}

.cust-drawer-external-tag[b-231yjwqyhq] {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.cust-back-btn[b-231yjwqyhq],
.cust-close-btn[b-231yjwqyhq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cust-back-btn:hover[b-231yjwqyhq],
.cust-close-btn:hover[b-231yjwqyhq] {
    background: rgba(255, 255, 255, 0.35);
}

/* ── Warning banner ──────────────────────────────────── */
.cust-warning-banner[b-231yjwqyhq] {
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
    color: #92400e;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    flex-shrink: 0;
    text-align: center;
}

/* ── Body ────────────────────────────────────────────── */
.cust-drawer-body[b-231yjwqyhq] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* ── Conversation List ───────────────────────────────── */
.cust-conv-list[b-231yjwqyhq] {
    flex: 1;
    overflow-y: auto;
}

.cust-empty-state[b-231yjwqyhq] {
    text-align: center;
    padding: 2rem 1rem;
}

.cust-conv-item[b-231yjwqyhq] {
    display: flex;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #ccfbf1;
    cursor: pointer;
    transition: background 0.12s;
    align-items: center;
}

.cust-conv-item:hover[b-231yjwqyhq] {
    background: #ccfbf1;
}

.cust-conv-item.unread[b-231yjwqyhq] {
    background: #e6fffa;
    font-weight: 600;
}

.cust-conv-avatar[b-231yjwqyhq] {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cust-conv-details[b-231yjwqyhq] {
    flex: 1;
    min-width: 0;
}

.cust-conv-name[b-231yjwqyhq] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #134e4a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cust-conv-preview[b-231yjwqyhq] {
    font-size: 0.78rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.cust-conv-meta[b-231yjwqyhq] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.cust-conv-time[b-231yjwqyhq] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.cust-unread-badge[b-231yjwqyhq] {
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #0d9488;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Chat View ───────────────────────────────────────── */
.cust-chat-view[b-231yjwqyhq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cust-msg-icon[b-231yjwqyhq] {
    background: #0d9488 !important;
    color: #fff !important;
}

.cust-msg-channel-tag[b-231yjwqyhq] {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cust-msg-media[b-231yjwqyhq] {
    margin-top: 0.3rem;
}

.cust-media-img[b-231yjwqyhq] {
    max-width: 180px;
    max-height: 180px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.cust-video-wrapper[b-231yjwqyhq] {
    position: relative;
    display: inline-block;
}

.cust-media-video[b-231yjwqyhq] {
    max-width: 180px;
    max-height: 180px;
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
    background: #000;
}

.cust-video-play-overlay[b-231yjwqyhq] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.cust-video-wrapper:hover .cust-video-play-overlay[b-231yjwqyhq] {
    color: #fff;
}

/* Override Syncfusion Chat sent-message bubble to use teal theme */
.cust-chat-view[b-231yjwqyhq]  .e-chat-ui .e-message-wrapper.e-message-right .e-message-content {
    background: #0d9488 !important;
    color: #fff !important;
    border-color: #0d9488 !important;
}

.cust-chat-view[b-231yjwqyhq]  .e-chat-ui .e-message-wrapper.e-message-left .e-message-content {
    background: #fff !important;
    border-color: #99f6e4 !important;
}

/* ── Footer / Compose ────────────────────────────────── */
.cust-footer-tabs[b-231yjwqyhq] {
    display: flex;
    border-bottom: 1px solid #ccfbf1;
    background: #f0fdfa;
}

.cust-footer-tab[b-231yjwqyhq] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.4rem 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 2px solid transparent;
}

.cust-footer-tab.active[b-231yjwqyhq] {
    color: #0d9488;
    border-bottom-color: #0d9488;
}

.cust-footer-tab:hover[b-231yjwqyhq] {
    color: #0f766e;
}

.cust-footer-bar[b-231yjwqyhq] {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 0.5rem;
    align-items: flex-end;
}

.cust-footer-input[b-231yjwqyhq] {
    flex: 1;
    border: 1px solid #99f6e4;
    border-radius: 1.2rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}

.cust-footer-input:focus[b-231yjwqyhq] {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.cust-sms-input[b-231yjwqyhq] {
    resize: none;
    field-sizing: content;
    min-height: 2.1rem;
    max-height: 8rem;
    overflow-y: auto;
    border-radius: 0.75rem;
    line-height: 1.4;
}

.cust-footer-send[b-231yjwqyhq] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cust-footer-send:hover:not(:disabled)[b-231yjwqyhq] {
    background: #0f766e;
}

.cust-footer-send:disabled[b-231yjwqyhq] {
    opacity: 0.45;
    cursor: not-allowed;
}

.cust-email-compose[b-231yjwqyhq] {
    padding: 0.4rem 0.5rem 0;
}

.cust-email-subject[b-231yjwqyhq] {
    width: 100%;
    border: 1px solid #99f6e4;
    border-radius: 0.35rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
    outline: none;
}

.cust-email-subject:focus[b-231yjwqyhq] {
    border-color: #0d9488;
}

.cust-no-contact[b-231yjwqyhq] {
    font-size: 0.75rem;
    color: #dc2626;
    padding: 0.2rem 0.6rem 0.4rem;
}

.cust-error[b-231yjwqyhq] {
    font-size: 0.75rem;
    color: #dc2626;
    padding: 0.2rem 0.6rem 0.4rem;
}

/* ── New Message button in header ────────────────────── */
.cust-new-btn[b-231yjwqyhq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cust-new-btn:hover[b-231yjwqyhq] {
    background: rgba(255, 255, 255, 0.35);
}

/* ── Customer Search Panel ───────────────────────────── */
.cust-search-panel[b-231yjwqyhq] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cust-search-bar[b-231yjwqyhq] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #ccfbf1;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.cust-search-icon[b-231yjwqyhq] {
    color: #9ca3af;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cust-search-input[b-231yjwqyhq] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    padding: 0.25rem 0;
    background: transparent;
}

.cust-search-input[b-231yjwqyhq]::placeholder {
    color: #9ca3af;
}

.cust-search-clear[b-231yjwqyhq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.6rem;
    flex-shrink: 0;
    transition: background 0.12s;
}

.cust-search-clear:hover[b-231yjwqyhq] {
    background: #d1d5db;
}
/* /Components/Layout/CustomerMessageHeaderButton.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Customer Message Header Button
   Teal theme so it's visually distinct from internal chat.
   ═══════════════════════════════════════════════════════ */

.cust-header-action-btn[b-0vpxzdlsxr] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #0d9488;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    outline: none;
}

.cust-header-action-btn:hover[b-0vpxzdlsxr] {
    background: #f0fdfa;
    color: #0f766e;
}

.cust-header-action-btn:focus-visible[b-0vpxzdlsxr] {
    box-shadow: 0 0 0 2px #0d9488;
}

.cust-header-action-btn .bi[b-0vpxzdlsxr] {
    font-size: 1.15rem;
}

.cust-header-badge[b-0vpxzdlsxr] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #0d9488;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   App Layout — Sidebar + Header Pattern
   ═══════════════════════════════════════════════════ */

.app-layout[b-hytvpgat05] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── Drawer checkbox (hidden, drives mobile toggle) ── */

.drawer-checkbox[b-hytvpgat05] {
    display: none;
}

.drawer-backdrop[b-hytvpgat05] {
    display: none;
}

/* ── Sidebar ───────────────────────────────────────── */

.sidebar-collapse-checkbox[b-hytvpgat05] {
    display: none;
}

.app-sidebar[b-hytvpgat05] {
    width: 260px;
    flex-shrink: 0;
    height: 100vh;
    background: #071e3d;
    z-index: 1001;
    overflow: hidden;
    transition: width 0.25s ease;
}

/* ── Sidebar Collapsed State (desktop only) ────────── */

@media (min-width: 641px) {
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05] {
        width: 68px;
    }

    /* Brand */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-brand {
        padding: 1rem 0.5rem;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-brand-link {
        justify-content: center;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-brand-text {
        display: none;
    }

    /* Section headers — hide summaries, force content visible */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  details.nav-section > summary {
        display: none;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  details.nav-section > .nav-section-items {
        display: block !important;
    }

    /* Nav items — center icons, hide text */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-item {
        padding: 1px 0.375rem;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-item .nav-link {
        justify-content: center;
        padding: 0.5rem;
        gap: 0;
        font-size: 0;
        overflow: hidden;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-label,
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .link-text {
        display: none;
    }

    /* Icons stay sized correctly */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .blazorIcon {
        font-size: 1.1rem;
        margin: 0;
    }

    /* AdminMenu sub-item indentation reset */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .ms-4 {
        margin-left: 0 !important;
    }

    /* Remove extra Bootstrap horizontal padding in collapsed mode */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .px-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Admin zone — hide headers, force all items visible */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-header {
        display: none;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-items {
        display: block !important;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-group-header {
        display: none;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-group-items {
        display: block !important;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-group + .admin-group {
        border-top: none;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .admin-diagnostic {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    /* Footer */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-footer {
        padding: 0.375rem 0;
    }

    /* Mobile search stays hidden on desktop */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .nav-mobile-search {
        display: none;
    }

    /* Collapse toggle icon switching */
    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .collapse-icon-collapse {
        display: none;
    }

    .sidebar-collapse-checkbox:not(:checked) ~ .app-sidebar[b-hytvpgat05]  .collapse-icon-expand {
        display: none;
    }

    .sidebar-collapse-checkbox:checked ~ .app-sidebar[b-hytvpgat05]  .collapse-btn {
        justify-content: center;
        padding: 0.375rem;
    }
}

/* ── Main Area (header + content) ──────────────────── */

.app-main-area[b-hytvpgat05] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
}

/* ── Header ────────────────────────────────────────── */

.app-header[b-hytvpgat05] {
    display: flex;
    align-items: center;
    height: 3.5rem;
    padding: 0 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    gap: 1rem;
    z-index: 100;
}

.header-menu-btn[b-hytvpgat05] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s;
    flex-shrink: 0;
}

.header-menu-btn:hover[b-hytvpgat05] {
    background: #f3f4f6;
}

.header-menu-btn .bi[b-hytvpgat05] {
    font-size: 1.35rem;
}

.header-brand-mobile[b-hytvpgat05] {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #071e3d;
    text-decoration: none;
    white-space: nowrap;
}

.header-brand-mobile:hover[b-hytvpgat05] {
    text-decoration: none;
    color: #071e3d;
}

.header-brand-icon[b-hytvpgat05] {
    color: #1b6ec2;
    font-size: 1.2rem;
}

.header-search[b-hytvpgat05] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-actions[b-hytvpgat05] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.header-action-btn[b-hytvpgat05] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s;
}

.header-action-btn:hover[b-hytvpgat05] {
    background: #f0f7ff;
    color: #1b6ec2;
}

.header-action-btn .bi[b-hytvpgat05] {
    font-size: 1.15rem;
}

.notification-badge[b-hytvpgat05] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #ef4444;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

.header-chat-badge[b-hytvpgat05] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #ef4444;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

.header-chat-offline[b-hytvpgat05] {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.6rem;
    color: #f59e0b;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Main Content ──────────────────────────────────── */

.app-main[b-hytvpgat05] {
    flex: 1;
    overflow-y: auto;
    position: relative;
    z-index: 0;
}

.content[b-hytvpgat05] {
    padding-top: 1.1rem;
}

/* ── Mobile Responsive ─────────────────────────────── */

@media (max-width: 640.98px) {
    .app-sidebar[b-hytvpgat05] {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .drawer-checkbox:checked ~ .app-sidebar[b-hytvpgat05] {
        left: 0;
    }

    .drawer-checkbox:checked ~ .drawer-backdrop[b-hytvpgat05] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        animation: backdropFadeIn-b-hytvpgat05 0.3s ease;
    }

    .app-main-area[b-hytvpgat05] {
        width: 100%;
    }

    .header-menu-btn[b-hytvpgat05] {
        display: flex;
    }

    .header-brand-mobile[b-hytvpgat05] {
        display: flex;
    }

    .header-search[b-hytvpgat05] {
        display: none;
    }
}

@keyframes backdropFadeIn-b-hytvpgat05 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Blazor error UI ───────────────────────────────── */

#blazor-error-ui[b-hytvpgat05] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-hytvpgat05] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   Nav Sidebar — Modern Dark Blue Theme
   Palette: #071e3d (bg), #1b6ec2 (accent), #8da2c0 (text)
   ═══════════════════════════════════════════════════ */

.nav-container[b-h07wpt2h0p] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #071e3d;
    color: #8da2c0;
    overflow: hidden;
}

/* ── Brand ─────────────────────────────────────────── */

.nav-brand[b-h07wpt2h0p] {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.nav-brand-link[b-h07wpt2h0p] {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    gap: 0.625rem;
}

.nav-brand-link:hover[b-h07wpt2h0p] {
    color: #ffffff;
    text-decoration: none;
}

.nav-brand-icon[b-h07wpt2h0p] {
    font-size: 1.5rem;
    color: #3b9eff;
}

.nav-brand-text[b-h07wpt2h0p] {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ── Mobile Search (hidden on desktop) ─────────────── */

.nav-mobile-search[b-h07wpt2h0p] {
    display: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

/* ── Scrollable Navigation ─────────────────────────── */

.nav-scroll[b-h07wpt2h0p] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #1e3a5f transparent;
}

.nav-scroll[b-h07wpt2h0p]::-webkit-scrollbar {
    width: 4px;
}

.nav-scroll[b-h07wpt2h0p]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scroll[b-h07wpt2h0p]::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
}

/* ── Section Groups ────────────────────────────────── */

.nav-section[b-h07wpt2h0p] {
    padding: 0.25rem 0;
    border: none;
    margin: 0;
}

.nav-section + .nav-section[b-h07wpt2h0p],
details.nav-section + details.nav-section[b-h07wpt2h0p],
.nav-section + details.nav-section[b-h07wpt2h0p],
details.nav-section + .nav-section[b-h07wpt2h0p] {
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Collapsible <details> Headers ─────────────────── */

details.nav-section > summary[b-h07wpt2h0p] {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.25rem 0.25rem;
    font-size: 0.675rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a7a9e;
    user-select: none;
    transition: color 0.2s;
}

details.nav-section > summary:hover[b-h07wpt2h0p] {
    color: #8da2c0;
}

details.nav-section > summary[b-h07wpt2h0p]::-webkit-details-marker {
    display: none;
}

.nav-section-title[b-h07wpt2h0p] {
    flex: 1;
}

.nav-chevron[b-h07wpt2h0p] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
}

details.nav-section:not([open]) .nav-chevron[b-h07wpt2h0p] {
    transform: rotate(-90deg);
}

details.nav-section[open] .nav-chevron[b-h07wpt2h0p] {
    transform: rotate(0deg);
}

.nav-section-items[b-h07wpt2h0p] {
    padding-bottom: 0.25rem;
}

/* ── Nav Items ─────────────────────────────────────── */

.nav-item[b-h07wpt2h0p] {
    padding: 1px 0.75rem;
}

.nav-item[b-h07wpt2h0p]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #8da2c0;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    height: auto;
}

.nav-item[b-h07wpt2h0p]  .nav-link:hover {
    color: #e2e8f0;
    background: rgba(27, 110, 194, 0.1);
}

.nav-item[b-h07wpt2h0p]  a.active {
    color: #ffffff;
    background: rgba(27, 110, 194, 0.18);
    font-weight: 500;
}

.nav-item[b-h07wpt2h0p]  a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    bottom: 0.375rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #1b6ec2;
}

/* ── Deep overrides for child components ───────────── */

.nav-scroll[b-h07wpt2h0p]  .nav-item {
    padding: 1px 0.75rem;
    padding-bottom: 0;
    font-size: 0.875rem;
}

.nav-scroll[b-h07wpt2h0p]  .nav-item .nav-link,
.nav-footer[b-h07wpt2h0p]  .nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #8da2c0;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    height: auto;
}

.nav-scroll[b-h07wpt2h0p]  .nav-item .nav-link:hover,
.nav-footer[b-h07wpt2h0p]  .nav-item .nav-link:hover {
    color: #e2e8f0;
    background: rgba(27, 110, 194, 0.1);
}

.nav-scroll[b-h07wpt2h0p]  .nav-item a.active,
.nav-footer[b-h07wpt2h0p]  .nav-item a.active {
    color: #ffffff;
    background: rgba(27, 110, 194, 0.18);
    font-weight: 500;
}

.nav-scroll[b-h07wpt2h0p]  .nav-item a.active::before,
.nav-footer[b-h07wpt2h0p]  .nav-item a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    bottom: 0.375rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #1b6ec2;
}

.nav-scroll[b-h07wpt2h0p]  .blazorIcon,
.nav-footer[b-h07wpt2h0p]  .blazorIcon {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
    margin-right: 0;
}

.nav-scroll[b-h07wpt2h0p]  .nav-item a.active .blazorIcon,
.nav-footer[b-h07wpt2h0p]  .nav-item a.active .blazorIcon {
    opacity: 1;
    color: #3b9eff;
}

/* ── Icons (NavMenu-direct items) ──────────────────── */

.blazorIcon[b-h07wpt2h0p] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.nav-item[b-h07wpt2h0p]  a.active .blazorIcon {
    opacity: 1;
    color: #3b9eff;
}

.nav-label[b-h07wpt2h0p] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Footer ────────────────────────────────────────── */

.nav-footer[b-h07wpt2h0p] {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.5rem 0;
    flex-shrink: 0;
}

/* ── Collapse Toggle ───────────────────────────────── */

.nav-collapse-toggle[b-h07wpt2h0p] {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.5rem 0.75rem;
    flex-shrink: 0;
}

.collapse-btn[b-h07wpt2h0p] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    color: #5a7a9e;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.collapse-btn:hover[b-h07wpt2h0p] {
    color: #e2e8f0;
    background: rgba(27, 110, 194, 0.1);
}

.collapse-icon-collapse[b-h07wpt2h0p],
.collapse-icon-expand[b-h07wpt2h0p] {
    font-size: 0.9rem;
}

/* ── Mobile responsive ─────────────────────────────── */

@media (max-width: 640.98px) {
    .nav-mobile-search[b-h07wpt2h0p] {
        display: block;
    }

    .nav-collapse-toggle[b-h07wpt2h0p] {
        display: none;
    }
}
/* /Components/Layout/NewNavMenu.razor.rz.scp.css */
.navbar-toggler[b-tafsuerwrx] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-tafsuerwrx] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.bottom-row[b-tafsuerwrx] {
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
    text-align: right;
    width: 100%;
    padding-right: 28px;
}

.icon-menu-arrow[b-tafsuerwrx] {
    text-align: right;
}

.navbar-brand[b-tafsuerwrx] {
    font-size: 1.1rem;
}

.oi[b-tafsuerwrx] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.chicken[b-tafsuerwrx] {
    background-color: red;
}

.nav-item[b-tafsuerwrx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-tafsuerwrx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tafsuerwrx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tafsuerwrx]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-tafsuerwrx]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item[b-tafsuerwrx]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-tafsuerwrx] {
        display: none;
    }

    .collapse[b-tafsuerwrx] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

@media (max-width: 640px) {
    .bottom-row[b-tafsuerwrx] {
        display: block;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lc9awc0xw0],
.components-reconnect-repeated-attempt-visible[b-lc9awc0xw0],
.components-reconnect-failed-visible[b-lc9awc0xw0],
.components-pause-visible[b-lc9awc0xw0],
.components-resume-failed-visible[b-lc9awc0xw0],
.components-rejoining-animation[b-lc9awc0xw0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-retrying[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-failed[b-lc9awc0xw0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lc9awc0xw0] {
    display: block;
}


#components-reconnect-modal[b-lc9awc0xw0] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lc9awc0xw0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lc9awc0xw0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lc9awc0xw0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lc9awc0xw0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lc9awc0xw0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lc9awc0xw0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lc9awc0xw0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lc9awc0xw0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lc9awc0xw0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lc9awc0xw0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lc9awc0xw0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lc9awc0xw0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-lc9awc0xw0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-lc9awc0xw0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lc9awc0xw0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lc9awc0xw0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lc9awc0xw0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lc9awc0xw0 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/ScheduleMenuItem.razor.rz.scp.css */
.bi[b-w0btu3o8hm] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.blazorIcon[b-w0btu3o8hm] {
    width: 1.25rem;
    margin-right: 0.75rem;
}

.nav-item[b-w0btu3o8hm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-w0btu3o8hm] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-w0btu3o8hm] {
        padding-bottom: 1rem;
    }

    .nav-item[b-w0btu3o8hm]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item[b-w0btu3o8hm]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-w0btu3o8hm]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
/* /Components/Modals/CustomerMessagingPanel.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════
   CustomerMessagingPanel  –  Customer-Facing Messaging
   Visually distinct from the internal staff chat (purple/dark Syncfusion UI).
   Uses a teal/green palette so staff can never mistake this for internal chat.
   ═══════════════════════════════════════════════════════════════════════════ */

.customer-messaging-panel[b-3fnb8x0cbm] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border: 2px solid #0d9488;   /* teal-600 border — unmistakable */
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f0fdfa;          /* teal-50 background */
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.cmp-header[b-3fnb8x0cbm] {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
    color: #fff;
    padding: 0.6rem 0.9rem;
    gap: 0.25rem;
    flex-shrink: 0;
}

.cmp-header-title[b-3fnb8x0cbm] {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.cmp-header-badge[b-3fnb8x0cbm] {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cmp-btn-sms[b-3fnb8x0cbm],
.cmp-btn-email[b-3fnb8x0cbm] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.35rem;
    transition: background 0.15s;
}

.cmp-btn-sms:hover[b-3fnb8x0cbm],
.cmp-btn-email:hover[b-3fnb8x0cbm],
.cmp-btn-sms.active[b-3fnb8x0cbm],
.cmp-btn-email.active[b-3fnb8x0cbm] {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ── Message list ────────────────────────────────────────────────────────── */
.cmp-messages[b-3fnb8x0cbm] {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f0fdfa;
}

.cmp-empty[b-3fnb8x0cbm] {
    color: #5eead4;
    text-align: center;
    margin: auto;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

/* ── Bubbles ─────────────────────────────────────────────────────────────── */
.cmp-bubble-row[b-3fnb8x0cbm] {
    display: flex;
}

.cmp-bubble-row.inbound[b-3fnb8x0cbm] {
    justify-content: flex-start;
}

.cmp-bubble-row.outbound[b-3fnb8x0cbm] {
    justify-content: flex-end;
}

.cmp-bubble[b-3fnb8x0cbm] {
    max-width: 72%;
    border-radius: 1rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    line-height: 1.45;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.cmp-bubble-in[b-3fnb8x0cbm] {
    background: #fff;
    border: 1px solid #99f6e4;
    border-bottom-left-radius: 0.25rem;
}

.cmp-bubble-out[b-3fnb8x0cbm] {
    background: #0d9488;
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.cmp-channel-tag[b-3fnb8x0cbm] {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.75;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cmp-bubble-body[b-3fnb8x0cbm] {
    white-space: pre-wrap;
    word-break: break-word;
}

.cmp-bubble-meta[b-3fnb8x0cbm] {
    font-size: 0.7rem;
    opacity: 0.65;
    margin-top: 0.3rem;
    text-align: right;
}

.cmp-bubble-in .cmp-bubble-meta[b-3fnb8x0cbm] {
    text-align: left;
}

/* ── Media attachments ───────────────────────────────────────────────────── */
.cmp-media[b-3fnb8x0cbm] {
    margin-top: 0.4rem;
}

.cmp-media-img[b-3fnb8x0cbm] {
    max-width: 200px;
    max-height: 200px;
    border-radius: 0.5rem;
    cursor: pointer;
    object-fit: cover;
}

.cmp-video-wrapper[b-3fnb8x0cbm] {
    position: relative;
    display: inline-block;
}

.cmp-media-video[b-3fnb8x0cbm] {
    max-width: 200px;
    max-height: 200px;
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
    background: #000;
    cursor: pointer;
}

.cmp-video-play-overlay[b-3fnb8x0cbm] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.cmp-video-wrapper:hover .cmp-video-play-overlay[b-3fnb8x0cbm] {
    color: #fff;
}

/* ── Compose area ────────────────────────────────────────────────────────── */
.cmp-compose[b-3fnb8x0cbm] {
    flex-shrink: 0;
    border-top: 2px solid #99f6e4;
    padding: 0.6rem 0.75rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Red warning banner so staff never accidentally send as customer message */
.cmp-warning-banner[b-3fnb8x0cbm] {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 0.35rem;
    color: #92400e;
    font-size: 0.78rem;
    padding: 0.35rem 0.6rem;
}

.cmp-compose-row[b-3fnb8x0cbm] {
    display: flex;
}

.cmp-compose-row .form-control[b-3fnb8x0cbm],
.cmp-textarea[b-3fnb8x0cbm] {
    border-color: #5eead4;
    resize: vertical;
}

.cmp-compose-row .form-control:focus[b-3fnb8x0cbm],
.cmp-textarea:focus[b-3fnb8x0cbm] {
    border-color: #0d9488;
    box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.2);
}

.cmp-compose-footer[b-3fnb8x0cbm] {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.cmp-btn-send[b-3fnb8x0cbm] {
    background: #0d9488;
    color: #fff;
    border: none;
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
    border-radius: 0.4rem;
    transition: background 0.15s;
}

.cmp-btn-send:hover:not(:disabled)[b-3fnb8x0cbm] {
    background: #0f766e;
}

.cmp-btn-send:disabled[b-3fnb8x0cbm] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Undelivered warning ─────────────────────────────────────────────────── */
.cmp-undelivered[b-3fnb8x0cbm] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 0.25rem;
}

.cmp-bubble-out .cmp-undelivered[b-3fnb8x0cbm] {
    color: #fca5a5;
}
/* /Components/Modals/EditAddress.razor.rz.scp.css */
/* ── EditAddress Modal – Modern Clean Design ──────────────────────────────── */

/* Section cards within the dialog */
.ea-section[b-m12xfido0z] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.ea-section-header[b-m12xfido0z] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #f1f3f5;
}

    .ea-section-header i[b-m12xfido0z] {
        font-size: 1.15rem;
        color: var(--bs-primary);
    }

    .ea-section-header h6[b-m12xfido0z] {
        margin: 0;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: -0.01em;
    }

/* Compact form controls */
.ea-section .form-label[b-m12xfido0z] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.ea-section .form-control[b-m12xfido0z] {
    font-size: 0.875rem;
    border-radius: 0.5rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .ea-section .form-control:focus[b-m12xfido0z] {
        box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
    }

/* Google Map container */
.ea-map-container[b-m12xfido0z] {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.ea-map[b-m12xfido0z] {
    width: 100%;
    height: 240px;
}

.ea-map-hint[b-m12xfido0z] {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

/* Geocode status badge */
.ea-geo-badge[b-m12xfido0z] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
    font-weight: 500;
}

.ea-geo-verified[b-m12xfido0z] {
    background: #d1fae5;
    color: #065f46;
}

.ea-geo-unverified[b-m12xfido0z] {
    background: #fef3c7;
    color: #92400e;
}

.ea-geo-missing[b-m12xfido0z] {
    background: #fee2e2;
    color: #991b1b;
}

/* Site attribute table */
.ea-attr-table[b-m12xfido0z] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .ea-attr-table th[b-m12xfido0z] {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #6c757d;
        font-weight: 600;
        padding: 0.4rem 0.6rem;
        border-bottom: 2px solid #e9ecef;
    }

    .ea-attr-table td[b-m12xfido0z] {
        font-size: 0.85rem;
        padding: 0.45rem 0.6rem;
        border-bottom: 1px solid #f1f3f5;
        vertical-align: middle;
    }

    .ea-attr-table tr:last-child td[b-m12xfido0z] {
        border-bottom: none;
    }

.ea-attr-actions[b-m12xfido0z] {
    display: flex;
    gap: 0.3rem;
}

    .ea-attr-actions .btn[b-m12xfido0z] {
        padding: 0.2rem 0.45rem;
        font-size: 0.78rem;
        border-radius: 0.4rem;
    }

/* Empty state */
.ea-empty[b-m12xfido0z] {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #adb5bd;
}

    .ea-empty i[b-m12xfido0z] {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

/* Add-attribute inline row */
.ea-add-row[b-m12xfido0z] {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f3f5;
}

    .ea-add-row .form-control[b-m12xfido0z],
    .ea-add-row .form-select[b-m12xfido0z] {
        font-size: 0.85rem;
        border-radius: 0.5rem;
    }

/* Two-column layout for wider viewports */
.ea-columns[b-m12xfido0z] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 700px) {
    .ea-columns[b-m12xfido0z] {
        grid-template-columns: 1fr;
    }
}

/* Inline edit for attribute value */
.ea-inline-input[b-m12xfido0z] {
    border: 1px solid #dee2e6;
    border-radius: 0.4rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 200px;
}
/* /Components/Modals/EditCustomerOrder.razor.rz.scp.css */
/* Geocode status badge — mirrors EditAddress.razor.css */
.eco-geo-badge[b-yqqpacvc5v] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-weight: 500;
    white-space: nowrap;
}

.eco-geo-verified[b-yqqpacvc5v] {
    background: #d1fae5;
    color: #065f46;
}

.eco-geo-unverified[b-yqqpacvc5v] {
    background: #fef3c7;
    color: #92400e;
}

.eco-geo-missing[b-yqqpacvc5v] {
    background: #fee2e2;
    color: #991b1b;
}

.eco-geo-manual[b-yqqpacvc5v] {
    background: #e0e7ff;
    color: #3730a3;
}
/* /Components/Pages/CustomerOrders.razor.rz.scp.css */
.status-badges[b-7ko53fv80u] {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    align-items: center;
}

.status-badge[b-7ko53fv80u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
    transition: opacity 0.15s ease;
}

.status-badge:hover[b-7ko53fv80u] {
    opacity: 0.85;
}

/* Open Tasks – warm amber */
.badge-tasks-open[b-7ko53fv80u] {
    background-color: #fef3c7;
    color: #d97706;
}

/* All Tasks Completed – emerald */
.badge-tasks-done[b-7ko53fv80u] {
    background-color: #d1fae5;
    color: #059669;
}

/* Items to Order – cool slate */
.badge-to-order[b-7ko53fv80u] {
    background-color: #f1f5f9;
    color: #475569;
}

/* Items on Order – soft blue */
.badge-on-order[b-7ko53fv80u] {
    background-color: #dbeafe;
    color: #2563eb;
}

/* Items on Order & Allocated – fuchsia */
.badge-on-order-allocated[b-7ko53fv80u] {
    background-color: #fae8ff;
    color: #a21caf;
}

/* Partially Received (some on order, some allocated) – teal */
.badge-partially-received[b-7ko53fv80u] {
    background-color: #ccfbf1;
    color: #0d9488;
}

/* Ready to Invoice – violet */
.badge-ready-invoice[b-7ko53fv80u] {
    background-color: #ede9fe;
    color: #7c3aed;
}

/* All Invoiced – green */
.badge-all-invoiced[b-7ko53fv80u] {
    background-color: #dcfce7;
    color: #16a34a;
}

/* Balance Due – red */
.badge-balance-due[b-7ko53fv80u] {
    background-color: #fee2e2;
    color: #dc2626;
}

[b-7ko53fv80u] .pointer {
    cursor: pointer;
}

[b-7ko53fv80u] .e-grid .e-rowcell {
    cursor: pointer;
}

/* Status filter bar */
.status-filter-bar[b-7ko53fv80u] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.filter-chip[b-7ko53fv80u] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1.5px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-chip:hover[b-7ko53fv80u] {
    opacity: 0.75;
}

.filter-chip.active[b-7ko53fv80u] {
    opacity: 1;
    border-color: currentColor;
    box-shadow: 0 0 0 1px currentColor;
}

.filter-mode-toggle[b-7ko53fv80u] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    margin-left: 0.2rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1.5px solid #6b7280;
    background-color: #f3f4f6;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.filter-mode-toggle:hover[b-7ko53fv80u] {
    background-color: #e5e7eb;
    border-color: #4b5563;
}

/* ── Full-page layout ──────────────────────────────── */

/* 3.5rem header + 1.1rem .content padding-top */
.page-container[b-7ko53fv80u] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 4.6rem);
    overflow: hidden;
}

.page-header[b-7ko53fv80u] {
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

/* Make SfTab fill the remaining flex space */
.page-container[b-7ko53fv80u]  #orderTabs {
    flex: 1;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
}

.page-container[b-7ko53fv80u]  #orderTabs > .e-tab-header {
    flex-shrink: 0;
}

.page-container[b-7ko53fv80u]  #orderTabs > .e-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.page-container[b-7ko53fv80u]  #orderTabs > .e-content > .e-item {
    height: 100%;
    overflow: hidden;
}

/* Per-tab flex column wrapper */
.tab-content-wrapper[b-7ko53fv80u] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Intermediate wrapper so SfGrid Height="100%" resolves against the
   remaining flex space (after the filter bar), not the full tab height.
   Without this, the grid overflows by the filter-bar height and the
   pager is clipped by overflow:hidden on tab-content-wrapper. */
.grid-flex-wrapper[b-7ko53fv80u] {
    flex: 1;
    min-height: 0;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.widget-picker-popover[b-z5a0wev3xi] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    width: 340px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}
/* /Components/Pages/PointOfSale.razor.rz.scp.css */
/* =================== LOADING & GATE SCREENS =================== */

.pos-loading[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.pos-gate[b-eguuethxp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.pos-gate-card[b-eguuethxp1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 3rem 4rem;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.register-list[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 1.5rem;
}

.register-option[b-eguuethxp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    background: #f8f9fa;
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

    .register-option:hover[b-eguuethxp1] {
        border-color: var(--bs-primary);
        background: #e7f1ff;
    }

/* ═══════════════════ MAIN POS LAYOUT ═══════════════════ */

.pos-container[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
    background: #f0f2f5;
}

.pos-header[b-eguuethxp1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
    background: white;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.pos-header-left[b-eguuethxp1],
.pos-header-right[b-eguuethxp1] {
    display: flex;
    align-items: center;
}

.pos-header-center[b-eguuethxp1] {
    text-align: center;
}

.pos-register-name[b-eguuethxp1] {
    font-weight: 600;
    font-size: .95rem;
}

.pos-body[b-eguuethxp1] {
    display: flex;
    flex: 1;
    overflow: hidden;
    gap: 0;
}

/* Left column: items panel + footer stacked vertically */
.pos-left-column[b-eguuethxp1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid #dee2e6;
}

/* ═══════════════════ LEFT PANEL: ITEMS ═══════════════════ */

.pos-items-panel[b-eguuethxp1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.pos-search[b-eguuethxp1] {
    padding: .75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    position: relative;
}

.pos-search-dropdown[b-eguuethxp1] {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.pos-search-item[b-eguuethxp1] {
    display: block;
    width: 100%;
    text-align: left;
    padding: .65rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: .95rem;
    transition: background .1s;
}

    .pos-search-item:hover[b-eguuethxp1] {
        background: #e7f1ff;
    }

    .pos-search-item:last-child[b-eguuethxp1] {
        border-bottom: none;
    }

.pos-line-items[b-eguuethxp1] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.pos-empty-cart[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: .6;
}

.pos-line-items table thead[b-eguuethxp1] {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 1;
}

.pos-line-items table thead th[b-eguuethxp1] {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6c757d;
    padding: .5rem .75rem;
    border-bottom: 2px solid #dee2e6;
}

.pos-line-items table tbody td[b-eguuethxp1] {
    padding: .6rem .75rem;
    vertical-align: middle;
}

.pos-special-row[b-eguuethxp1] {
    background: #f0f9ff !important;
    border-left: 3px solid #0dcaf0;
}

/* ── Quantity controls ── */

.pos-qty-control[b-eguuethxp1] {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.pos-qty-btn[b-eguuethxp1] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s;
}

    .pos-qty-btn:hover[b-eguuethxp1] {
        background: #dee2e6;
    }

.pos-qty-input[b-eguuethxp1] {
    width: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    font-size: .95rem;
    font-weight: 600;
    padding: .25rem 0;
    -moz-appearance: textfield;
}

    .pos-qty-input[b-eguuethxp1]::-webkit-outer-spin-button,
    .pos-qty-input[b-eguuethxp1]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* ── Special order toggle ── */

.pos-toggle[b-eguuethxp1] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

    .pos-toggle input[b-eguuethxp1] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.pos-toggle-slider[b-eguuethxp1] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .2s;
}

    .pos-toggle-slider[b-eguuethxp1]::before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background: white;
        border-radius: 50%;
        transition: .2s;
    }

.pos-toggle input:checked + .pos-toggle-slider[b-eguuethxp1] {
    background: #0dcaf0;
}

.pos-toggle input:checked + .pos-toggle-slider[b-eguuethxp1]::before {
    transform: translateX(20px);
}

/* ═══════════════════ RIGHT PANEL: SIDEBAR ═══════════════════ */

.pos-sidebar[b-eguuethxp1] {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .75rem;
    overflow-y: auto;
    background: #f8f9fa;
    flex-shrink: 0;
}

.pos-card[b-eguuethxp1] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}

.pos-card-header[b-eguuethxp1] {
    padding: .6rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    color: #495057;
}

.pos-card-body[b-eguuethxp1] {
    padding: .75rem 1rem;
}

.pos-customer-info[b-eguuethxp1] {
    padding: .25rem 0;
}

.pos-special-card[b-eguuethxp1] {
    border: 2px solid #0dcaf0;
}

    .pos-special-card .pos-card-header[b-eguuethxp1] {
        background: #e7fbff;
        color: #055160;
    }

/* ── Totals ── */

.pos-totals-card .pos-card-body[b-eguuethxp1] {
    padding: 1rem;
}

.pos-total-section[b-eguuethxp1] {
    padding-bottom: .5rem;
}

.pos-grand-total[b-eguuethxp1] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

/* ── Payment methods ── */

.pos-payment-methods[b-eguuethxp1] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.pos-payment-chip[b-eguuethxp1] {
    padding: .5rem .85rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    background: white;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

    .pos-payment-chip:hover[b-eguuethxp1] {
        border-color: var(--bs-primary);
        background: #e7f1ff;
    }

    .pos-payment-chip.active[b-eguuethxp1] {
        border-color: var(--bs-primary);
        background: var(--bs-primary);
        color: white;
    }

.pos-change[b-eguuethxp1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .75rem;
    background: #d1e7dd;
    border-radius: 8px;
    color: #0f5132;
    font-size: .95rem;
}

[b-eguuethxp1] .pos-amount-input .e-input {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* ── Split payment list ── */

.pos-split-list[b-eguuethxp1] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: .6rem .75rem;
    background: #f8f9fa;
}

.pos-split-entry[b-eguuethxp1] {
    display: flex;
    align-items: center;
    padding: .35rem 0;
    border-bottom: 1px solid #eee;
}

    .pos-split-entry:last-of-type[b-eguuethxp1] {
        border-bottom: none;
    }

.pos-split-method[b-eguuethxp1] {
    flex: 1;
    font-weight: 500;
    font-size: .9rem;
}

.pos-split-amount[b-eguuethxp1] {
    font-weight: 600;
    font-size: .9rem;
    margin-right: .5rem;
}

.pos-split-remove[b-eguuethxp1] {
    padding: 2px 6px;
    font-size: .75rem;
}

.pos-split-remaining[b-eguuethxp1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 2px solid #dee2e6;
    font-size: .95rem;
}

.pos-fully-paid[b-eguuethxp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    background: #d1e7dd;
    border-radius: 8px;
    color: #0f5132;
    font-weight: 600;
    font-size: .95rem;
}

/* ── Action buttons ── */

.pos-actions[b-eguuethxp1] {
    display: flex;
    gap: .75rem;
    margin-top: auto;
    padding-top: .5rem;
}

.pos-action-btn[b-eguuethxp1] {
    flex: 1;
    padding: .75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    min-height: 60px;
}

.pos-pay-btn[b-eguuethxp1] {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pos-pay-amount[b-eguuethxp1] {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: .15rem;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */

@media (max-width: 768px) {
    .pos-body[b-eguuethxp1] {
        flex-direction: column;
    }

    .pos-sidebar[b-eguuethxp1] {
        width: 100%;
        max-height: 45vh;
    }
}

@media (max-height: 850px) {
    .pos-sidebar[b-eguuethxp1] {
        gap: .4rem;
    }

    .pos-card-header[b-eguuethxp1] {
        padding: .35rem .75rem;
        font-size: .8rem;
    }

    .pos-card-body[b-eguuethxp1] {
        padding: .5rem .75rem;
    }

    .pos-totals-card .pos-card-body[b-eguuethxp1] {
        padding: .5rem .75rem;
    }

    .pos-grand-total[b-eguuethxp1] {
        font-size: 1.2rem;
    }

    .pos-actions[b-eguuethxp1] {
        gap: .5rem;
        padding-top: .25rem;
    }

    .pos-action-btn[b-eguuethxp1] {
        padding: .4rem .5rem;
        min-height: unset;
        font-size: .875rem;
    }

    .pos-pay-amount[b-eguuethxp1] {
        font-size: 1rem;
        margin-top: .05rem;
    }
}

/* ═══════════════════ QUICK SKU GRID ═══════════════════ */

.pos-quick-grid[b-eguuethxp1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: .5rem;
}

.pos-quick-btn[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .5rem .35rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    min-height: 64px;
}

    .pos-quick-btn:hover[b-eguuethxp1] {
        border-color: var(--bs-primary);
        background: #e7f1ff;
    }

.pos-quick-name[b-eguuethxp1] {
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pos-quick-price[b-eguuethxp1] {
    font-size: .72rem;
    color: #6c757d;
    margin-top: .15rem;
}

/* ═══════════════════ STOCK WARNING ═══════════════════ */

.pos-stock-warning-cell[b-eguuethxp1] {
    position: relative;
    display: inline-block;
}

.pos-stock-warn-btn[b-eguuethxp1] {
    border: none;
    background: none;
    padding: 2px 4px;
    cursor: pointer;
    line-height: 1;
}

.pos-stock-panel[b-eguuethxp1] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 2000;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    padding: .6rem .75rem;
    min-width: 280px;
    font-size: .85rem;
    white-space: nowrap;
}

.pos-stock-panel-header[b-eguuethxp1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem;
    font-weight: 600;
}

.btn-close-sm[b-eguuethxp1] {
    width: 16px;
    height: 16px;
    font-size: .65rem;
}

.pos-stock-panel-alt[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.pos-stock-alt-btn[b-eguuethxp1] {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .4rem;
    align-items: center;
    padding: .35rem .5rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    text-align: left;
    font-size: .82rem;
    transition: all .12s;
}

    .pos-stock-alt-btn:hover[b-eguuethxp1] {
        border-color: var(--bs-primary);
        background: #e7f1ff;
    }

    .pos-stock-alt-btn.active[b-eguuethxp1] {
        border-color: var(--bs-success);
        background: #d1e7dd;
    }

.pos-stock-alt-site[b-eguuethxp1] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-stock-alt-bin[b-eguuethxp1] {
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-stock-alt-qty[b-eguuethxp1] {
    font-weight: 700;
    color: #0f5132;
    background: #d1e7dd;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: .78rem;
}

/* =================== OVERRIDE BIN BADGE =================== */

.pos-stock-ok[b-eguuethxp1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}

.pos-stock-override-badge[b-eguuethxp1] {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    color: #0c63e4;
    background: #e7f1ff;
    border: 1px solid #b6d4fe;
    border-radius: 4px;
    padding: 1px 5px;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.pos-stock-reset-btn[b-eguuethxp1] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .3rem .5rem;
    margin-bottom: .35rem;
    border: 1px dashed #6c757d;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    font-size: .82rem;
    cursor: pointer;
    transition: all .12s;
}

    .pos-stock-reset-btn:hover[b-eguuethxp1] {
        border-color: #0d6efd;
        color: #0d6efd;
        background: #f0f5ff;
    }

/* =================== QUICK SKU DRAWER =================== */

.pos-quick-drawer-backdrop[b-eguuethxp1] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 900;
}

.pos-quick-drawer[b-eguuethxp1] {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(0,0,0,.18);
    z-index: 910;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease;
}

    .pos-quick-drawer.open[b-eguuethxp1] {
        transform: translateX(0);
    }

.pos-quick-drawer-header[b-eguuethxp1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    font-weight: 600;
    font-size: .95rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    flex-shrink: 0;
}

.pos-quick-drawer-body[b-eguuethxp1] {
    flex: 1;
    overflow-y: auto;
    padding: .75rem;
}

/* =================== SETTINGS MENU =================== */

.pos-settings-menu[b-eguuethxp1] {
    position: relative;
}

.pos-settings-backdrop[b-eguuethxp1] {
    position: fixed;
    inset: 0;
    z-index: 800;
}

.pos-settings-dropdown[b-eguuethxp1] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 810;
    min-width: 180px;
    padding: .35rem 0;
}

.pos-settings-item[b-eguuethxp1] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .5rem 1rem;
    border: none;
    background: none;
    text-align: left;
    font-size: .9rem;
    cursor: pointer;
    transition: background .1s;
    white-space: nowrap;
}

    .pos-settings-item:hover[b-eguuethxp1] {
        background: #f8f9fa;
    }

.pos-settings-divider[b-eguuethxp1] {
    margin: .25rem 0;
    border-color: #dee2e6;
}

/* =================== DISCOUNT CARD =================== */

/* =================== REWARDS CARD =================== */

/* (Discounts and Rewards have moved to the left-panel footer — see below) */

/* ═══════════════════ ORDER ADJUSTMENTS FOOTER ═══════════════════ */

.pos-order-footer[b-eguuethxp1] {
    display: flex;
    flex-shrink: 0;
    min-height: 72px;
    max-height: 112px;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.pos-footer-section[b-eguuethxp1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: .45rem .75rem;
    min-width: 0;
    overflow: hidden;
}

.pos-footer-divider[b-eguuethxp1] {
    width: 1px;
    background: #dee2e6;
    margin: .35rem 0;
}

.pos-footer-section-head[b-eguuethxp1] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: .82rem;
    color: #495057;
    margin-bottom: .3rem;
    flex-shrink: 0;
    gap: .1rem;
}

.pos-footer-chips[b-eguuethxp1] {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: .3rem;
    overflow-y: auto;
}

.pos-footer-empty[b-eguuethxp1] {
    font-size: .78rem;
    color: #adb5bd;
    font-style: italic;
    align-self: center;
}

.pos-footer-chip[b-eguuethxp1] {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem .5rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    white-space: nowrap;
}

.pos-footer-chip--discount[b-eguuethxp1] {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
}

.pos-footer-chip--reward[b-eguuethxp1] {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffe69c;
}

.pos-footer-chip--redeemed[b-eguuethxp1] {
    background: #cff4fc;
    color: #055160;
    border: 1px solid #9eeaf9;
}

.pos-footer-chip-amount[b-eguuethxp1] {
    font-weight: 700;
    margin-left: .1rem;
}

.pos-footer-chip-remove[b-eguuethxp1] {
    background: none;
    border: none;
    padding: 0 0 0 .15rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .6;
    transition: opacity .1s;
}

    .pos-footer-chip-remove:hover[b-eguuethxp1] {
        opacity: 1;
    }

.pos-footer-earn[b-eguuethxp1] {
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    border-radius: 4px;
    padding: 0 4px;
    font-size: .72rem;
    margin-left: .15rem;
}

@media (max-width: 768px) {
    .pos-order-footer[b-eguuethxp1] {
        flex-direction: column;
        max-height: 180px;
    }

    .pos-footer-divider[b-eguuethxp1] {
        width: auto;
        height: 1px;
        margin: 0 .5rem;
    }
}
