/* /Pages/Automations/AutomationsPage.razor.rz.scp.css */
/* LeadAutomations Page Styles */

.automations-container[b-sl035krz2j] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.automations-header[b-sl035krz2j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.header-left h4[b-sl035krz2j] {
    color: #212529;
}

/* Filters */
.automations-filters[b-sl035krz2j] {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Stats Cards */
.automations-stats[b-sl035krz2j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-sl035krz2j] {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    gap: 1rem;
}

.stat-icon[b-sl035krz2j] {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.stat-info[b-sl035krz2j] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-sl035krz2j] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.stat-label[b-sl035krz2j] {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Automations List */
.automations-list[b-sl035krz2j] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Empty State */
.empty-state[b-sl035krz2j] {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Modal Condition/Action Rows */
[b-sl035krz2j] .condition-row,
[b-sl035krz2j] .action-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

[b-sl035krz2j] .condition-row .logic-select {
    width: 70px;
    flex-shrink: 0;
}

[b-sl035krz2j] .action-row .action-order {
    width: 24px;
    height: 24px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Action editor: merge-field help as a side panel.
   Form on the left, tokens on the right. The panel is capped to what fits inside the
   dialog's scroll area (the .modal-body of a modal-dialog-scrollable dialog is at most
   100vh minus dialog margins, header, footer and paddings — ~14rem) and scrolls on its
   own; it is sticky so it stays in view while a long form scrolls underneath. When the
   help is hidden the layout has a single column and the form takes the full width. */
.merge-field-layout[b-sl035krz2j] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.merge-field-layout.with-help[b-sl035krz2j] {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.merge-field-panel[b-sl035krz2j] {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 14rem);
    overflow-y: auto;
}

/* Narrow screens: the panel drops below the form (bounded to a fixed height, still with
   its own scroll) and the modal body scrolls as a whole. */
@media (max-width: 991.98px) {
    .merge-field-layout.with-help[b-sl035krz2j] {
        grid-template-columns: minmax(0, 1fr);
    }

    .merge-field-panel[b-sl035krz2j] {
        position: static;
        max-height: 22rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .automations-header[b-sl035krz2j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-right[b-sl035krz2j] {
        width: 100%;
    }

    .header-right .btn[b-sl035krz2j] {
        width: 100%;
    }

    .automations-stats[b-sl035krz2j] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .automations-container[b-sl035krz2j] {
        padding: 1rem;
    }

    .automations-stats[b-sl035krz2j] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Automations/LeadAutomation.razor.rz.scp.css */
/* LeadAutomation Component Styles */

.automation-card[b-ddixcj4lvc] {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.automation-card:hover[b-ddixcj4lvc] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.automation-card.disabled[b-ddixcj4lvc] {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.automation-card.disabled .automation-name[b-ddixcj4lvc] {
    color: #6c757d;
}

/* Header */
.automation-header[b-ddixcj4lvc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.automation-info[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 1 auto;
    min-width: 0;
}

/* Execution stats shown in the header so they're visible even when collapsed. The name (info)
   absorbs all shrinking; the stats keep their natural width and space-between centers them. */
.automation-header-stats[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 0 0 auto;
}

.automation-header-stats .stat-item[b-ddixcj4lvc] {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.automation-icon[b-ddixcj4lvc] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.automation-details[b-ddixcj4lvc] {
    flex: 1;
    min-width: 0;
}

.automation-name[b-ddixcj4lvc] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.automation-description[b-ddixcj4lvc] {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.automation-actions[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Body - Flow */
.automation-body[b-ddixcj4lvc] {
    padding: 1rem;
    overflow: hidden;
}

.automation-flow[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.automation-flow[b-ddixcj4lvc]::-webkit-scrollbar {
    height: 6px;
}

.automation-flow[b-ddixcj4lvc]::-webkit-scrollbar-track {
    background: transparent;
}

.automation-flow[b-ddixcj4lvc]::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 3px;
}

.flow-item[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    min-width: 120px;
    max-width: 160px;
    flex-shrink: 0;
}

.flow-item.trigger[b-ddixcj4lvc] {
    min-width: 140px;
    max-width: 200px;
}

.flow-item.condition[b-ddixcj4lvc] {
    min-width: 130px;
    max-width: 180px;
}

.flow-item.action[b-ddixcj4lvc] {
    min-width: 110px;
    max-width: 150px;
}

.flow-badge[b-ddixcj4lvc] {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.flow-content[b-ddixcj4lvc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.flow-label[b-ddixcj4lvc] {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.flow-value[b-ddixcj4lvc] {
    font-size: 0.75rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.flow-arrow[b-ddixcj4lvc] {
    color: #adb5bd;
    flex-shrink: 0;
    font-size: 0.75rem;
}

/* Flow Group Container (for conditions) */
.flow-group[b-ddixcj4lvc] {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    flex-shrink: 0;
    max-width: 400px;
}

.flow-group-header[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px dashed #dee2e6;
}

.flow-group-header .badge[b-ddixcj4lvc] {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
}

.flow-group-content[b-ddixcj4lvc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.flow-group .flow-item[b-ddixcj4lvc] {
    min-width: 100px;
    max-width: 180px;
}

.flow-group .flow-logic[b-ddixcj4lvc] {
    padding: 0.15rem 0.4rem;
    font-size: 0.6rem;
}

.conditions-group[b-ddixcj4lvc] {
    border-color: #ffc107;
    background-color: #fffdf5;
}

.conditions-group .flow-group-header[b-ddixcj4lvc] {
    color: #856404;
}

/* Logic operators (AND/OR) */
.flow-logic[b-ddixcj4lvc] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flow-logic.logic-and[b-ddixcj4lvc] {
    background-color: #e7f3ff;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
}

.flow-logic.logic-or[b-ddixcj4lvc] {
    background-color: #fff3e0;
    color: #fd7e14;
    border: 1px solid #ffd9b3;
}

/* Footer */
/* Form Switch Custom */
.form-check-input:checked[b-ddixcj4lvc] {
    background-color: #28a745;
    border-color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .automation-header[b-ddixcj4lvc] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .automation-info[b-ddixcj4lvc] {
        width: 100%;
    }

    .automation-header-stats[b-ddixcj4lvc] {
        width: 100%;
        justify-content: flex-start;
        gap: 1.25rem;
    }

    .automation-actions[b-ddixcj4lvc] {
        width: 100%;
        justify-content: space-between;
    }

    .automation-flow[b-ddixcj4lvc] {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .flow-arrow[b-ddixcj4lvc] {
        display: none;
    }

    .flow-logic[b-ddixcj4lvc] {
        order: -1;
        width: 100%;
        justify-content: center;
        margin: 0.25rem 0;
    }

    .flow-item[b-ddixcj4lvc] {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
        max-width: none;
    }

    .flow-item.trigger[b-ddixcj4lvc],
    .flow-item.condition[b-ddixcj4lvc],
    .flow-item.action[b-ddixcj4lvc] {
        max-width: none;
    }

    .flow-group[b-ddixcj4lvc] {
        width: 100%;
        max-width: none;
    }

    .flow-group .flow-item[b-ddixcj4lvc] {
        flex: 1 1 calc(50% - 0.25rem);
        max-width: none;
    }

    .flow-group .flow-logic[b-ddixcj4lvc] {
        width: auto;
        order: 0;
    }
}

@media (max-width: 576px) {
    .flow-item[b-ddixcj4lvc] {
        flex: 1 1 100%;
    }

    .flow-group .flow-item[b-ddixcj4lvc] {
        flex: 1 1 100%;
    }

    .flow-group .flow-logic[b-ddixcj4lvc] {
        width: 100%;
        justify-content: center;
    }
}
/* /Pages/Config/Talks/MetaSimulator.razor.rz.scp.css */
.meta-sim-pre[b-z8aji6l4kb] {
    background: #0f172a;
    color: #cbd5e1;
    padding: .7rem;
    border-radius: 8px;
    font-size: .72rem;
    line-height: 1.45;
    max-height: 260px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}
/* /Pages/Core/Templates/EmailImageLibraryPopup.razor.rz.scp.css */
/* Banco de imagens dos templates de e-mail (T38) — componente proprio, CSS proprio: a isolacao da
   pagina (EmailTemplates.razor.css) nao alcanca o markup renderizado daqui. As variaveis abaixo
   sao redeclaradas de proposito (o componente nao herda o bloco de vars da pagina). */
.image-library[b-bk7es17hb0] {
    --library-thumb-bg: #f3f4f6;
    --library-border: var(--bs-border-color, #dee2e6);
    --library-pick: var(--bs-primary, #0d6efd);
}

.image-library-toolbar[b-bk7es17hb0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.image-library-search[b-bk7es17hb0] {
    flex: 1 1 260px;
    min-width: 220px;
}

.image-library-period[b-bk7es17hb0] {
    flex: 0 1 360px;
    min-width: 280px;
}

/* Grade de miniaturas: cartoes de largura fluida, quantos couberem. */
.image-library-grid[b-bk7es17hb0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.image-library-grid.is-loading[b-bk7es17hb0] {
    opacity: 0.6;
    pointer-events: none;
}

.image-library-card[b-bk7es17hb0] {
    overflow: hidden;
}

.image-library-card.is-pickable .image-library-thumb[b-bk7es17hb0] {
    cursor: pointer;
}

/* Miniatura em caixa de proporcao fixa com fundo xadrez (imagens com transparencia). */
.image-library-thumb[b-bk7es17hb0] {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--library-border);
    background-color: var(--library-thumb-bg);
    background-image:
        linear-gradient(45deg, rgba(0, 0, 0, 0.06) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.06) 75%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.06) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.06) 75%);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
}

.image-library-thumb img[b-bk7es17hb0] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-library-name[b-bk7es17hb0] {
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.image-library-name > span[b-bk7es17hb0] {
    display: block;
    min-width: 0;
}

.image-library-meta[b-bk7es17hb0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    line-height: 1.3;
}

.image-library-confirm[b-bk7es17hb0] {
    border: 1px solid var(--bs-danger-border-subtle, #f1aeb5);
    background-color: var(--bs-danger-bg-subtle, #f8d7da);
    border-radius: 0.25rem;
    padding: 0.5rem;
}
/* /Pages/Core/Templates/EmailTemplates.razor.rz.scp.css */
/* Email templates page — editor popup layout.
   Only the page's own markup is styled here (the DxPopup body content is rendered from this
   file, so CSS isolation reaches it); the popup chrome itself is left to DevExpress
   (Scrollable="true" bounds it to the viewport and scrolls .dxbl-modal-body). */

/* Merge-field help as a side panel: form on the left, tokens on the right. The panel is
   capped to what fits in the popup's scroll area (content max-height is 100vh - 3.5rem,
   minus header, footer and body paddings — ~14rem) and scrolls on its own; sticky so it
   stays in view while the form scrolls underneath. Hidden, the layout is a single column
   and the form takes the full width. */
.merge-field-layout[b-yvsz9lu26j] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.merge-field-layout.with-help[b-yvsz9lu26j] {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.merge-field-panel[b-yvsz9lu26j] {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 14rem);
    overflow-y: auto;
}

/* Narrow screens: the panel drops below the form (bounded to a fixed height, still with
   its own scroll) and the popup body scrolls as a whole. */
@media (max-width: 991.98px) {
    .merge-field-layout.with-help[b-yvsz9lu26j] {
        grid-template-columns: minmax(0, 1fr);
    }

    .merge-field-panel[b-yvsz9lu26j] {
        position: static;
        max-height: 22rem;
    }
}

/* "Aparencia do e-mail" panel (T37): compact colour swatch beside the hex text input; the
   card sits between the subject and the body editor. */
.envelope-panel .form-control-color[b-yvsz9lu26j] {
    width: 2.75rem;
    min-width: 2.75rem;
    padding: 0.125rem 0.25rem;
}

/* "Previa" (T37): the API's final HTML in a sandboxed iframe filling the popup body. */
.email-preview-frame[b-yvsz9lu26j] {
    width: 100%;
    height: calc(100vh - 16rem);
    min-height: 20rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    background-color: #fff;
}

/* Model gallery ("Usar modelo") — a plain Bootstrap modal rendered from this file (like the
   automations gallery), so isolation reaches it. Two levels of headings: the domain band
   (catalog label, or "Todos os modulos") and, under it, the category captions the automations
   gallery already uses (h6 small uppercase). */
.model-gallery-domain[b-yvsz9lu26j] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-primary, #0d6efd);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    padding-bottom: 0.25rem;
    margin-top: 1rem;
}

.model-gallery-domain:first-child[b-yvsz9lu26j] {
    margin-top: 0;
}

/* Card leading icon: same 36px disc the automations cards use, in the primary color
   (models have no trigger to color by). */
.model-gallery-icon[b-yvsz9lu26j] {
    width: 36px;
    height: 36px;
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
}

/* Painel "Compatibilidade com Outlook classico" (T41) acima do corpo: a amostra da tag pode ser longa. */
.outlook-compat code[b-yvsz9lu26j] {
    white-space: pre-wrap;
    word-break: break-all;
}
/* /Pages/Talks/Calendar.razor.rz.scp.css */
.agenda-container[b-0a5gp62wbd] {
    display: flex;
    flex-direction: column;
}

.agenda-legend[b-0a5gp62wbd] {
    font-size: 0.8rem;
    color: #6c757d;
}

.legend-chip[b-0a5gp62wbd] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    border-radius: 1rem;
    padding: 0.1rem 0.6rem;
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.12s ease-in-out;
}

.legend-chip.off[b-0a5gp62wbd] {
    opacity: 0.45;
    text-decoration: line-through;
}

.legend-dot[b-0a5gp62wbd] {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    display: inline-block;
}

.agenda-people[b-0a5gp62wbd] {
    font-size: 0.85rem;
}

.person-chip[b-0a5gp62wbd] {
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    border-radius: 1rem;
    padding: 0.15rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.12s ease-in-out;
}

.person-chip:hover[b-0a5gp62wbd] {
    border-color: var(--talks-red, #a90000);
}

.person-chip.selected[b-0a5gp62wbd] {
    background: var(--talks-red, #a90000);
    border-color: var(--talks-red, #a90000);
    color: #fff;
}

/* Talks-red buttons (toggle group, "Novo compromisso", modal primary action) so the
   agenda toolbar matches the module's red tone instead of Bootstrap blue. */
.agenda-btn[b-0a5gp62wbd] {
    --talks-red: #a90000;
    background-color: var(--talks-red);
    border: 1px solid var(--talks-red);
    color: #fff;
}

.agenda-btn:hover[b-0a5gp62wbd],
.agenda-btn:focus[b-0a5gp62wbd] {
    background-color: #8f0000;
    border-color: #8f0000;
    color: #fff;
}

.agenda-btn-outline[b-0a5gp62wbd] {
    --talks-red: #a90000;
    background-color: #fff;
    border: 1px solid var(--talks-red);
    color: var(--talks-red);
}

.agenda-btn-outline:hover[b-0a5gp62wbd],
.agenda-btn-outline:focus[b-0a5gp62wbd] {
    background-color: var(--talks-red);
    color: #fff;
}

/* Mobile: keep a margin around the appointment modal instead of edge-to-edge. */
@media (max-width: 575.98px) {
    .agenda-modal-dialog[b-0a5gp62wbd] {
        margin: 0.75rem;
    }
}

[b-0a5gp62wbd] .emobi-agenda-scheduler {
    height: calc(100vh - 260px);
    min-height: 520px;
}

/* Appointment tooltip (single-click) */
.appt-tooltip[b-0a5gp62wbd] {
    padding: 0.25rem 0.1rem;
    min-width: 180px;
}

.appt-tooltip-title[b-0a5gp62wbd] {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.appt-tooltip-time[b-0a5gp62wbd] {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.appt-tooltip-actions[b-0a5gp62wbd] {
    display: flex;
    gap: 0.35rem;
}

/* Upcoming ("Próximos") list view */
.upcoming-group[b-0a5gp62wbd] {
    margin-bottom: 1rem;
}

.upcoming-day[b-0a5gp62wbd] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.25rem;
    margin-bottom: 0.4rem;
}

.upcoming-row[b-0a5gp62wbd] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.25rem;
    border-bottom: 1px solid #f1f3f5;
}

.upcoming-row.done .upcoming-title[b-0a5gp62wbd] {
    text-decoration: line-through;
    color: #adb5bd;
}

.upcoming-dot[b-0a5gp62wbd] {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    flex: 0 0 auto;
}

.upcoming-time[b-0a5gp62wbd] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    min-width: 4.5rem;
    color: #495057;
}

.upcoming-title[b-0a5gp62wbd] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upcoming-editable[b-0a5gp62wbd] {
    cursor: pointer;
}

.upcoming-editable:hover[b-0a5gp62wbd] {
    text-decoration: underline;
}

.upcoming-owner[b-0a5gp62wbd] {
    font-size: 0.75rem;
    color: #6c757d;
    background: #f1f3f5;
    border-radius: 0.75rem;
    padding: 0.05rem 0.5rem;
    white-space: nowrap;
}

.upcoming-actions[b-0a5gp62wbd] {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
/* /Pages/Talks/LeadCard.razor.rz.scp.css */
/* CSS Variables - Defined at component root and globally for ::deep elements */
:host[b-8st8sxfdv9], [b-8st8sxfdv9] * {
    --primary: #b4000b;
    --primary-light: #ffe0ef;
    --primary-dark: #720209;
    --accent: #fb8ac8;
    --success: #00b67a;
    --text: #2c3e50;
    --text-light: #8f6a70;
    --white: #ffffff;
    --grey-light: #f8f9fa;
    --grey: #e0e6ed;
    --card-shadow: 0 12px 24px rgba(0, 85, 164, 0.08);
    --card-radius: 10px;
    --font-main: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

.card-container[b-8st8sxfdv9] {
    /*max-width: 1000px;
    width: 100%;*/
    /*display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;*/
    padding: 15px;
}

.lead-card[b-8st8sxfdv9] {
    background-color: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /*cursor: pointer;*/
}

    .lead-card:hover[b-8st8sxfdv9] {
        transform: translateY(-5px);
        box-shadow: 0 18px 28px rgba(0, 85, 164, 0.15);
    }

    .lead-card[b-8st8sxfdv9]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    }

.card-header[b-8st8sxfdv9] {
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 60px;
}

.availability-badge[b-8st8sxfdv9] {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    /*color: var(--white);
    background-color: var(--success);*/
    box-shadow: 0 2px 5px rgba(0, 182, 122, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

    .availability-badge[b-8st8sxfdv9]::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--white);
        animation: pulse-b-8st8sxfdv9 2s infinite;
    }

@keyframes pulse-b-8st8sxfdv9 {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.availability-badge.unavailable[b-8st8sxfdv9] {
    background-color: #e74c3c;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.lead-image[b-8st8sxfdv9] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
    transition: transform 0.3s ease;
}

.lead-card:hover .lead-image[b-8st8sxfdv9] {
    transform: scale(1.05);
}

.lead-info[b-8st8sxfdv9] {
    margin-left: 20px;
    font-size: 14px;
}

.lead-name[b-8st8sxfdv9] {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.verified-badge[b-8st8sxfdv9] {
    display: inline-flex;
    margin-left: 8px;
    color: var(--primary);
    font-size: 18px;
}

.lead-title[b-8st8sxfdv9] {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-light);
}

.lead-channel[b-8st8sxfdv9] {
    display: inline-block;
    padding: 3px 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 6px;
}

    .lead-channel.direction[b-8st8sxfdv9] {
        background-color: var(--primary-light);
        color: var(--primary);
    }

.card-body[b-8st8sxfdv9] {
    padding: 0 20px 20px;
}

.lead-meta[b-8st8sxfdv9] {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    justify-content: space-between;
}

.meta-item[b-8st8sxfdv9] {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.meta-icon[b-8st8sxfdv9] {
    color: var(--primary);
    margin-right: 5px;
    font-size: 16px;
}

.last-interaction-image[b-8st8sxfdv9] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
    transition: transform 0.3s ease;
}

    .last-interaction-image.timeline[b-8st8sxfdv9] {
        width: 20px;
        height: 20px;
    }

.last-interaction-message[b-8st8sxfdv9] {
    background-color: var(--grey-light);
    color: var(--text);
    border-radius: 4px;
    margin-top: 6px;
    box-shadow: var(--card-shadow);
    border: solid 1px var(--grey);
}

.card-actions[b-8st8sxfdv9] {
    padding: 15px 20px;
    background-color: var(--grey-light);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.action-button[b-8st8sxfdv9] {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.primary-button[b-8st8sxfdv9] {
    background-color: var(--primary);
    color: var(--white);
}

    .primary-button:hover[b-8st8sxfdv9] {
        background-color: var(--primary-dark);
    }

.secondary-button[b-8st8sxfdv9] {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

    .secondary-button:hover[b-8st8sxfdv9] {
        background-color: var(--primary-light);
    }

/* Per-card archive action — a soft, lighter red that fits the red brand
   without the alarm weight of a full danger button. The resting colors are
   set inline on the element (to beat the Bootstrap .btn vars); these rules
   add the hover fill, hence !important to override the inline color. */
.lead-archive-btn[b-8st8sxfdv9] {
    transition: all 0.2s ease;
}

    .lead-archive-btn:hover:not(:disabled)[b-8st8sxfdv9],
    .lead-archive-btn:focus-visible[b-8st8sxfdv9] {
        color: #fff !important;
        background-color: #e35d6a !important;
        border-color: #e35d6a !important;
    }

    .lead-archive-btn:disabled[b-8st8sxfdv9] {
        opacity: 0.5;
    }

/* Modal Styles - Using ::deep for fixed position elements */
[b-8st8sxfdv9] .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    /*right: 0;
    bottom: 0;*/
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

    [b-8st8sxfdv9] .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

[b-8st8sxfdv9] .modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 500px;
    height: 90dvh;
    padding: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 20px;
}

@media (min-width: 768px) {
    [b-8st8sxfdv9] .modal-content {
        height: 700px;
    }
}

[b-8st8sxfdv9] .modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

[b-8st8sxfdv9] .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

[b-8st8sxfdv9] .modal-title {
    font-size: 20px;
    font-weight: 700;
}

[b-8st8sxfdv9] .close-modal {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

    [b-8st8sxfdv9] .close-modal:hover {
        opacity: 1;
    }

[b-8st8sxfdv9] .modal-body {
    padding: 25px;
    overflow-y: scroll;
}

[b-8st8sxfdv9] .credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

[b-8st8sxfdv9] .credential-item {
    margin-bottom: 20px;
}

    [b-8st8sxfdv9] .credential-item h4 {
        font-size: 16px;
        color: var(--text);
        margin-bottom: 5px;
        display: flex;
        align-items: center;
    }

        [b-8st8sxfdv9] .credential-item h4 i {
            margin-right: 8px;
        }

    [b-8st8sxfdv9] .credential-item p {
        font-size: 14px;
        color: #2c3e50;
        margin-bottom: 5px;
    }

    [b-8st8sxfdv9] .credential-item .credential-date {
        font-size: 12px;
        color: #6a7c8f;
    }

[b-8st8sxfdv9] .education-timeline {
    position: relative;
    margin-top: 10px;
}

    [b-8st8sxfdv9] .education-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 18px;
        width: 5px;
        background-color: #e0ebff;
        z-index: 1;
    }

[b-8st8sxfdv9] .timeline-item {
    padding-left: 45px;
    position: relative;
    margin-bottom: 20px;
    border: 0;
    /*background-color: #fbfbdb;*/
    /*border-radius: 10px;*/
    min-height: 60px;
}

    [b-8st8sxfdv9] .timeline-item:last-child {
        margin-bottom: 0;
        min-height: inherit;
    }

[b-8st8sxfdv9] .timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e0ebff;
    z-index: 2;
    visibility: hidden;
}

.timeline-channel[b-8st8sxfdv9] {
    position: absolute;
    left: 15px;
    /*top: 20px;*/
    top: 0px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[b-8st8sxfdv9] .timeline-dot-start {
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: green;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e0ebff;
    z-index: 2;
}

[b-8st8sxfdv9] .timeline-content h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

[b-8st8sxfdv9] .timeline-content p {
    font-size: 14px;
    color: #6a7c8f;
    margin-bottom: 3px;
}

[b-8st8sxfdv9] .timeline-date {
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
}

/* --- Subtle layout for non-interaction timeline events --- */
[b-8st8sxfdv9] .timeline-event-row {
    position: relative;
    padding-left: 45px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 18px;
}

[b-8st8sxfdv9] .timeline-event-row .timeline-event-dot {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

[b-8st8sxfdv9] .timeline-event-row .timeline-event-icon {
    font-size: 11px;
    color: #94a3b8;
    width: 14px;
    text-align: center;
}

[b-8st8sxfdv9] .timeline-event-row .timeline-event-text {
    flex: 1;
    font-size: 12px;
    font-style: italic;
    color: #94a3b8;
    line-height: 1.3;
}

[b-8st8sxfdv9] .timeline-event-row .timeline-event-date {
    font-size: 10px;
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Per-event-type accent on the icon — keeps text muted but
   gives a quick visual scan cue ("oh, that's a status change"). */
[b-8st8sxfdv9] .timeline-event-row.evt-created .timeline-event-icon { color: #3b82f6; }
[b-8st8sxfdv9] .timeline-event-row.evt-status .timeline-event-icon { color: #f59e0b; }
[b-8st8sxfdv9] .timeline-event-row.evt-owner .timeline-event-icon { color: #8b5cf6; }
[b-8st8sxfdv9] .timeline-event-row.evt-automation .timeline-event-icon { color: #14b8a6; }
[b-8st8sxfdv9] .timeline-event-row.evt-document .timeline-event-icon { color: #06b6d4; }
[b-8st8sxfdv9] .timeline-event-row.evt-visit .timeline-event-icon { color: #fd7e14; }
[b-8st8sxfdv9] .timeline-event-row.evt-meeting .timeline-event-icon { color: #0d6efd; }
[b-8st8sxfdv9] .timeline-event-row.evt-task .timeline-event-icon { color: #198754; }
[b-8st8sxfdv9] .timeline-event-row.evt-call .timeline-event-icon { color: #0dcaf0; }
[b-8st8sxfdv9] .timeline-event-row.evt-appointment .timeline-event-icon { color: #6c757d; }
[b-8st8sxfdv9] .timeline-event-row.evt-completed .timeline-event-icon { color: #16a34a; }
[b-8st8sxfdv9] .timeline-event-row.evt-conversion .timeline-event-icon { color: #d97706; }

[b-8st8sxfdv9] .specialties-section {
    margin-top: 30px;
}

    [b-8st8sxfdv9] .specialties-section h4 {
        color: var(--text);
    }

[b-8st8sxfdv9] .specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

[b-8st8sxfdv9] .specialty-tag {
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    [b-8st8sxfdv9] .specialty-tag:hover {
        background-color: var(--primary);
        color: #ffffff;
        transform: translateY(-2px);
    }

[b-8st8sxfdv9] .modal-footer {
    background-color: #f8f9fa;
    padding: 15px 25px;
    text-align: right;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Animations */
@keyframes float-b-8st8sxfdv9 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 600px) {
    .card-header[b-8st8sxfdv9] {
        flex-direction: column;
        text-align: center;
    }

    .lead-info[b-8st8sxfdv9] {
        margin-left: 0;
        margin-top: 15px;
    }

    .lead-meta[b-8st8sxfdv9] {
        justify-content: center;
    }

    [b-8st8sxfdv9] .credentials-grid {
        grid-template-columns: 1fr;
    }

    .lead-card[b-8st8sxfdv9] {
        max-width: 100%;
    }
}

/* Loading state - Using ::deep for fixed position elements */
[b-8st8sxfdv9] .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    [b-8st8sxfdv9] .loading-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

[b-8st8sxfdv9] .loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0ebff;
    border-top: 5px solid #0055a4;
    border-radius: 50%;
    animation: spin-b-8st8sxfdv9 1s linear infinite;
}

@keyframes spin-b-8st8sxfdv9 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Feedback tooltip */
.tooltip[b-8st8sxfdv9] {
    position: absolute;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

    .tooltip[b-8st8sxfdv9]::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: var(--primary-dark) transparent transparent transparent;
    }

.action-button:hover .tooltip[b-8st8sxfdv9] {
    opacity: 1;
    visibility: visible;
}

/* Skill bars for modal */
[b-8st8sxfdv9] .skill-container {
    margin-top: 25px;
}

    [b-8st8sxfdv9] .skill-container h4 {
        color: #0055a4;
        margin-bottom: 15px;
    }

[b-8st8sxfdv9] .skill-bar {
    margin-bottom: 15px;
}

[b-8st8sxfdv9] .skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

    [b-8st8sxfdv9] .skill-name span {
        font-size: 14px;
        color: #2c3e50;
    }

[b-8st8sxfdv9] .skill-level {
    font-weight: 600;
    color: #0055a4;
}

[b-8st8sxfdv9] .skill-progress {
    height: 8px;
    background-color: #e0e6ed;
    border-radius: 4px;
    overflow: hidden;
}

[b-8st8sxfdv9] .skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0055a4 0%, #34c6f5 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Additional styles for card hover effects */
.card-hover-info[b-8st8sxfdv9] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 55, 104, 0.9), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-bottom-left-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
}

.lead-card:hover .card-hover-info[b-8st8sxfdv9] {
    transform: translateY(0);
}

/* Interaction Modal with Spinner */
.interaction-modal-overlay[b-8st8sxfdv9] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: var(--card-radius);
}

.interaction-modal[b-8st8sxfdv9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.interaction-message[b-8st8sxfdv9] {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 25px;
}

.spinner[b-8st8sxfdv9] {
    width: 40px;
    height: 40px;
    border: 4px solid var(--grey);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin-b-8st8sxfdv9 1s linear infinite;
    margin-top: -25px;
}

.action-button:disabled[b-8st8sxfdv9] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Quick Actions Row */
.quick-actions-row[b-8st8sxfdv9] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--grey);
}

.quick-actions-col[b-8st8sxfdv9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.quick-actions-col-center[b-8st8sxfdv9] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-btn-main[b-8st8sxfdv9] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(180, 0, 11, 0.3);
}

    .quick-action-btn-main:hover[b-8st8sxfdv9] {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(180, 0, 11, 0.4);
    }

    .quick-action-btn-main:active[b-8st8sxfdv9] {
        transform: scale(0.95);
    }

.quick-actions-label[b-8st8sxfdv9] {
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
}

.quick-actions-buttons[b-8st8sxfdv9] {
    display: flex;
    gap: 6px;
}

.quick-action-btn[b-8st8sxfdv9] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

    .quick-action-btn.inbound[b-8st8sxfdv9] {
        border-color: #dc3545;
        color: #dc3545;
    }

        .quick-action-btn.inbound:hover[b-8st8sxfdv9] {
            background-color: #dc3545;
            color: var(--white);
            transform: scale(1.1);
        }

    .quick-action-btn.outbound[b-8st8sxfdv9] {
        border-color: #198754;
        color: #198754;
    }

        .quick-action-btn.outbound:hover[b-8st8sxfdv9] {
            background-color: #198754;
            color: var(--white);
            transform: scale(1.1);
        }

    .quick-action-btn:active[b-8st8sxfdv9] {
        transform: scale(0.95);
    }

    .quick-action-btn:disabled[b-8st8sxfdv9] {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

/* Recording animation */
.pulse-animation[b-8st8sxfdv9] {
    animation: pulse-record-b-8st8sxfdv9 1.5s ease-in-out infinite;
}

@keyframes pulse-record-b-8st8sxfdv9 {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.recording-animation[b-8st8sxfdv9] {
    display: inline-block;
}
/* /Pages/Talks/LeadDetailsModal.razor.rz.scp.css */
/*
    Styles for the shared details modal so it renders correctly in any host (card or
    list/grid view). The section headers use var(--primary) and the inline contact
    editor needs the .contact-list rules; both previously relied on LeadCard being the
    host. The modal shell still comes from the page-level global styles.
*/

/* CSS variables so the section headers (color: var(--primary)) resolve in any host */
:host[b-ummtzn5bqb], [b-ummtzn5bqb] * {
    --primary: #b4000b;
    --primary-light: #ffe0ef;
    --primary-dark: #720209;
    --text: #2c3e50;
    --white: #ffffff;
}

[b-ummtzn5bqb] .contact-list .contact-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    border-bottom: 1px dashed transparent;
}

[b-ummtzn5bqb] .contact-list .contact-row:hover {
    border-bottom-color: rgba(0,0,0,0.08);
}

[b-ummtzn5bqb] .contact-list .contact-row.saving {
    opacity: 0.6;
}

[b-ummtzn5bqb] .contact-list .contact-row.has-error input.inline-edit,
[b-ummtzn5bqb] .contact-list .contact-row.has-error select.inline-edit {
    border-color: #dc3545;
}

[b-ummtzn5bqb] .contact-list .inline-edit {
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    transition: border-color .15s, background .15s;
}

[b-ummtzn5bqb] .contact-list .contact-row:hover .inline-edit,
[b-ummtzn5bqb] .contact-list .inline-edit:focus {
    border-color: #ced4da;
    background: #fff;
}

[b-ummtzn5bqb] .contact-list .type-pill {
    flex: 0 0 110px;
    font-size: 0.8em;
    color: #555;
}

[b-ummtzn5bqb] .contact-list input.inline-edit {
    flex: 1 1 auto;
}

[b-ummtzn5bqb] .contact-list .btn-icon {
    border: none;
    background: transparent;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    font-size: 0.9em;
}

[b-ummtzn5bqb] .contact-list .btn-icon:hover {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

[b-ummtzn5bqb] .contact-list .contact-error {
    color: #dc3545;
    font-size: 0.75em;
    padding-left: 110px;
    margin-top: -2px;
    margin-bottom: 4px;
}

/* Messenger / Instagram Direct conversation thread. */
.lead-conversation-thread[b-ummtzn5bqb] {
    max-height: 260px;
    overflow-y: auto;
    padding: 10px;
    background: #f6f8fa;
    border: 1px solid #e3e7ec;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lead-conversation-bubble[b-ummtzn5bqb] {
    max-width: 78%;
    padding: 7px 11px;
    border-radius: 12px;
    font-size: .875rem;
    line-height: 1.4;
    word-break: break-word;
}

.lead-conversation-bubble.inbound[b-ummtzn5bqb] {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e3e7ec;
    border-bottom-left-radius: 3px;
}

.lead-conversation-bubble.outbound[b-ummtzn5bqb] {
    align-self: flex-end;
    background: var(--primary, #0075B0);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.lead-conversation-body[b-ummtzn5bqb] {
    white-space: pre-wrap;
}

.lead-conversation-meta[b-ummtzn5bqb] {
    font-size: .68rem;
    opacity: .65;
    margin-top: 2px;
    text-align: right;
}
/* /Pages/Talks/LeadHistoryModal.razor.rz.scp.css */
/*
    Timeline styles for the shared history modal. These previously lived (as ::deep
    rules) in LeadCard.razor.css and only applied when the modal was hosted inside a
    LeadCard. Now that the modal is a standalone component used by both the card and
    the list/grid view, it must carry its own styles so it renders correctly
    regardless of host. The modal shell (overlay/content/header/...) still comes from
    the page-level global styles.
*/

/* CSS variables so the timeline colors resolve in any host (card or list view) */
:host[b-t4dy5jaj9h], [b-t4dy5jaj9h] * {
    --primary: #b4000b;
    --primary-light: #ffe0ef;
    --primary-dark: #720209;
    --accent: #fb8ac8;
    --text: #2c3e50;
    --text-light: #8f6a70;
    --white: #ffffff;
    --grey-light: #f8f9fa;
    --grey: #e0e6ed;
    --card-shadow: 0 12px 24px rgba(0, 85, 164, 0.08);
}

[b-t4dy5jaj9h] .last-interaction-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
    transition: transform 0.3s ease;
}

[b-t4dy5jaj9h] .last-interaction-image.timeline {
    width: 20px;
    height: 20px;
}

[b-t4dy5jaj9h] .education-timeline {
    position: relative;
    margin-top: 10px;
}

[b-t4dy5jaj9h] .education-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 5px;
    background-color: #e0ebff;
    z-index: 1;
}

[b-t4dy5jaj9h] .timeline-item {
    padding-left: 45px;
    position: relative;
    margin-bottom: 20px;
    border: 0;
    min-height: 60px;
}

[b-t4dy5jaj9h] .timeline-item:last-child {
    margin-bottom: 0;
    min-height: inherit;
}

[b-t4dy5jaj9h] .timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e0ebff;
    z-index: 2;
    visibility: hidden;
}

[b-t4dy5jaj9h] .timeline-channel {
    position: absolute;
    left: 15px;
    top: 0px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[b-t4dy5jaj9h] .timeline-dot-start {
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: green;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e0ebff;
    z-index: 2;
}

[b-t4dy5jaj9h] .timeline-content h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

[b-t4dy5jaj9h] .timeline-content p {
    font-size: 14px;
    color: #6a7c8f;
    margin-bottom: 3px;
}

[b-t4dy5jaj9h] .timeline-date {
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
}

/* --- Subtle layout for non-interaction timeline events --- */
[b-t4dy5jaj9h] .timeline-event-row {
    position: relative;
    padding-left: 45px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 18px;
}

[b-t4dy5jaj9h] .timeline-event-row .timeline-event-dot {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

[b-t4dy5jaj9h] .timeline-event-row .timeline-event-icon {
    font-size: 11px;
    color: #94a3b8;
    width: 14px;
    text-align: center;
}

[b-t4dy5jaj9h] .timeline-event-row .timeline-event-text {
    flex: 1;
    font-size: 12px;
    font-style: italic;
    color: #94a3b8;
    line-height: 1.3;
}

[b-t4dy5jaj9h] .timeline-event-row .timeline-event-date {
    font-size: 10px;
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Per-event-type accent on the icon. */
[b-t4dy5jaj9h] .timeline-event-row.evt-created .timeline-event-icon { color: #3b82f6; }
[b-t4dy5jaj9h] .timeline-event-row.evt-status .timeline-event-icon { color: #f59e0b; }
[b-t4dy5jaj9h] .timeline-event-row.evt-owner .timeline-event-icon { color: #8b5cf6; }
[b-t4dy5jaj9h] .timeline-event-row.evt-automation .timeline-event-icon { color: #14b8a6; }
[b-t4dy5jaj9h] .timeline-event-row.evt-document .timeline-event-icon { color: #06b6d4; }
[b-t4dy5jaj9h] .timeline-event-row.evt-visit .timeline-event-icon { color: #fd7e14; }
[b-t4dy5jaj9h] .timeline-event-row.evt-meeting .timeline-event-icon { color: #0d6efd; }
[b-t4dy5jaj9h] .timeline-event-row.evt-task .timeline-event-icon { color: #198754; }
[b-t4dy5jaj9h] .timeline-event-row.evt-call .timeline-event-icon { color: #0dcaf0; }
[b-t4dy5jaj9h] .timeline-event-row.evt-appointment .timeline-event-icon { color: #6c757d; }
[b-t4dy5jaj9h] .timeline-event-row.evt-completed .timeline-event-icon { color: #16a34a; }
[b-t4dy5jaj9h] .timeline-event-row.evt-conversion .timeline-event-icon { color: #d97706; }
/* /Pages/Talks/LeadWorkflow.razor.rz.scp.css */
/* LeadWorkflow Component Styles */

/* Main container */
.workflow-container[b-3amf8tkm8m] {
    display: flex;
    height: calc(100vh - 180px);
    min-height: 500px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

/* Sidebar */
.workflow-sidebar[b-3amf8tkm8m] {
    width: 220px;
    min-width: 220px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 1rem;
    overflow-y: auto;
}

.sidebar-title[b-3amf8tkm8m] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Node palette */
.node-palette[b-3amf8tkm8m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.draggable-node[b-3amf8tkm8m] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: grab;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.draggable-node:hover[b-3amf8tkm8m] {
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.draggable-node:active[b-3amf8tkm8m] {
    cursor: grabbing;
    transform: translateY(0);
}

.draggable-node.status-node[b-3amf8tkm8m] {
    border-left: 3px solid #17a2b8;
}

.draggable-node.task-node[b-3amf8tkm8m] {
    border-left: 3px solid #28a745;
}

.draggable-node.action-node[b-3amf8tkm8m] {
    border-left: 3px solid #fd7e14;
}

.node-color-indicator[b-3amf8tkm8m] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Sidebar actions */
.sidebar-actions[b-3amf8tkm8m] {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Canvas container */
.workflow-canvas-container[b-3amf8tkm8m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Toolbar */
.workflow-toolbar[b-3amf8tkm8m] {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.zoom-level[b-3amf8tkm8m] {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Canvas */
.workflow-canvas[b-3amf8tkm8m] {
    flex: 1;
    background-color: #fafbfc;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
}

/* Drawflow overrides */
[b-3amf8tkm8m] #drawflow {
    width: 100%;
    height: 100%;
}

[b-3amf8tkm8m] .drawflow .drawflow-node {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    padding: 0;
}

[b-3amf8tkm8m] .drawflow .drawflow-node:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[b-3amf8tkm8m] .drawflow .drawflow-node.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

[b-3amf8tkm8m] .drawflow .drawflow-node .inputs,
[b-3amf8tkm8m] .drawflow .drawflow-node .outputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[b-3amf8tkm8m] .drawflow .drawflow-node .input,
[b-3amf8tkm8m] .drawflow .drawflow-node .output {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #6c757d;
    border-radius: 50%;
    cursor: crosshair;
}

[b-3amf8tkm8m] .drawflow .drawflow-node .input:hover,
[b-3amf8tkm8m] .drawflow .drawflow-node .output:hover {
    background: #007bff;
    border-color: #007bff;
}

[b-3amf8tkm8m] .drawflow .connection .main-path {
    stroke: #6c757d;
    stroke-width: 2px;
}

[b-3amf8tkm8m] .drawflow .connection .main-path:hover {
    stroke: #007bff;
    stroke-width: 3px;
}

/* Node content styles */
[b-3amf8tkm8m] .workflow-node {
    padding: 0;
}

[b-3amf8tkm8m] .workflow-node .node-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 7px 7px 0 0;
}

[b-3amf8tkm8m] .workflow-node .node-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #212529;
}

[b-3amf8tkm8m] .workflow-node .node-body {
    padding: 0.5rem 0.75rem;
}

[b-3amf8tkm8m] .workflow-node .node-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Status node */
[b-3amf8tkm8m] .status-node-content {
    border-left-width: 4px;
    border-left-style: solid;
}

/* Task node */
[b-3amf8tkm8m] .task-node-content .node-header {
    background-color: rgba(40, 167, 69, 0.1);
}

/* Action node */
[b-3amf8tkm8m] .action-node-content .node-header {
    background-color: rgba(253, 126, 20, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .workflow-container[b-3amf8tkm8m] {
        flex-direction: column;
        height: auto;
    }

    .workflow-sidebar[b-3amf8tkm8m] {
        width: 100%;
        min-width: 100%;
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .node-palette[b-3amf8tkm8m] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .draggable-node[b-3amf8tkm8m] {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .workflow-canvas-container[b-3amf8tkm8m] {
        min-height: 400px;
    }
}
/* /Pages/Talks/LeadWorkflowV2.razor.rz.scp.css */
/* LeadWorkflowV2 Component Styles - JointJS Integration */

/* Main container */
.workflow-v2-container[b-grdefkyxd0] {
    display: flex;
    height: calc(100vh - 180px);
    min-height: 500px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

/* Sidebar */
.workflow-v2-sidebar[b-grdefkyxd0] {
    width: 240px;
    min-width: 240px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-section[b-grdefkyxd0] {
    margin-bottom: 1.25rem;
}

.sidebar-title[b-grdefkyxd0] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Node palette */
.node-palette[b-grdefkyxd0] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.palette-node[b-grdefkyxd0] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: grab;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    user-select: none;
}

.palette-node:hover[b-grdefkyxd0] {
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.palette-node:active[b-grdefkyxd0] {
    cursor: grabbing;
    transform: translateY(0);
}

.status-palette-node[b-grdefkyxd0] {
    border-left: 3px solid #17a2b8;
}

.task-palette-node[b-grdefkyxd0] {
    border-left: 3px solid #28a745;
}

.action-palette-node[b-grdefkyxd0] {
    border-left: 3px solid #fd7e14;
}

.condition-palette-node[b-grdefkyxd0] {
    border-left: 3px solid #6f42c1;
}

.node-color-dot[b-grdefkyxd0] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Sidebar actions */
.sidebar-actions[b-grdefkyxd0] {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.sidebar-help[b-grdefkyxd0] {
    font-size: 0.75rem;
}

.sidebar-help kbd[b-grdefkyxd0] {
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 3px;
}

/* Canvas wrapper */
.workflow-v2-canvas-wrapper[b-grdefkyxd0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Toolbar */
.workflow-v2-toolbar[b-grdefkyxd0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.toolbar-left[b-grdefkyxd0],
.toolbar-center[b-grdefkyxd0],
.toolbar-right[b-grdefkyxd0] {
    display: flex;
    align-items: center;
}

.zoom-indicator[b-grdefkyxd0] {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    min-width: 50px;
}

.selection-info[b-grdefkyxd0] {
    font-size: 0.85rem;
}

/* Canvas container */
.workflow-v2-canvas-container[b-grdefkyxd0] {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.workflow-v2-canvas[b-grdefkyxd0] {
    width: 100%;
    height: 100%;
}

/* Minimap */
.workflow-v2-minimap[b-grdefkyxd0] {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 200px;
    height: 150px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 10;
}

/* JointJS Paper Styles */
[b-grdefkyxd0] .joint-paper {
    background-color: #fafbfc;
}

[b-grdefkyxd0] .joint-paper svg {
    overflow: visible;
}

/* JointJS Element Styles */
[b-grdefkyxd0] .joint-element {
    cursor: move;
}

[b-grdefkyxd0] .joint-element:hover rect[joint-selector="body"] {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* JointJS Port Styles */
[b-grdefkyxd0] .joint-port-body {
    cursor: crosshair;
}

[b-grdefkyxd0] .joint-port-body:hover {
    r: 8;
}

/* JointJS Link Styles */
[b-grdefkyxd0] .joint-link .connection {
    stroke-linecap: round;
}

[b-grdefkyxd0] .joint-link .connection-wrap {
    stroke-width: 20;
    stroke: transparent;
    cursor: pointer;
}

[b-grdefkyxd0] .joint-link .marker-target {
    fill: #5b8ffa;
}

[b-grdefkyxd0] .joint-link:hover .connection {
    stroke: #0056b3;
    stroke-width: 3;
}

/* Selection highlight */
[b-grdefkyxd0] .joint-highlight-stroke {
    stroke: #007bff;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    fill: none;
}

/* Rubberband selection */
[b-grdefkyxd0] .selection-rubberband {
    pointer-events: none;
}

/* Export Modal */
.modal-backdrop[b-grdefkyxd0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal.show[b-grdefkyxd0] {
    z-index: 1050;
}

/* Responsive */
@media (max-width: 992px) {
    .workflow-v2-sidebar[b-grdefkyxd0] {
        width: 200px;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .workflow-v2-container[b-grdefkyxd0] {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .workflow-v2-sidebar[b-grdefkyxd0] {
        width: 100%;
        min-width: 100%;
        max-height: 250px;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-section[b-grdefkyxd0] {
        flex: 1;
        min-width: 150px;
        margin-bottom: 0;
    }

    .node-palette[b-grdefkyxd0] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .palette-node[b-grdefkyxd0] {
        flex: 1 1 auto;
        min-width: 100px;
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .sidebar-actions[b-grdefkyxd0] {
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid #dee2e6;
    }

    .sidebar-help[b-grdefkyxd0] {
        display: none;
    }

    .workflow-v2-canvas-wrapper[b-grdefkyxd0] {
        min-height: 400px;
    }

    .workflow-v2-toolbar[b-grdefkyxd0] {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .toolbar-left[b-grdefkyxd0],
    .toolbar-center[b-grdefkyxd0],
    .toolbar-right[b-grdefkyxd0] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .workflow-v2-minimap[b-grdefkyxd0] {
        width: 150px;
        height: 100px;
        bottom: 8px;
        right: 8px;
    }
}
/* /Pages/Talks/Queues.razor.rz.scp.css */
/* Queue Container */
.queues-container[b-rio05g10s6] {
    max-width: 1400px;
    margin: 0 auto;
}

/* Stats Cards */
.stat-card[b-rio05g10s6] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover[b-rio05g10s6] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Queue Card */
.queue-card[b-rio05g10s6] {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.queue-card:hover[b-rio05g10s6] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.queue-card.inactive[b-rio05g10s6] {
    opacity: 0.7;
}

.queue-card.inactive .card-header[b-rio05g10s6] {
    background-color: #f8f9fa;
}

.queue-card .card-header[b-rio05g10s6] {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
}

.queue-icon[b-rio05g10s6] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Blazor Dropdown */
.blazor-dropdown[b-rio05g10s6] {
    position: relative;
}

.dropdown-overlay[b-rio05g10s6] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

.blazor-dropdown-menu[b-rio05g10s6] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: dropdownFadeIn-b-rio05g10s6 0.15s ease;
}

@keyframes dropdownFadeIn-b-rio05g10s6 {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blazor-dropdown-item[b-rio05g10s6] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.blazor-dropdown-item:hover[b-rio05g10s6] {
    background-color: #f8f9fa;
}

.blazor-dropdown-item.text-danger:hover[b-rio05g10s6] {
    background-color: #fff5f5;
}

/* User List */
.user-list[b-rio05g10s6] {
    padding: 0;
}

.user-item[b-rio05g10s6] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
    cursor: grab;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    position: relative;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.user-item:last-child[b-rio05g10s6] {
    border-bottom: none;
}

.user-item:hover[b-rio05g10s6] {
    background-color: #f8f9fa;
}

.user-item.dragging[b-rio05g10s6] {
    opacity: 0.5;
    background-color: #e3f2fd;
    transform: scale(0.98);
}

/* Desktop drag feedback */
@media (min-width: 768px) {
    .user-item:active[b-rio05g10s6] {
        background-color: #e8f4ff;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    }
}

.user-item.next-in-line[b-rio05g10s6] {
    background-color: #e8f5e9;
    border-left: 3px solid #28a745;
}

.user-item.next-in-line:active[b-rio05g10s6] {
    background-color: #d4edda;
}

.user-item.unavailable[b-rio05g10s6] {
    opacity: 0.6;
    background-color: #f5f5f5;
}

.user-item.unavailable .user-name[b-rio05g10s6] {
    text-decoration: line-through;
    color: #999;
}

/* User Order Badge */
.user-order[b-rio05g10s6] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.user-item.next-in-line .user-order[b-rio05g10s6] {
    background-color: #28a745;
    color: white;
}

/* User Avatar */
.user-avatar[b-rio05g10s6] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* User Info */
.user-info[b-rio05g10s6] {
    flex: 1;
    min-width: 0;
}

.user-name[b-rio05g10s6] {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-stats[b-rio05g10s6] {
    margin-top: 2px;
}

.user-stats .badge[b-rio05g10s6] {
    font-weight: 500;
    font-size: 0.7rem;
}

/* User Actions */
.user-actions[b-rio05g10s6] {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Mobile Controls */
.mobile-controls[b-rio05g10s6] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 0.5rem;
}

.mobile-btn[b-rio05g10s6] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-btn-move[b-rio05g10s6] {
    background-color: #f0f4f8;
    color: #495057;
}

.mobile-btn-move:hover:not(:disabled)[b-rio05g10s6] {
    background-color: #e2e8f0;
    color: #333;
}

.mobile-btn-move:active:not(:disabled)[b-rio05g10s6] {
    background-color: #007bff;
    color: white;
    transform: scale(0.95);
}

.mobile-btn-move:disabled[b-rio05g10s6] {
    background-color: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.mobile-btn-delete[b-rio05g10s6] {
    background-color: #fff5f5;
    color: #dc3545;
}

.mobile-btn-delete:hover[b-rio05g10s6] {
    background-color: #fee;
    color: #c82333;
}

.mobile-btn-delete:active[b-rio05g10s6] {
    background-color: #dc3545;
    color: white;
    transform: scale(0.95);
}

/* Desktop Controls */
.desktop-controls[b-rio05g10s6] {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Drag Handle */
.drag-handle[b-rio05g10s6] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #bbb;
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.drag-handle:hover[b-rio05g10s6] {
    color: #666;
    background-color: #f0f0f0;
}

.drag-handle:active[b-rio05g10s6] {
    color: #007bff;
    background-color: #e8f4ff;
    cursor: grabbing;
}

.user-item:active .drag-handle[b-rio05g10s6] {
    color: #007bff;
    cursor: grabbing;
}

.drag-handle i[b-rio05g10s6] {
    font-size: 1rem;
}

/* Empty Queue */
.empty-queue[b-rio05g10s6] {
    background-color: #fafafa;
}

/* Color Picker */
.color-picker-btn[b-rio05g10s6] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-picker-btn:hover[b-rio05g10s6] {
    transform: scale(1.1);
}

.color-picker-btn.selected[b-rio05g10s6] {
    border-color: #333;
    transform: scale(1.15);
}

/* Empty State */
.empty-state[b-rio05g10s6] {
    padding: 4rem 2rem;
}

/* Card Footer */
.queue-card .card-footer[b-rio05g10s6] {
    padding: 0.75rem 1rem;
    border-top: 1px solid #f0f0f0;
}

/* Modal Backdrop */
.modal-backdrop[b-rio05g10s6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Modal Improvements */
[b-rio05g10s6] .modal {
    z-index: 1050;
}

[b-rio05g10s6] .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[b-rio05g10s6] .modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

[b-rio05g10s6] .modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Table in Modal */
[b-rio05g10s6] .table {
    margin-bottom: 0;
}

[b-rio05g10s6] .table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom-width: 1px;
}

[b-rio05g10s6] .table td {
    vertical-align: middle;
}

/* Form Switch */
.queue-card .form-check-input[b-rio05g10s6],
[b-rio05g10s6] .form-check-input {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 767.98px) {
    .stat-card[b-rio05g10s6] {
        margin-bottom: 0.5rem;
    }

    .user-item[b-rio05g10s6] {
        padding: 0.75rem;
    }

    .user-order[b-rio05g10s6] {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        margin-right: 0.5rem;
    }

    .user-avatar[b-rio05g10s6] {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }

    .user-info[b-rio05g10s6] {
        flex: 1;
        min-width: 0;
        margin-right: 0.5rem;
    }

    .user-name[b-rio05g10s6] {
        font-size: 0.9rem;
    }

    .user-stats[b-rio05g10s6] {
        display: none;
    }

    .user-actions[b-rio05g10s6] {
        margin-left: 0;
        padding-left: 0;
    }

    .blazor-dropdown-menu[b-rio05g10s6] {
        min-width: 160px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .mobile-btn[b-rio05g10s6] {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .mobile-controls[b-rio05g10s6] {
        gap: 4px;
    }

    .user-order[b-rio05g10s6] {
        display: none;
    }
}
/* /Pages/Talks/TeamHistoryModal.razor.rz.scp.css */
/* Modal Backdrop */
.modal-backdrop[b-b8c6gzs5tb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Modal */
[b-b8c6gzs5tb] .modal {
    z-index: 1050;
}

[b-b8c6gzs5tb] .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[b-b8c6gzs5tb] .modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

[b-b8c6gzs5tb] .modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Table */
[b-b8c6gzs5tb] .table {
    margin-bottom: 0;
}

[b-b8c6gzs5tb] .table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom-width: 1px;
}

[b-b8c6gzs5tb] .table td {
    vertical-align: middle;
}
/* /Pages/Talks/Teams.razor.rz.scp.css */
/* Container */
.queues-container[b-1iz8w9vqwo] {
    max-width: 1400px;
    margin: 0 auto;
}

/* Stats Cards */
.stat-card[b-1iz8w9vqwo] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover[b-1iz8w9vqwo] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Team Card (reuses queue-card class for layout consistency) */
.queue-card[b-1iz8w9vqwo] {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.queue-card:hover[b-1iz8w9vqwo] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.queue-card.inactive[b-1iz8w9vqwo] {
    opacity: 0.7;
}

.queue-card.inactive .card-header[b-1iz8w9vqwo] {
    background-color: #f8f9fa;
}

.queue-card .card-header[b-1iz8w9vqwo] {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
}

.queue-icon[b-1iz8w9vqwo] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Blazor Dropdown */
.blazor-dropdown[b-1iz8w9vqwo] {
    position: relative;
}

.dropdown-overlay[b-1iz8w9vqwo] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

.blazor-dropdown-menu[b-1iz8w9vqwo] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: dropdownFadeIn-b-1iz8w9vqwo 0.15s ease;
}

@keyframes dropdownFadeIn-b-1iz8w9vqwo {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blazor-dropdown-item[b-1iz8w9vqwo] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.blazor-dropdown-item:hover[b-1iz8w9vqwo] {
    background-color: #f8f9fa;
}

.blazor-dropdown-item.text-danger:hover[b-1iz8w9vqwo] {
    background-color: #fff5f5;
}

/* Member List */
.user-list[b-1iz8w9vqwo] {
    padding: 0;
}

.user-item[b-1iz8w9vqwo] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
    transition: background-color 0.2s ease;
    position: relative;
}

.user-item:last-child[b-1iz8w9vqwo] {
    border-bottom: none;
}

.user-item:hover[b-1iz8w9vqwo] {
    background-color: #f8f9fa;
}

/* User Avatar */
.user-avatar[b-1iz8w9vqwo] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* User Info */
.user-info[b-1iz8w9vqwo] {
    flex: 1;
    min-width: 0;
}

.user-name[b-1iz8w9vqwo] {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-stats[b-1iz8w9vqwo] {
    margin-top: 2px;
}

.user-stats .badge[b-1iz8w9vqwo] {
    font-weight: 500;
    font-size: 0.7rem;
}

/* Desktop Controls */
.desktop-controls[b-1iz8w9vqwo] {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Empty States */
.empty-queue[b-1iz8w9vqwo] {
    background-color: #fafafa;
}

.empty-state[b-1iz8w9vqwo] {
    padding: 4rem 2rem;
}

/* Modal Backdrop */
.modal-backdrop[b-1iz8w9vqwo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Modal Improvements */
[b-1iz8w9vqwo] .modal {
    z-index: 1050;
}

[b-1iz8w9vqwo] .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[b-1iz8w9vqwo] .modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

[b-1iz8w9vqwo] .modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Table in Modal */
[b-1iz8w9vqwo] .table {
    margin-bottom: 0;
}

[b-1iz8w9vqwo] .table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom-width: 1px;
}

[b-1iz8w9vqwo] .table td {
    vertical-align: middle;
}

/* Form Check */
.queue-card .form-check-input[b-1iz8w9vqwo],
[b-1iz8w9vqwo] .form-check-input {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 767.98px) {
    .stat-card[b-1iz8w9vqwo] {
        margin-bottom: 0.5rem;
    }

    .user-item[b-1iz8w9vqwo] {
        padding: 0.75rem;
    }

    .user-avatar[b-1iz8w9vqwo] {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }

    .user-info[b-1iz8w9vqwo] {
        flex: 1;
        min-width: 0;
        margin-right: 0.5rem;
    }

    .user-name[b-1iz8w9vqwo] {
        font-size: 0.9rem;
    }

    .blazor-dropdown-menu[b-1iz8w9vqwo] {
        min-width: 160px;
    }
}
/* /Shared/AccessMatrixView.razor.rz.scp.css */
.access-matrix-container[b-jafyohx2xc] {
    --matrix-accent: #004396;
    padding: 1rem;
}

.access-matrix-container.theme-talks[b-jafyohx2xc] {
    --matrix-accent: #a90000;
}

.access-matrix-container.theme-talks[b-jafyohx2xc]  .alert-info {
    background-color: #fde8e8;
    border-color: #f5b8b8;
    color: #a90000;
}

.role-selector[b-jafyohx2xc] {
    max-width: 400px;
    margin-bottom: 1rem;
}

.matrix-content[b-jafyohx2xc] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.permissions-section[b-jafyohx2xc] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #fff;
}

    .permissions-section h5[b-jafyohx2xc] {
        margin-bottom: 0rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--matrix-accent);
        color: var(--matrix-accent);
    }

    .permissions-section h7[b-jafyohx2xc] {
        margin-top: 2rem;
        margin-bottom: 1rem;
        display: block;
    }

    .permissions-section h7:first-child[b-jafyohx2xc] {
        margin-top: 1rem;
    }

.actions-grid[b-jafyohx2xc] {
    column-count: 1;
    column-gap: 1rem;
}

@media (min-width: 768px) {
    .actions-grid[b-jafyohx2xc] {
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .actions-grid[b-jafyohx2xc] {
        column-count: 3;
    }
}

.action-group[b-jafyohx2xc] {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

    .action-group legend[b-jafyohx2xc] {
        font-size: 0.9rem;
        font-weight: 600;
        color: #495057;
        padding: 0 0.5rem;
        width: auto;
    }

.permission-item[b-jafyohx2xc] {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

    .permission-item label[b-jafyohx2xc] {
        margin-left: 0.5rem;
        cursor: pointer;
        user-select: none;
    }

.module-menu-items[b-jafyohx2xc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.menu-tree[b-jafyohx2xc] {
    max-height: min(500px, 60vh);
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

[b-jafyohx2xc] .menu-item {
    padding: 0.25rem 0;
}

[b-jafyohx2xc] .menu-item-children {
    margin-left: 1.5rem;
    border-left: 1px dashed #dee2e6;
    padding-left: 0.5rem;
}

.btn-actions[b-jafyohx2xc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.role-info[b-jafyohx2xc] {
    background-color: #e7f1ff;
    border: 1px solid #b6d4fe;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

    .role-info strong[b-jafyohx2xc] {
        color: var(--matrix-accent);
    }


[b-jafyohx2xc] .is-invalid {
    border: solid 1px red;
}

.saving-overlay[b-jafyohx2xc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.saving-overlay-content[b-jafyohx2xc] {
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--matrix-accent);
}

    .saving-overlay-content i[b-jafyohx2xc] {
        color: var(--matrix-accent);
    }

    .saving-overlay-content p[b-jafyohx2xc] {
        font-weight: 500;
        color: #333;
    }

@media (max-width: 768px) {
    .access-matrix-container[b-jafyohx2xc] {
        padding: 0.5rem;
    }

    .permissions-section[b-jafyohx2xc] {
        padding: 0.75rem;
    }

    .role-selector[b-jafyohx2xc] {
        max-width: 100%;
    }

    .btn-actions[b-jafyohx2xc] {
        flex-direction: column;
    }

    .btn-actions[b-jafyohx2xc]  .dxbs-button {
        width: 100%;
    }
}
/* /Shared/BaseLayout.razor.rz.scp.css */
[b-f9f8djd3x5] #divBase {
    background-color: yellow;
}

.page[b-f9f8djd3x5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-f9f8djd3x5] {
    flex: 1;
}

.sidebar[b-f9f8djd3x5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-f9f8djd3x5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-f9f8djd3x5]  a, .top-row .btn-link[b-f9f8djd3x5] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-f9f8djd3x5] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-f9f8djd3x5] {
        display: none;
    }

    .top-row.auth[b-f9f8djd3x5] {
        justify-content: space-between;
    }

    .top-row a[b-f9f8djd3x5], .top-row .btn-link[b-f9f8djd3x5] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-f9f8djd3x5] {
        flex-direction: row;
    }

    .sidebar[b-f9f8djd3x5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-f9f8djd3x5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-f9f8djd3x5], article[b-f9f8djd3x5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
[b-rxlgjj2dxv] #divBase {
    background-color: yellow;
}

.page[b-rxlgjj2dxv] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-rxlgjj2dxv] {
    flex: 1;
}

.sidebar[b-rxlgjj2dxv] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-rxlgjj2dxv] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-rxlgjj2dxv]  a, .top-row .btn-link[b-rxlgjj2dxv] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-rxlgjj2dxv] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-rxlgjj2dxv] {
        display: none;
    }

    .top-row.auth[b-rxlgjj2dxv] {
        justify-content: space-between;
    }

    .top-row a[b-rxlgjj2dxv], .top-row .btn-link[b-rxlgjj2dxv] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rxlgjj2dxv] {
        flex-direction: row;
    }

    .sidebar[b-rxlgjj2dxv] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rxlgjj2dxv] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-rxlgjj2dxv], article[b-rxlgjj2dxv] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/RouteLoadingIndicator.razor.rz.scp.css */
.route-loading[b-1fr7qsmpjl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    padding: 2rem;
    box-sizing: border-box;
}

/* Chrome-less full-viewport variant for the auth/permission gate. */
.route-loading--fullscreen[b-1fr7qsmpjl] {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    background: #ffffff;
    z-index: 1080;
}

.route-loading__content[b-1fr7qsmpjl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.1rem;
}

.route-loading__logo[b-1fr7qsmpjl] {
    display: block;
    opacity: 0.9;
    animation: route-loading-pulse-b-1fr7qsmpjl 1.6s ease-in-out infinite;
}

/* Self-contained spinner — does not depend on Bootstrap's .spinner-border being loaded yet. */
.route-loading__spinner[b-1fr7qsmpjl] {
    width: 2.25rem;
    height: 2.25rem;
    border: 0.22em solid rgba(6, 54, 114, 0.15);
    border-top-color: #063672; /* EMOBI primary blue */
    border-radius: 50%;
    animation: route-loading-spin-b-1fr7qsmpjl 0.8s linear infinite;
}

.route-loading__message[b-1fr7qsmpjl] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #5a6472;
    letter-spacing: 0.01em;
}

/* Visually hidden label for assistive tech. */
.route-loading__sr[b-1fr7qsmpjl] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes route-loading-spin-b-1fr7qsmpjl {
    to { transform: rotate(360deg); }
}

@keyframes route-loading-pulse-b-1fr7qsmpjl {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.08); opacity: 1; }
}
