/* /Pages/CommunicationCenter/CommunicationCenter.razor.rz.scp.css */
/* ============================================================
   COMMUNICATION CENTER – Unified Inbox
   ============================================================ */

/* ── Shell ── */
.inbox-shell[b-54n12g3m9y] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    background: #f1f5f9;
    overflow: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Top Bar ── */
.inbox-topbar[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 52px;
    min-height: 52px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 10;
}

.inbox-topbar-left[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.inbox-logo[b-54n12g3m9y] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inbox-title[b-54n12g3m9y] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -.02em;
}

.inbox-topbar-right[b-54n12g3m9y] {
    flex-shrink: 0;
}

.inbox-user[b-54n12g3m9y] {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    font-weight: 500;
    color: #64748b;
    padding: .375rem .75rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* ── Body: Split Layout ── */
.inbox-body[b-54n12g3m9y] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ============================================================
   SIDEBAR (Left Panel)
   ============================================================ */

.inbox-sidebar[b-54n12g3m9y] {
    width: 360px;
    min-width: 360px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e2e8f0;
}

/* ── Sidebar Header with Search ── */
.inbox-sidebar-header[b-54n12g3m9y] {
    padding: .875rem 1rem .625rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: #fff;
}

.inbox-sidebar-title-row[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.inbox-sidebar-label[b-54n12g3m9y] {
    font-size: .8125rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.inbox-total-badge[b-54n12g3m9y] {
    font-size: .625rem;
    font-weight: 700;
    color: #6366f1;
    background: rgba(99,102,241,.08);
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.3;
}

/* ── Search ── */
.inbox-search[b-54n12g3m9y] {
    position: relative;
    width: 100%;
}

.inbox-search-icon[b-54n12g3m9y] {
    position: absolute;
    left: .625rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 1.1rem !important;
}

.inbox-search-input[b-54n12g3m9y] {
    width: 100%;
    height: 34px;
    padding: 0 2rem 0 2.125rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: .8125rem;
    font-family: inherit;
    transition: all .15s;
}

.inbox-search-input[b-54n12g3m9y]::placeholder { color: #94a3b8; }

.inbox-search-input:focus[b-54n12g3m9y] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.08);
    background: #fff;
}

.inbox-search-clear[b-54n12g3m9y] {
    position: absolute;
    right: .375rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: #94a3b8;
    border-radius: 4px;
    display: flex;
    line-height: 0;
}

.inbox-search-clear:hover[b-54n12g3m9y] { color: #475569; }

/* ── Channel Filter Chips ── */
.inbox-filters[b-54n12g3m9y] {
    display: flex;
    gap: 5px;
    padding: .5rem 1rem .625rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.inbox-chip[b-54n12g3m9y] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: transparent;
    color: #64748b;
    font-size: .6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    font-family: inherit;
}

.inbox-chip:hover[b-54n12g3m9y] {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.inbox-chip-active[b-54n12g3m9y] {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

.inbox-chip-active:hover[b-54n12g3m9y] {
    background: #334155;
    color: #fff;
    border-color: #334155;
}

.inbox-chip-dot[b-54n12g3m9y] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ch-sms[b-54n12g3m9y]   { background: #3b82f6; }
.ch-wa[b-54n12g3m9y]    { background: #22c55e; }
.ch-voice[b-54n12g3m9y] { background: #8b5cf6; }

/* ── Contact Scroll Area ── */
.inbox-contacts-scroll[b-54n12g3m9y] {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.inbox-contacts-scroll[b-54n12g3m9y]::-webkit-scrollbar { width: 4px; }
.inbox-contacts-scroll[b-54n12g3m9y]::-webkit-scrollbar-track { background: transparent; }
.inbox-contacts-scroll[b-54n12g3m9y]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* ── Contact Card ── */
.inbox-contact[b-54n12g3m9y] {
    display: flex;
    gap: .625rem;
    padding: .625rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    border-left: 3px solid transparent;
    transition: all .1s ease;
}

.inbox-contact:hover[b-54n12g3m9y] {
    background: #f8fafc;
}

.inbox-contact-active[b-54n12g3m9y] {
    background: rgba(99, 102, 241, .05);
    border-left-color: #6366f1;
}

.inbox-contact-active:hover[b-54n12g3m9y] {
    background: rgba(99, 102, 241, .07);
}

.inbox-contact-avatar[b-54n12g3m9y] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.av-blue[b-54n12g3m9y]    { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.av-emerald[b-54n12g3m9y] { background: linear-gradient(135deg, #10b981, #059669); }
.av-violet[b-54n12g3m9y]  { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.av-amber[b-54n12g3m9y]   { background: linear-gradient(135deg, #f59e0b, #d97706); }
.av-rose[b-54n12g3m9y]    { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.av-cyan[b-54n12g3m9y]    { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.av-indigo[b-54n12g3m9y]  { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.inbox-contact-body[b-54n12g3m9y] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inbox-contact-row1[b-54n12g3m9y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inbox-contact-phone[b-54n12g3m9y] {
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-contact-time[b-54n12g3m9y] {
    font-size: .625rem;
    color: #94a3b8;
    flex-shrink: 0;
    margin-left: .5rem;
    font-weight: 500;
}

.inbox-contact-row2[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}

.inbox-channel-tag[b-54n12g3m9y] {
    font-size: .5625rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.5;
}

.inbox-channel-tag.ch-sms[b-54n12g3m9y] {
    background: rgba(59,130,246,.08);
    color: #3b82f6;
}

.inbox-channel-tag.ch-wa[b-54n12g3m9y] {
    background: rgba(34,197,94,.08);
    color: #16a34a;
}

.inbox-channel-tag.ch-voice[b-54n12g3m9y] {
    background: rgba(139,92,246,.08);
    color: #7c3aed;
}

.inbox-contact-stat[b-54n12g3m9y] {
    font-size: .5625rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 2px;
}

.inbox-contact-row3[b-54n12g3m9y] {
    display: flex;
}

.inbox-contact-preview[b-54n12g3m9y] {
    font-size: .75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ── Skeleton ── */
.inbox-contact-skeleton[b-54n12g3m9y] {
    display: flex;
    gap: .625rem;
    padding: .625rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.inbox-contact-skeleton-text[b-54n12g3m9y] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 2px;
}

/* ── Empty Sidebar ── */
.inbox-empty-sidebar[b-54n12g3m9y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    flex: 1;
}

.inbox-empty-icon[b-54n12g3m9y] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .625rem;
    color: #94a3b8;
}

.inbox-empty-title[b-54n12g3m9y] {
    font-weight: 600;
    font-size: .875rem;
    color: #1e293b;
    margin: 0 0 .25rem;
}

.inbox-empty-desc[b-54n12g3m9y] {
    font-size: .75rem;
    color: #64748b;
    margin: 0 0 .75rem;
    line-height: 1.4;
}

.inbox-empty-btn[b-54n12g3m9y] {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: .375rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    color: #6366f1;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}

.inbox-empty-btn:hover[b-54n12g3m9y] {
    background: rgba(99,102,241,.05);
    border-color: #6366f1;
}

/* ── Pagination ── */
.inbox-pagination[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.inbox-page-btn[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all .12s;
}

.inbox-page-btn:hover:not(:disabled)[b-54n12g3m9y] {
    background: #f1f5f9;
    color: #1e293b;
}

.inbox-page-btn:disabled[b-54n12g3m9y] {
    opacity: .3;
    cursor: default;
}

.inbox-page-info[b-54n12g3m9y] {
    font-size: .6875rem;
    color: #64748b;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

/* ============================================================
   DETAIL PANEL (Right Side)
   ============================================================ */

.inbox-detail[b-54n12g3m9y] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    min-width: 0;
    overflow: hidden;
}

/* ── Placeholder ── */
.inbox-placeholder[b-54n12g3m9y] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    text-align: center;
    padding: 2rem;
}

.inbox-placeholder-visual[b-54n12g3m9y] {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .375rem;
}

.inbox-placeholder-ring[b-54n12g3m9y] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed #cbd5e1;
    animation: inbox-spin-b-54n12g3m9y 20s linear infinite;
}

@keyframes inbox-spin-b-54n12g3m9y {
    to { transform: rotate(360deg); }
}

.inbox-placeholder-title[b-54n12g3m9y] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.inbox-placeholder-desc[b-54n12g3m9y] {
    margin: 0;
    font-size: .8125rem;
    color: #64748b;
    max-width: 280px;
    line-height: 1.5;
}

/* ── Detail Header ── */
.inbox-detail-header[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    min-height: 56px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.inbox-back-btn[b-54n12g3m9y] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: background .12s;
}

.inbox-back-btn:hover[b-54n12g3m9y] { background: #f1f5f9; }

.inbox-detail-avatar[b-54n12g3m9y] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.inbox-detail-info[b-54n12g3m9y] {
    flex: 1;
    min-width: 0;
}

.inbox-detail-phone[b-54n12g3m9y] {
    font-size: .9375rem;
    font-weight: 600;
    color: #1e293b;
}

.inbox-detail-meta[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
    flex-wrap: wrap;
}

.inbox-detail-stats[b-54n12g3m9y] {
    display: flex;
    gap: 8px;
    font-size: .6875rem;
    color: #94a3b8;
}

.inbox-detail-stats span[b-54n12g3m9y] {
    display: inline;
}

/* ── Refresh Button ── */
.inbox-refresh-btn[b-54n12g3m9y] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
}

.inbox-refresh-btn:hover:not(:disabled)[b-54n12g3m9y] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.inbox-refresh-btn:disabled[b-54n12g3m9y] {
    opacity: .5;
    cursor: default;
}

.inbox-refresh-spinning[b-54n12g3m9y] {
    animation: spin-refresh-b-54n12g3m9y .8s linear infinite;
}

@keyframes spin-refresh-b-54n12g3m9y {
    to { transform: rotate(360deg); }
}

/* ── Detail Channel Tabs ── */
.detail-tabs[b-54n12g3m9y] {
    display: flex;
    gap: 0;
    background: #fff;
    border-bottom: 2px solid #e2e8f0;
    padding: 0 1.25rem;
}

.detail-tab[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .625rem 1.125rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: .8125rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .15s;
    white-space: nowrap;
    position: relative;
    bottom: -2px;
    font-family: inherit;
}

.detail-tab:hover[b-54n12g3m9y] {
    color: #475569;
}

.detail-tab-active[b-54n12g3m9y] {
    color: #1e293b;
}

.detail-tab-active.detail-tab-sms[b-54n12g3m9y] {
    border-bottom-color: #3b82f6;
    color: #2563eb;
}

.detail-tab-active.detail-tab-wa[b-54n12g3m9y] {
    border-bottom-color: #22c55e;
    color: #16a34a;
}

.detail-tab-active.detail-tab-voice[b-54n12g3m9y] {
    border-bottom-color: #8b5cf6;
    color: #7c3aed;
}

.detail-tab-count[b-54n12g3m9y] {
    font-size: .625rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    line-height: 1.3;
}

.detail-tab-active .detail-tab-count[b-54n12g3m9y] {
    color: inherit;
}

.detail-tab-active.detail-tab-sms .detail-tab-count[b-54n12g3m9y] {
    background: rgba(59,130,246,.08);
}

.detail-tab-active.detail-tab-wa .detail-tab-count[b-54n12g3m9y] {
    background: rgba(34,197,94,.08);
}

.detail-tab-active.detail-tab-voice .detail-tab-count[b-54n12g3m9y] {
    background: rgba(139,92,246,.08);
}

/* ============================================================
   TIMELINE
   ============================================================ */

.inbox-timeline[b-54n12g3m9y] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: #f8fafc;
}

.inbox-timeline[b-54n12g3m9y]::-webkit-scrollbar { width: 4px; }
.inbox-timeline[b-54n12g3m9y]::-webkit-scrollbar-track { background: transparent; }
.inbox-timeline[b-54n12g3m9y]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Lazy-load indicators */
.tl-loading-older[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 0;
    font-size: .75rem;
    color: #6366f1;
    font-weight: 500;
}

.tl-load-more-hint[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .375rem 0;
    font-size: .6875rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Loading */
.inbox-timeline-loading[b-54n12g3m9y] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 0;
}

.tl-skeleton-left[b-54n12g3m9y]   { display: flex; justify-content: flex-start; }
.tl-skeleton-right[b-54n12g3m9y]  { display: flex; justify-content: flex-end; }
.tl-skeleton-center[b-54n12g3m9y] { display: flex; justify-content: center; }

/* Empty */
.inbox-timeline-empty[b-54n12g3m9y] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #94a3b8;
    font-size: .8125rem;
}

.inbox-timeline-empty p[b-54n12g3m9y] { margin: 0; }

/* ── Date Separator ── */
.tl-date-sep[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .625rem 0 .375rem;
}

.tl-date-sep span[b-54n12g3m9y] {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 3px .75rem;
    border-radius: 12px;
    font-size: .625rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* ── Message Bubble ── */
.tl-msg[b-54n12g3m9y] {
    display: flex;
    max-width: 70%;
    margin-bottom: 3px;
}

.tl-msg-in[b-54n12g3m9y]  { align-self: flex-start; }
.tl-msg-out[b-54n12g3m9y] { align-self: flex-end; }

.tl-msg-bubble[b-54n12g3m9y] {
    padding: .625rem .875rem;
    border-radius: 16px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.tl-msg-in .tl-msg-bubble[b-54n12g3m9y] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
    color: #1e293b;
}

.tl-msg-out .tl-msg-bubble[b-54n12g3m9y] {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    border-bottom-right-radius: 4px;
    border: none;
}

.tl-msg-text[b-54n12g3m9y] {
    font-size: .8125rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.tl-msg-time[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
    font-size: .5625rem;
    opacity: .55;
}

/* Media */
.tl-msg-img-wrap[b-54n12g3m9y] {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
}

.tl-msg-img[b-54n12g3m9y] {
    max-width: 260px;
    max-height: 200px;
    display: block;
    object-fit: cover;
}

.tl-msg-file[b-54n12g3m9y] {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem .625rem;
    border-radius: 8px;
    font-size: .75rem;
    text-decoration: none;
    margin-bottom: 4px;
    transition: opacity .12s;
}

.tl-msg-in .tl-msg-file[b-54n12g3m9y] {
    background: #f1f5f9;
    color: #6366f1;
}

.tl-msg-out .tl-msg-file[b-54n12g3m9y] {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.tl-msg-file:hover[b-54n12g3m9y] { opacity: .8; }

.tl-msg-fsize[b-54n12g3m9y] {
    font-size: .625rem;
    opacity: .7;
}

/* ============================================================
   CALL EVENT CARD
   ============================================================ */

.tl-call[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    align-self: center;
    max-width: 480px;
    width: 100%;
    margin: .25rem 0;
    transition: box-shadow .12s;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.tl-call:hover[b-54n12g3m9y] {
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.tl-call-icon[b-54n12g3m9y] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.call-completed .tl-call-icon[b-54n12g3m9y] { background: rgba(34,197,94,.1); color: #16a34a; }
.call-failed    .tl-call-icon[b-54n12g3m9y] { background: rgba(239,68,68,.1); color: #dc2626; }
.call-busy      .tl-call-icon[b-54n12g3m9y] { background: rgba(245,158,11,.1); color: #d97706; }
.call-active    .tl-call-icon[b-54n12g3m9y] { background: rgba(59,130,246,.1); color: #2563eb; }
.call-default   .tl-call-icon[b-54n12g3m9y] { background: rgba(107,114,128,.1); color: #6b7280; }

.tl-call-body[b-54n12g3m9y] {
    flex: 1;
    min-width: 0;
}

.tl-call-row1[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.tl-call-label[b-54n12g3m9y] {
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
}

.tl-call-status[b-54n12g3m9y] {
    font-size: .625rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: capitalize;
}

.call-completed .tl-call-status[b-54n12g3m9y] { background: rgba(34,197,94,.08); color: #16a34a; }
.call-failed    .tl-call-status[b-54n12g3m9y] { background: rgba(239,68,68,.08); color: #dc2626; }
.call-busy      .tl-call-status[b-54n12g3m9y] { background: rgba(245,158,11,.08); color: #d97706; }
.call-active    .tl-call-status[b-54n12g3m9y] { background: rgba(59,130,246,.08); color: #2563eb; }
.call-default   .tl-call-status[b-54n12g3m9y] { background: rgba(107,114,128,.08); color: #6b7280; }

.tl-call-row2[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-top: 3px;
}

.tl-call-dur[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .6875rem;
    color: #64748b;
    font-weight: 500;
}

.tl-call-time[b-54n12g3m9y] {
    font-size: .6875rem;
    color: #94a3b8;
}

.tl-call-expand[b-54n12g3m9y] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .12s;
    flex-shrink: 0;
}

.tl-call-expand:hover[b-54n12g3m9y] {
    background: #f1f5f9;
    color: #475569;
}

/* ── Call Events Timeline ── */
.tl-call-events[b-54n12g3m9y] {
    align-self: center;
    max-width: 480px;
    width: 100%;
    padding: .5rem 1rem .5rem 3.75rem;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: #fff;
    margin-top: -6px;
    margin-bottom: .25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.tl-call-evt[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem 0;
    position: relative;
    padding-left: 1rem;
}

.tl-call-evt[b-54n12g3m9y]::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: #e2e8f0;
}

.tl-call-evt:last-child[b-54n12g3m9y]::before { display: none; }

.tl-call-evt-dot[b-54n12g3m9y] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    position: absolute;
    left: 0;
    z-index: 1;
}

.tl-call-evt-type[b-54n12g3m9y] {
    font-size: .75rem;
    font-weight: 500;
    color: #1e293b;
}

.tl-call-evt-status[b-54n12g3m9y] {
    font-size: .625rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
}

.tl-call-evt-time[b-54n12g3m9y] {
    font-size: .625rem;
    color: #94a3b8;
    margin-left: auto;
}

/* ============================================================
   COMPOSE BAR
   ============================================================ */

.inbox-compose[b-54n12g3m9y] {
    padding: .625rem 1.25rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.inbox-compose-inner[b-54n12g3m9y] {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: .375rem .5rem .375rem 1rem;
    transition: border-color .15s, box-shadow .15s;
}

.inbox-compose-inner:focus-within[b-54n12g3m9y] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.08);
    background: #fff;
}

.inbox-compose-input[b-54n12g3m9y] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: .8125rem;
    font-family: inherit;
    color: #1e293b;
    min-width: 0;
    padding: .25rem 0;
}

.inbox-compose-input[b-54n12g3m9y]::placeholder {
    color: #94a3b8;
}

.inbox-compose-input:disabled[b-54n12g3m9y] {
    opacity: .5;
}

.inbox-compose-send[b-54n12g3m9y] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #e2e8f0;
    color: #94a3b8;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .15s;
}

.inbox-compose-send-active[b-54n12g3m9y] {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(99,102,241,.3);
}

.inbox-compose-send-active:hover[b-54n12g3m9y] {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(99,102,241,.4);
}

.inbox-compose-send:disabled[b-54n12g3m9y] {
    opacity: .6;
    cursor: default;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .inbox-sidebar[b-54n12g3m9y] {
        width: 100%;
        min-width: unset;
    }

    .inbox-sidebar-hidden-mobile[b-54n12g3m9y] {
        display: none;
    }

    .inbox-back-btn[b-54n12g3m9y] {
        display: flex;
    }

    .tl-msg[b-54n12g3m9y] {
        max-width: 88%;
    }

    .inbox-topbar .inbox-title[b-54n12g3m9y] {
        font-size: .875rem;
    }

    .tl-call[b-54n12g3m9y] {
        max-width: 100%;
    }

    .tl-call-events[b-54n12g3m9y] {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .inbox-topbar[b-54n12g3m9y] {
        padding: 0 .75rem;
    }

    .inbox-contact[b-54n12g3m9y] {
        padding: .5rem .75rem;
    }

    .inbox-timeline[b-54n12g3m9y] {
        padding: .75rem;
    }

    .detail-tabs[b-54n12g3m9y] {
        padding: 0 .75rem;
    }

    .detail-tab[b-54n12g3m9y] {
        padding: .5rem .75rem;
        font-size: .75rem;
    }
}
/* /Pages/Tools/Landing.razor.rz.scp.css */
/* Realtor Landing Page Styles */

.realtor-landing-page[b-xbdsvvfw6r] {
    min-height: 100vh;
    background: var(--mud-palette-background);
}

/* AvalMe Header */
.avalme-header[b-xbdsvvfw6r] {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-section-realtor[b-xbdsvvfw6r] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-section-realtor[b-xbdsvvfw6r]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.realtor-avatar[b-xbdsvvfw6r] {
    width: 150px !important;
    height: 150px !important;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.realtor-avatar-default[b-xbdsvvfw6r] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.realtor-name[b-xbdsvvfw6r] {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.professional-summary[b-xbdsvvfw6r] {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Container */
.content-container[b-xbdsvvfw6r] {
    padding: 3rem 1rem;
}

/* Section Spacing */
.section-spacing[b-xbdsvvfw6r] {
    margin: 4rem 0;
}

.section-title[b-xbdsvvfw6r] {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title[b-xbdsvvfw6r]::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Card */
.about-card[b-xbdsvvfw6r] {
    padding: 3rem;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-text[b-xbdsvvfw6r] {
    line-height: 1.8;
    color: var(--mud-palette-text-secondary);
    font-size: 1.1rem;
}

/* Professional Info Cards */
.professional-info-section[b-xbdsvvfw6r] {
    background: var(--mud-palette-surface);
    padding: 3rem 1rem;
    border-radius: 16px;
}

.info-card[b-xbdsvvfw6r] {
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--mud-palette-background);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover[b-xbdsvvfw6r] {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon-container[b-xbdsvvfw6r] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-section[b-xbdsvvfw6r] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 4rem 1rem;
    border-radius: 16px;
}

.contact-form-card[b-xbdsvvfw6r] {
    padding: 3rem;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.consent-checkbox[b-xbdsvvfw6r] {
    font-size: 0.95rem;
}

.submit-button[b-xbdsvvfw6r] {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
}

.submit-button:hover[b-xbdsvvfw6r] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Footer */
.landing-footer[b-xbdsvvfw6r] {
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 960px) {
    .hero-section-realtor[b-xbdsvvfw6r] {
        padding: 3rem 0;
    }

    .realtor-avatar[b-xbdsvvfw6r] {
        width: 120px !important;
        height: 120px !important;
    }

    .realtor-name[b-xbdsvvfw6r] {
        font-size: 2rem;
    }

    .professional-summary[b-xbdsvvfw6r] {
        font-size: 1.1rem;
    }

    .about-card[b-xbdsvvfw6r],
    .contact-form-card[b-xbdsvvfw6r] {
        padding: 2rem;
    }

    .info-card[b-xbdsvvfw6r] {
        padding: 2rem 1.5rem;
    }

    .section-spacing[b-xbdsvvfw6r] {
        margin: 3rem 0;
    }
}

@media (max-width: 600px) {
    .content-container[b-xbdsvvfw6r] {
        padding: 2rem 1rem;
    }

    .realtor-avatar[b-xbdsvvfw6r] {
        width: 100px !important;
        height: 100px !important;
    }

    .realtor-name[b-xbdsvvfw6r] {
        font-size: 1.75rem;
    }

    .professional-summary[b-xbdsvvfw6r] {
        font-size: 1rem;
    }

    .about-card[b-xbdsvvfw6r],
    .contact-form-card[b-xbdsvvfw6r] {
        padding: 1.5rem;
    }

    .info-icon-container[b-xbdsvvfw6r] {
        width: 60px;
        height: 60px;
    }

    .section-spacing[b-xbdsvvfw6r] {
        margin: 2rem 0;
    }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .about-card[b-xbdsvvfw6r],
    .contact-form-card[b-xbdsvvfw6r] {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .info-card:hover[b-xbdsvvfw6r] {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
}
/* /Shared/LandingPage.razor.rz.scp.css */
.avalme-bottom-shadow[b-gdrzlmr8rr] {
    position: absolute;
    width: 1440px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(245, 245, 245, 0) 100%);
    z-index: 60;
}

.shadow[b-gdrzlmr8rr] {
    position: absolute;
    left: 50%;
    width: 270px;
    height: 465px;
    background: linear-gradient(90deg, #F5F5F5 0%, rgba(245, 245, 245, 0) 100%);
    z-index: 50;
}

.avalme-landing-global-container[b-gdrzlmr8rr] {
    max-width: 1440px;
    margin: 0 auto;
}

.landing-header-img[b-gdrzlmr8rr] {
    position: absolute;
    z-index: 0;
}

.landing-header-content[b-gdrzlmr8rr] {
    min-height: 800px;
    z-index: 5;
}

.landing-header-content-left[b-gdrzlmr8rr] {
    max-width: 450px;
    color: #FFF;
    z-index: 100;
}

.landing-header-background-img[b-gdrzlmr8rr] {
    background: url('../landing-header-background-image.png') no-repeat;
    opacity: 20%;
    position: absolute;
    width: 750px;
    height: 500px;
    clip-path: ellipse(45% 50% at 50% 50%);
    z-index: 10;
}

    .landing-header-background-img[b-gdrzlmr8rr]:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(0,0,0,0.2) 100%);
    }

.landing-header-over-img[b-gdrzlmr8rr] {
    position: absolute;
    bottom: 10%;
    right: 10%;
    z-index: 15;
}

.landing-regular-section[b-gdrzlmr8rr] {
    background-color: #F1F1F1;
}

.avalme-button[b-gdrzlmr8rr] {
    border-radius: 10px;
    padding: 4px 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 18.75px;
    text-transform: none;
}

.avalme-primary-button[b-gdrzlmr8rr] {
    background: linear-gradient(275deg, #33EC00 0%, #CAFF3C 100%);
    width: max-content;
}

.avalme-secondary-button[b-gdrzlmr8rr] {
    border: 0;
    background-image: linear-gradient(150deg, #33EC00 0%, #CAFF3C 100%);
    color: #33EC00;
    padding: 1px;
    display: flex;
    cursor: pointer;
    transition: .3s;
}

    .avalme-secondary-button span[b-gdrzlmr8rr] {
        background-color: #5F008C;
        padding: 1px 8px 2px;
        border-radius: 10px;
    }

        .avalme-secondary-button span span[b-gdrzlmr8rr] {
            padding-right: 0px;
        }

.avalme-subtitle[b-gdrzlmr8rr] {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #260038;
}

.avalme-divider[b-gdrzlmr8rr] {
    height: 2px;
    background: radial-gradient(50% 86% at 50% 50%, #33EC00 0%, rgba(241, 241, 241, 0) 100%);
}

.avalme-footer-divider[b-gdrzlmr8rr] {
    height: 2px;
    background: radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(230,230,230,1) 30%, rgba(171,171,171,0.05) 100%);
}

.avalme-featured-app-card[b-gdrzlmr8rr] {
    border-radius: 10px;
    box-shadow: none;
}

    .avalme-featured-app-card:hover[b-gdrzlmr8rr] {
        box-shadow: 0px 0px 30px 5px rgba(143,143,143,1);
    }

.avalme-featured-app-logo[b-gdrzlmr8rr] {
    text-align: center;
}

.avalme-featured-app-title-1[b-gdrzlmr8rr] {
    font-family: 'Lemon/milk',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 34px;
    line-height: 46px;
    color: #580181;
}

.avalme-featured-app-title-2[b-gdrzlmr8rr] {
    font-family: 'Lemon/milk',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    color: #580181;
}

.avalme-featured-app-subtitle[b-gdrzlmr8rr] {
    font-family: 'Lemon/Milk',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.5em;
    color: #580181;
}

.avalme-featured-app-service-title-1[b-gdrzlmr8rr],
.avalme-featured-app-service-title-2[b-gdrzlmr8rr] {
    font-family: 'Lemon/Milk',sans-serif;
    font-style: normal;
    font-weight: 700;
}

.avalme-featured-app-content[b-gdrzlmr8rr] {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #000000;
}

.avalme-featured-app-service-title-1[b-gdrzlmr8rr] {
    font-family: 'Lemon/Milk';
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
}

.avalme-featured-app-service-title-2[b-gdrzlmr8rr] {
    font-family: 'Lemon/Milk';
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
}

.avalme-featured-app-services[b-gdrzlmr8rr] {
    color: #C1C1C1;
}

    .avalme-featured-app-services:hover[b-gdrzlmr8rr] {
        color: #580181;
    }

.avalme-about-us-section[b-gdrzlmr8rr] {
    min-width: 1440px;
    padding: 40px 0;
    background: url('../businessmen-bg.svg') top right no-repeat;
}

.avalme-about-us-title[b-gdrzlmr8rr] {
    color: #580181;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 38px;
}

.avalme-about-us-text[b-gdrzlmr8rr] {
    color: #580181;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.avalme-contact-section[b-gdrzlmr8rr] {
    min-width: 1440px;
    background: linear-gradient(275deg, #33EC00 0%, #CAFF3C 100%);
}

.avalme-footer-section[b-gdrzlmr8rr] {
    min-width: 1440px;
    background: linear-gradient(105deg, #260038 0%, #5F008C 100%);
    color: white;
}

.avalme-footer-section-title[b-gdrzlmr8rr] {
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 10px;
}

.avalme-footer-section-text[b-gdrzlmr8rr] {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
