/* /Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0i585lwlp7],
.components-reconnect-repeated-attempt-visible[b-0i585lwlp7],
.components-reconnect-failed-visible[b-0i585lwlp7],
.components-pause-visible[b-0i585lwlp7],
.components-resume-failed-visible[b-0i585lwlp7],
.components-rejoining-animation[b-0i585lwlp7] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-retrying[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-failed[b-0i585lwlp7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0i585lwlp7] {
    display: block;
}


#components-reconnect-modal[b-0i585lwlp7] {
    background-color: var(--rz-dialog-background-color);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--rz-dialog-border-radius);
    box-shadow: var(--rz-dialog-shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0i585lwlp7 0.5s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-0i585lwlp7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0i585lwlp7 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

}

#components-reconnect-modal[b-0i585lwlp7]::backdrop {
    background-color: var(--rz-dialog-mask-background-color);
    animation: components-reconnect-modal-fadeInOpacity-b-0i585lwlp7 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0i585lwlp7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0i585lwlp7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0i585lwlp7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0i585lwlp7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0i585lwlp7] {
    margin: 0;
    text-align: center;
}

.components-rejoining-animation[b-0i585lwlp7] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0i585lwlp7] {
        position: absolute;
        border: 3px solid var(--rz-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0i585lwlp7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0i585lwlp7] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0i585lwlp7 {
    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;
    }
}
/* /Pages/CustomerSearchMobile.razor.rz.scp.css */
/* ── Page wrapper ────────────────────────────────── */
.csm-page[b-p3es37zx9w] {
    background: #f2f2f7;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* ── Header ──────────────────────────────────────── */
.csm-header[b-p3es37zx9w] {
    background: linear-gradient(160deg, #08687d 0%, #054e5e 100%);
    padding: 16px 16px 18px;
    position: relative;
    overflow: hidden;
}

.csm-header[b-p3es37zx9w]::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -50px;
    right: -40px;
    pointer-events: none;
}

.csm-header-title[b-p3es37zx9w] {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.csm-header-subtitle[b-p3es37zx9w] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    font-weight: 400;
}

.csm-header-badge[b-p3es37zx9w] {
    display: inline-block;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Search section ──────────────────────────────── */
.csm-search-section[b-p3es37zx9w] {
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5ea;
}

.csm-search-input-row[b-p3es37zx9w] {
    display: flex;
    align-items: center;
    background: #f2f2f7;
    border-radius: 12px;
    padding: 0 12px;
    height: 44px;
    gap: 8px;
    margin-bottom: 10px;
}

/* Strip Radzen default borders/bg from textbox inside the search pill */
.csm-search-input-row .rz-textbox[b-p3es37zx9w] {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 16px !important;
    height: auto !important;
}

.csm-search-actions[b-p3es37zx9w] {
    display: flex;
    gap: 8px;
}

/* ── Section label ───────────────────────────────── */
.csm-section-label[b-p3es37zx9w] {
    font-size: 13px;
    font-weight: 600;
    color: #6c6c70;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px 6px;
}

/* ── Results card ────────────────────────────────── */
.csm-results-card[b-p3es37zx9w] {
    background: #fff;
    border-radius: 12px;
    margin: 0 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ── Customer row ────────────────────────────────── */
.csm-customer-row[b-p3es37zx9w] {
    padding: 12px 16px;
    border-bottom: 1px solid #f2f2f7;
}

.csm-customer-row:last-child[b-p3es37zx9w] {
    border-bottom: none;
}

.csm-customer-main[b-p3es37zx9w] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.csm-avatar[b-p3es37zx9w] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #08687d 0%, #00a3c4 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.csm-customer-info[b-p3es37zx9w] {
    flex: 1;
    min-width: 0;
}

.csm-customer-name[b-p3es37zx9w] {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csm-customer-preview[b-p3es37zx9w] {
    font-size: 13px;
    color: #8e8e93;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Action strip (call / sms / email icons) ─────── */
.csm-action-strip[b-p3es37zx9w] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.csm-icon-btn[b-p3es37zx9w] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    transition: opacity 0.15s, transform 0.15s;
}

.csm-icon-btn:active[b-p3es37zx9w] {
    opacity: 0.7;
    transform: scale(0.9);
}

.csm-call[b-p3es37zx9w]  { background: rgba(0, 122, 255, 0.12); }
.csm-sms[b-p3es37zx9w]   { background: rgba(52, 199, 89, 0.12); }
.csm-email[b-p3es37zx9w] { background: rgba(255, 149, 0, 0.12); }

/* ── Customer footer ─────────────────────────────── */
.csm-customer-footer[b-p3es37zx9w] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f2f2f7;
    flex-wrap: wrap;
}

.csm-opp-badge[b-p3es37zx9w] {
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    padding: 3px 10px;
    flex-shrink: 0;
}

.csm-has-opps[b-p3es37zx9w] {
    background: rgba(52, 199, 89, 0.15);
    color: #248a3d;
}

.csm-no-opps[b-p3es37zx9w] {
    background: rgba(142, 142, 147, 0.15);
    color: #636366;
}

.csm-footer-actions[b-p3es37zx9w] {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.csm-footer-btn[b-p3es37zx9w] {
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s;
}

.csm-footer-btn:active[b-p3es37zx9w] { opacity: 0.75; }

.csm-profile[b-p3es37zx9w] { background: rgba(0, 122, 255, 0.12); color: #007aff; }
.csm-checkin[b-p3es37zx9w] { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.csm-merge[b-p3es37zx9w]   { background: rgba(255, 149, 0, 0.12); color: #c86000; }

.csm-footer-btn:disabled[b-p3es37zx9w] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Pagination hint ─────────────────────────────── */
.csm-pagination-hint[b-p3es37zx9w] {
    text-align: center;
    padding: 14px 16px 20px;
    font-size: 13px;
    color: #8e8e93;
}

/* ── Empty state ─────────────────────────────────── */
.csm-empty-state[b-p3es37zx9w] {
    padding: 48px 32px;
    text-align: center;
    color: #8e8e93;
}

.csm-empty-title[b-p3es37zx9w] {
    font-size: 17px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 6px;
}

.csm-empty-subtitle[b-p3es37zx9w] {
    font-size: 14px;
    color: #8e8e93;
}

/* ── Loading overlay ─────────────────────────────── */
.csm-loading-overlay[b-p3es37zx9w] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.csm-spinner[b-p3es37zx9w] {
    width: 44px;
    height: 44px;
    border: 3px solid #e5e5ea;
    border-top-color: #08687d;
    border-radius: 50%;
    animation: csm-spin-b-p3es37zx9w 0.75s linear infinite;
}

@keyframes csm-spin-b-p3es37zx9w {
    to { transform: rotate(360deg); }
}

.csm-loading-text[b-p3es37zx9w] {
    font-size: 15px;
    color: #636366;
    font-weight: 500;
}
/* /Pages/DeskTopTextMessageInBox.razor.rz.scp.css */
.desk-top-text-message-dialog[b-jo63b5iw3d] {
    padding: 0;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.desk-top-text-message-dialog .dialog-flex-fill[b-jo63b5iw3d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.desk-top-text-message-dialog .desktop-message-shell[b-jo63b5iw3d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.desk-top-text-message-dialog .message-column[b-jo63b5iw3d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.desk-top-text-message-dialog .message-header[b-jo63b5iw3d],
.desk-top-text-message-dialog .message-composer-bar[b-jo63b5iw3d] {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.desk-top-text-message-dialog .rz-card[b-jo63b5iw3d] {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.desk-top-text-message-dialog .message-list-container[b-jo63b5iw3d] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.desk-top-text-message-dialog .message-list-container .rz-datagrid[b-jo63b5iw3d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.desk-top-text-message-dialog .message-list-container .rz-datagrid-content[b-jo63b5iw3d] {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

:global(.rz-dialog-content > .desk-top-text-message-dialog)[b-jo63b5iw3d] {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    flex: 1 1 auto;
}

.desk-top-text-message-dialog .message-composer-bar[b-jo63b5iw3d] {
    flex-shrink: 0;
    padding-bottom: calc(8px + var(--safe-area-bottom, 0px));
}

.desk-top-text-message-dialog .tm-compose-actions .rz-button[b-jo63b5iw3d] {
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
}

.desk-top-text-message-dialog .tm-compose-actions[b-jo63b5iw3d] {
    gap: 2px;
    margin-bottom: 6px;
}

.desk-top-text-message-dialog .tm-compose-input-row[b-jo63b5iw3d] {
    gap: 8px;
}

.desk-top-text-message-dialog .tm-input-wrapper[b-jo63b5iw3d] {
    border-radius: 20px;
    padding: 4px 4px 4px 12px;
}

.desk-top-text-message-dialog .tm-mic-btn.rz-button[b-jo63b5iw3d],
.desk-top-text-message-dialog .tm-send-btn.rz-button[b-jo63b5iw3d] {
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
}

@media (max-width: 767px) {
    :global(.rz-dialog[style*="width:30%"] .desk-top-text-message-dialog)[b-jo63b5iw3d] {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        padding: 0;
    }
}
/* /Pages/ModernMobileMenu.razor.rz.scp.css */
/* Container */
.mm-container[b-9cwsrfary3] {
    display: flex;
    flex-direction: column;
    height: calc(var(--layout-viewport-height, 100dvh) - var(--layout-header-height, 64px));
    overflow: hidden;
    background: #f2f2f7;
}

/* Header */
.mm-header[b-9cwsrfary3] {
    background: #fff;
    border-bottom: 1px solid #e5e5ea;
    padding: 10px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.mm-header-left[b-9cwsrfary3] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mm-title[b-9cwsrfary3] {
    font-size: 20px;
    font-weight: 700;
    color: #1c1c1e;
    letter-spacing: -0.3px;
}

.mm-subtitle[b-9cwsrfary3] {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 400;
}

.mm-header-right[b-9cwsrfary3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-date-chip[b-9cwsrfary3] {
    background: #f2f2f7;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #3c3c43;
}

/* Store selector (frozen, above quick actions) */
.mm-store-selector[b-9cwsrfary3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e5e5ea;
    flex-shrink: 0;
}

/* Quick Actions */
.mm-quick-actions[b-9cwsrfary3] {
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5ea;
    flex-shrink: 0;
}

.mm-quick-label[b-9cwsrfary3] {
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.mm-quick-grid[b-9cwsrfary3] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.mm-quick-item[b-9cwsrfary3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mm-quick-icon[b-9cwsrfary3] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.mm-quick-icon:active[b-9cwsrfary3] {
    transform: scale(0.93);
}

.mm-quick-item-label[b-9cwsrfary3] {
    font-size: 11px;
    font-weight: 500;
    color: #3c3c43;
    text-align: center;
}

/* Scroll area */
.mm-scroll-area[b-9cwsrfary3] {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mm-scroll-area[b-9cwsrfary3]::-webkit-scrollbar {
    width: 4px;
}

.mm-scroll-area[b-9cwsrfary3]::-webkit-scrollbar-thumb {
    background: var(--rz-primary);
    border-radius: 10px;
    opacity: 0.5;
}

.mm-scroll-area[b-9cwsrfary3]::-webkit-scrollbar-track {
    background: transparent;
}

/* Section group */
.mm-section-group[b-9cwsrfary3] {
    margin: 16px 0 0;
}

.mm-group-label[b-9cwsrfary3] {
    font-size: 13px;
    font-weight: 600;
    color: #6c6c70;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0 16px 6px;
}

.mm-section-card[b-9cwsrfary3] {
    background: #fff;
    border-radius: 12px;
    margin: 0 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Section row */
.mm-section-row[b-9cwsrfary3] {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    gap: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    border-bottom: 1px solid #f2f2f7;
    transition: background 0.15s;
}

.mm-section-row:last-of-type[b-9cwsrfary3] {
    border-bottom: none;
}

.mm-section-row:active[b-9cwsrfary3] {
    background: #f2f2f7;
}

.mm-section-icon[b-9cwsrfary3] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.mm-section-label[b-9cwsrfary3] {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1e;
}

.mm-chevron[b-9cwsrfary3] {
    display: flex;
    align-items: center;
    color: #c7c7cc;
    transition: transform 0.25s ease;
}

.mm-section-row.open .mm-chevron[b-9cwsrfary3] {
    transform: rotate(90deg);
}

/* Section content */
.mm-section-content[b-9cwsrfary3] {
    display: none;
    padding: 10px 12px 14px;
    background: #fafafa;
    border-top: 1px solid #e5e5ea;
}

.mm-section-content.open[b-9cwsrfary3] {
    display: block;
}

/* Icon grid */
.mm-icon-grid[b-9cwsrfary3] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.mm-menu-item[b-9cwsrfary3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px 2px;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

.mm-menu-item:active[b-9cwsrfary3] {
    background: #e5e5ea;
}

.mm-menu-icon[b-9cwsrfary3] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f7;
    font-size: 22px;
}

.mm-menu-label[b-9cwsrfary3] {
    font-size: 10px;
    font-weight: 500;
    color: #3c3c43;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    max-width: 70px;
}

/* Safe area bottom padding */
.mm-safe-bottom[b-9cwsrfary3] {
    height: env(safe-area-inset-bottom, 16px);
    min-height: 16px;
}

/* Section accent colors */
.c-blue[b-9cwsrfary3]   { background: #007aff; }
.c-green[b-9cwsrfary3]  { background: #34c759; }
.c-orange[b-9cwsrfary3] { background: #ff9500; }
.c-teal[b-9cwsrfary3]   { background: #5ac8fa; }
.c-indigo[b-9cwsrfary3] { background: #5856d6; }
.c-red[b-9cwsrfary3]    { background: #ff3b30; }
.c-purple[b-9cwsrfary3] { background: #af52de; }
.c-slate[b-9cwsrfary3]  { background: #636366; }
.c-pink[b-9cwsrfary3]   { background: #ff2d55; }
.c-mint[b-9cwsrfary3]   { background: #00c7be; }

/* Icon text colors */
.t-blue[b-9cwsrfary3]   { color: #007aff; }
.t-green[b-9cwsrfary3]  { color: #34c759; }
.t-orange[b-9cwsrfary3] { color: #ff9500; }
.t-teal[b-9cwsrfary3]   { color: #5ac8fa; }
.t-indigo[b-9cwsrfary3] { color: #5856d6; }
.t-red[b-9cwsrfary3]    { color: #ff3b30; }
.t-purple[b-9cwsrfary3] { color: #af52de; }
.t-slate[b-9cwsrfary3]  { color: #636366; }
.t-pink[b-9cwsrfary3]   { color: #ff2d55; }
.t-mint[b-9cwsrfary3]   { color: #00c7be; }
/* /Pages/TextMessageInboxMobile.razor.rz.scp.css */
.message-header[b-8wclxrf67o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.message-header-main[b-8wclxrf67o] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-header-text[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.message-header-actions[b-8wclxrf67o] {
    display: flex;
    align-items: center;
}

.message-composer[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}

.composer-send-row[b-8wclxrf67o] {
    display: flex;
    justify-content: flex-end;
}

.tools-slideout-overlay[b-8wclxrf67o] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1200;
}

.tools-slideout-animation[b-8wclxrf67o] {
    z-index: 1250;
}

.tools-slideout-panel[b-8wclxrf67o] {
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
}

.tools-slideout-header[b-8wclxrf67o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.tools-slideout-body[b-8wclxrf67o] {
    padding: 12px 16px 24px;
    overflow-y: auto;
    flex: 1;
}

.tools-slideout-body .message-actions[b-8wclxrf67o] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.tools-slideout-body .templates-section[b-8wclxrf67o],
.tools-slideout-body .reviews-section[b-8wclxrf67o],
.tools-slideout-body .inventory-section[b-8wclxrf67o] {
    margin-bottom: 16px;
}

.tools-slideout-panel .message-actions > div[b-8wclxrf67o],
.tools-slideout-panel .message-actions > button[b-8wclxrf67o] {
    margin: 0;
}

.inventory-actions[b-8wclxrf67o] {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}
.text-messaging-container[b-8wclxrf67o] {
    height: calc(var(--layout-viewport-height, 100dvh) - var(--layout-header-height, 56px) - var(--safe-area-bottom, 0px) - 10px) !important;
    max-height: calc(var(--layout-viewport-height, 100dvh) - var(--layout-header-height, 56px) - var(--safe-area-bottom, 0px) - 10px) !important;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.text-messaging-grid[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0;
    overflow: hidden;
}

.text-messaging-grid > .rz-card[b-8wclxrf67o] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.customer-list-panel[b-8wclxrf67o],
.contact-actions-panel[b-8wclxrf67o],
.message-column[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Grid cell: zero out Radzen's built-in cell padding so tm-customer-card controls its own spacing */
.customer-list-grid .rz-data-grid-cell[b-8wclxrf67o] {
    padding: 0 !important;
    overflow: hidden;
    max-width: 100%;
}

.contact-actions-panel[b-8wclxrf67o] {
    padding-bottom: env(safe-area-inset-bottom);
}

.contact-actions-body[b-8wclxrf67o] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    height: var(--tm-contact-body-height, auto) !important;
    max-height: var(--tm-contact-body-height, auto) !important;
}

.contact-actions-footer[b-8wclxrf67o] {
    margin-top: auto;
}

.customer-list-grid[b-8wclxrf67o] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    height: var(--tm-customer-grid-height, auto) !important;
    max-height: var(--tm-customer-grid-height, auto) !important;
}

.message-list-container[b-8wclxrf67o] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    height: var(--tm-message-list-height, auto) !important;
    max-height: var(--tm-message-list-height, auto) !important;
}

.customer-list-grid .rz-datagrid[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    height: var(--tm-customer-grid-height, auto) !important;
    max-height: var(--tm-customer-grid-height, auto) !important;
    overflow: hidden;
}

.message-list-container .rz-datagrid[b-8wclxrf67o] {
    display: flex;
    flex-direction: column;
    height: var(--tm-message-list-height, auto) !important;
    max-height: var(--tm-message-list-height, auto) !important;
    overflow: hidden;
}

.customer-list-grid .rz-datagrid-content[b-8wclxrf67o],
.message-list-container .rz-datagrid-content[b-8wclxrf67o] {
    flex: 1;
    min-height: 0;
    overflow: auto !important;
    overflow-x: hidden !important;
}

.message-composer-bar[b-8wclxrf67o] {
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    flex-shrink: 0;
}

#tm-customer-controls[b-8wclxrf67o] {
    display: flow-root;
}

/* Prevent horizontal overflow in the customer datagrid */
.customer-list-grid .rz-grid-table[b-8wclxrf67o] {
    width: 100% !important;
    table-layout: fixed;
}

.customer-list-grid .rz-data-grid-cell[b-8wclxrf67o] {
    overflow: hidden;
    max-width: 100%;
}

/* Contact action rows (iOS Settings style) */
.tm-contact-actions-card[b-8wclxrf67o] {
    background: #ffffff;
    border-radius: 12px;
    margin: 0 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.tm-contact-action-row[b-8wclxrf67o] {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    gap: 14px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.15s;
}

.tm-contact-action-row:active[b-8wclxrf67o] {
    background: #f2f2f7;
}

.tm-contact-action-icon[b-8wclxrf67o] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm-contact-action-label[b-8wclxrf67o] {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1e;
}

.tm-contact-chevron[b-8wclxrf67o] {
    color: #c7c7cc;
    font-size: 20px !important;
    flex-shrink: 0;
}

.tm-contact-action-divider[b-8wclxrf67o] {
    height: 1px;
    background: #f2f2f7;
    margin-left: 62px;
}
