/* _content/Solinfo.SyncEngine.UIComponents/Components/Notifications/NotificationBadge.razor.rz.scp.css */
.notif-badge-wrapper[b-htxoba67r3] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notif-badge-btn[b-htxoba67r3] {
    background: none !important;
    border: none !important;
    cursor: pointer;
    position: relative;
    padding: 0.25rem 0.4rem;
    color: inherit !important;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background 0.15s;
}

.notif-badge-btn:hover[b-htxoba67r3] {
    background: rgba(0, 0, 0, 0.08);
}

.notif-count-pill[b-htxoba67r3] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.1em 0.35em;
    min-width: 1.25em;
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
}

.notif-dropdown-panel[b-htxoba67r3] {
    position: fixed;
    top: 56px;
    right: 8px;
    width: 380px;
    max-height: 500px;
    background: #1e1e2e !important;
    border: 1px solid #3a3a55;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #e0e0e0 !important;
}

.notif-panel-header[b-htxoba67r3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #3a3a55;
    background: #16162a !important;
    flex-shrink: 0;
}

.notif-panel-title[b-htxoba67r3] {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.notif-mark-all-btn[b-htxoba67r3] {
    background: none;
    border: none;
    color: #7eb3ff;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
}

.notif-mark-all-btn:hover[b-htxoba67r3] {
    text-decoration: underline;
}

.notif-panel-body[b-htxoba67r3] {
    overflow-y: auto;
    flex: 1;
}

.notif-empty[b-htxoba67r3] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #888;
    font-size: 0.875rem;
}

.notif-item[b-htxoba67r3] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #2a2a40;
    transition: background 0.12s;
}

.notif-item:last-child[b-htxoba67r3] {
    border-bottom: none;
}

.notif-item:hover[b-htxoba67r3] {
    background: #2a2a45;
}

.notif-unread[b-htxoba67r3] {
    background: #1f2a40;
}

.notif-unread:hover[b-htxoba67r3] {
    background: #253050;
}

.notif-icon[b-htxoba67r3] {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.notif-icon-error[b-htxoba67r3]        { color: #f87171; }
.notif-icon-warning[b-htxoba67r3]      { color: #fb923c; }
.notif-icon-info[b-htxoba67r3]         { color: #94a3b8; }
.notif-icon-task-running[b-htxoba67r3] { color: #60a5fa; }
.notif-icon-task-done[b-htxoba67r3]    { color: #4ade80; }

.notif-item-body[b-htxoba67r3] {
    flex: 1;
    min-width: 0;
}

.notif-item-title[b-htxoba67r3] {
    font-size: 0.84rem;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item-message[b-htxoba67r3] {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item-message-clickable[b-htxoba67r3] {
    cursor: pointer;
    text-decoration: underline dotted #64748b;
}

.notif-item-message-clickable:hover[b-htxoba67r3] {
    color: #cbd5e1;
}

.notif-item-time[b-htxoba67r3] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 3px;
}

.notif-item-actions[b-htxoba67r3] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.notif-detail-btn[b-htxoba67r3] {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 2px;
    display: flex;
    align-items: center;
    border-radius: 3px;
}

.notif-detail-btn:hover[b-htxoba67r3] {
    color: #94a3b8;
    background: rgba(255,255,255,0.08);
}

.notif-detail-textarea[b-htxoba67r3] {
    width: 100%;
    height: 100%;
    resize: none;
    background: #1e1e2e;
    color: #e0e0e0;
    border: 1px solid #3a3a55;
    border-radius: 4px;
    padding: 0.75rem;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-y: auto;
    overflow-x: auto;
    box-sizing: border-box;
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/Scheduling/ScheduleJobEditor.razor.rz.scp.css */
.schedule-job-editor[b-h7kbv5hvca] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── Compact header card ─── */

.job-header-card[b-h7kbv5hvca] {
    overflow: hidden;
}

.job-header-clickable[b-h7kbv5hvca] {
    cursor: pointer;
    user-select: none;
    padding: 8px 16px;
}

.job-header-clickable:hover[b-h7kbv5hvca] {
    background: rgba(255, 255, 255, 0.04);
}

.job-header-clickable h5[b-h7kbv5hvca] {
    font-size: .95em;
}

.job-header-body[b-h7kbv5hvca] {
    padding: 8px 16px 12px;
}

/* Grid layout compact: 2 colonnes label/field */
.editor-grid-compact[b-h7kbv5hvca] {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 6px 12px;
    align-items: center;
}

.editor-row[b-h7kbv5hvca] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.editor-label[b-h7kbv5hvca] {
    flex: 0 0 200px;
    min-width: 0;
}

.editor-field[b-h7kbv5hvca] {
    flex: 1 1 0%;
    min-width: 0;
}

.job-actions[b-h7kbv5hvca] {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.tab-content-inner[b-h7kbv5hvca] {
    padding: 12px 0;
}

.tab-toolbar[b-h7kbv5hvca] {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .editor-grid-compact[b-h7kbv5hvca] {
        grid-template-columns: 1fr;
    }

    .editor-row[b-h7kbv5hvca] {
        flex-direction: column;
        align-items: stretch;
    }

    .editor-label[b-h7kbv5hvca] {
        flex: 0 0 auto;
    }
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/Scheduling/ScheduleJobGrid.razor.rz.scp.css */
.schedule-job-grid[b-nnckz6esko] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.grid-toolbar[b-nnckz6esko] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.job-list-grid[b-nnckz6esko] {
    flex: 1;
    min-height: 0;
}

/* ─── Custom context menu ─── */

.custom-context-menu-backdrop[b-nnckz6esko] {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

.custom-context-menu[b-nnckz6esko] {
    position: fixed;
    z-index: 9999;
    background: var(--kendo-color-surface-alt, #2b2b2b);
    border: 1px solid var(--kendo-color-border, #444);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    padding: 4px 0;
}

.custom-context-menu ul[b-nnckz6esko] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-context-menu li[b-nnckz6esko] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: .9em;
    color: var(--kendo-color-on-surface, #ddd);
    transition: background 0.15s;
}

.custom-context-menu li:hover[b-nnckz6esko] {
    background: var(--kendo-color-primary-subtle, rgba(13, 110, 253, 0.15));
}

.custom-context-menu li.context-menu-danger:hover[b-nnckz6esko] {
    background: rgba(220, 53, 69, 0.2);
    color: #f59da0;
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/Scheduling/ScheduleStepEditor.razor.rz.scp.css */
.schedule-step-editor[b-57ok6ymni8] {
    max-width: 900px;
}

.editor-row[b-57ok6ymni8] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.editor-label[b-57ok6ymni8] {
    flex: 0 0 220px;
    min-width: 0;
}

.editor-field[b-57ok6ymni8] {
    flex: 1 1 0%;
    min-width: 0;
}

.options-list[b-57ok6ymni8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-row[b-57ok6ymni8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .editor-row[b-57ok6ymni8] {
        flex-direction: column;
        align-items: stretch;
    }

    .editor-label[b-57ok6ymni8] {
        flex: 0 0 auto;
    }
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/Scheduling/ScheduleTriggerEditor.razor.rz.scp.css */
.schedule-trigger-editor[b-6alanlsuqo] {
    max-width: 800px;
}

.editor-row[b-6alanlsuqo] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.editor-label[b-6alanlsuqo] {
    flex: 0 0 200px;
    min-width: 0;
}

.editor-field[b-6alanlsuqo] {
    flex: 1 1 0%;
    min-width: 0;
}

.days-of-week-grid[b-6alanlsuqo] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.day-checkbox[b-6alanlsuqo] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .editor-row[b-6alanlsuqo] {
        flex-direction: column;
        align-items: stretch;
    }

    .editor-label[b-6alanlsuqo] {
        flex: 0 0 auto;
    }
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/Scheduling/SyncBatchDetailGrid.razor.rz.scp.css */
/* ─── Detail template (batches dans le expand) ─── */

.detail-batches-section[b-4v26uuge8h] {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #0d6efd;
}

.detail-batches-section h5[b-4v26uuge8h] {
    font-size: .9em;
    color: #aaa;
}

[b-4v26uuge8h] .detail-batch-grid {
    font-size: .92em;
}

/* Stats badges (rendered via MarkupString → ::deep required) */

[b-4v26uuge8h] .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 3px 5px;
    font-size: .78em;
}

[b-4v26uuge8h] .stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.5;
}

[b-4v26uuge8h] .stat-badge .stat-label {
    opacity: .7;
    font-weight: 400;
}

[b-4v26uuge8h] .stat-total { background: #3a3a4a; color: #ccc; }
[b-4v26uuge8h] .stat-success { background: #143d1a; color: #6fcf7c; }
[b-4v26uuge8h] .stat-fail { background: #3d1417; color: #f59da0; }
[b-4v26uuge8h] .stat-new { background: #142a3d; color: #6fb8e8; }
[b-4v26uuge8h] .stat-update { background: #2d2a3d; color: #b0a8d8; }
[b-4v26uuge8h] .stat-skip { background: #3d3520; color: #d4c47a; }
/* _content/Solinfo.SyncEngine.UIComponents/Components/SyncExecution/SyncBatchProgressWindow.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   SyncBatchProgressWindow — Scoped styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Window title ── */
.batch-window-title[b-m3aw54xaro] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* ── Main layout ── */
.batch-progress-content[b-m3aw54xaro] {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 16px;
    overflow: hidden;
}

/* ── Summary section (top, fixed height) ── */
.summary-section[b-m3aw54xaro] {
    flex: 0 0 auto;
}

.summary-card[b-m3aw54xaro] {
    border-left: 4px solid var(--kendo-color-primary, #0d6efd);
}

.summary-header-row[b-m3aw54xaro] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.summary-info[b-m3aw54xaro] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.batch-id-label[b-m3aw54xaro] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--kendo-color-on-app-surface, #212529);
}

.batch-name[b-m3aw54xaro] {
    font-size: 0.85rem;
    color: var(--kendo-color-subtle, #6c757d);
}

/* ── Status badge ── */
.status-badge[b-m3aw54xaro] {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-running[b-m3aw54xaro] {
    background: #e8f4fd;
    color: #0b5ed7;
    animation: pulse-badge-b-m3aw54xaro 1.5s ease-in-out infinite;
}

.status-completed[b-m3aw54xaro] {
    background: #d1e7dd;
    color: #0f5132;
}

.status-failed[b-m3aw54xaro] {
    background: #f8d7da;
    color: #842029;
}

.status-aborted[b-m3aw54xaro] {
    background: #fff3cd;
    color: #664d03;
}

.status-unknown[b-m3aw54xaro] {
    background: #e9ecef;
    color: #495057;
}

@keyframes pulse-badge-b-m3aw54xaro {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ── Progress bar section ── */
.progress-bar-section[b-m3aw54xaro] {
    margin-bottom: 14px;
}

.progress-labels[b-m3aw54xaro] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--kendo-color-subtle, #6c757d);
    margin-bottom: 4px;
}

.progress-error .k-progressbar-value[b-m3aw54xaro] {
    background-color: #dc3545 !important;
}

.progress-complete .k-progressbar-value[b-m3aw54xaro] {
    background-color: #198754 !important;
}

.progress-running .k-progressbar-value[b-m3aw54xaro] {
    background-color: #0d6efd !important;
}

/* ── Counter cards ── */
.counters-row[b-m3aw54xaro] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.counter-card[b-m3aw54xaro] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    border-radius: 8px;
    min-width: 90px;
    flex: 1 1 0%;
}

.counter-value[b-m3aw54xaro] {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.counter-label[b-m3aw54xaro] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

.counter-success[b-m3aw54xaro] {
    background: #d1e7dd;
    color: #0f5132;
}

.counter-error[b-m3aw54xaro] {
    background: #f8d7da;
    color: #842029;
}

.counter-new[b-m3aw54xaro] {
    background: #cff4fc;
    color: #055160;
}

.counter-existing[b-m3aw54xaro] {
    background: #e2e3e5;
    color: #41464b;
}

.counter-skipped[b-m3aw54xaro] {
    background: #fff3cd;
    color: #664d03;
}

/* ── Time row ── */
.time-row[b-m3aw54xaro] {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--kendo-color-subtle, #6c757d);
    margin-bottom: 10px;
}

.time-item[b-m3aw54xaro] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Detail buttons ── */
.detail-buttons-row[b-m3aw54xaro] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Details grid (bottom, fills remaining space) ── */
.details-grid-section[b-m3aw54xaro] {
    flex: 1 1 0%;
    min-height: 200px;
    overflow: hidden;
}

/* ── Detail badges in grid ── */
.detail-badge[b-m3aw54xaro] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.detail-badge-success[b-m3aw54xaro] {
    background: #d1e7dd;
    color: #0f5132;
}

.detail-badge-error[b-m3aw54xaro] {
    background: #f8d7da;
    color: #842029;
}

.detail-badge-skipped[b-m3aw54xaro] {
    background: #fff3cd;
    color: #664d03;
}

.detail-badge-pending[b-m3aw54xaro] {
    background: #e9ecef;
    color: #495057;
}

.error-text[b-m3aw54xaro] {
    color: #842029;
    font-size: 0.82rem;
}

.skip-text[b-m3aw54xaro] {
    color: #664d03;
    font-size: 0.82rem;
    font-style: italic;
}

/* ── Sur-popup (detail popup) ── */
.detail-popup-content[b-m3aw54xaro] {
    height: 100%;
    overflow: auto;
}

.detail-popup-pre[b-m3aw54xaro] {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.82rem;
    line-height: 1.5;
    background: var(--kendo-color-surface-alt, #f8f9fa);
    padding: 16px;
    border-radius: 6px;
    border: 1px solid var(--kendo-color-border, #dee2e6);
    margin: 0;
    max-height: 100%;
    overflow: auto;
}
/* _content/Solinfo.SyncEngine.UIComponents/Components/SyncExecution/SyncExecutionRequestForm.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   SyncExecutionRequestForm — Layout scoped (Kendo Default theme)
   Les couleurs viennent de k-card / k-label / k-form-hint / k-text-error.
   Ici on ne gère que le layout (flex, gap, max-width, responsive).
   ═══════════════════════════════════════════════════════════════ */

.sync-execution-form[b-upnhx29ywb] {
    max-width: 960px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Ligne label + champ côte à côte */
.step-row[b-upnhx29ywb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-label[b-upnhx29ywb] {
    flex: 0 0 220px;
    min-width: 0;
}

.step-field[b-upnhx29ywb] {
    flex: 1 1 0%;
    min-width: 0;
}

/* Sections de filtre (conditionnelles sous le mode de filtrage) */
.filter-section[b-upnhx29ywb] {
    margin-top: 12px;
}

.filter-row[b-upnhx29ywb] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Options d'exécution (checkboxes empilées) */
.options-list[b-upnhx29ywb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-row[b-upnhx29ywb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Barre d'action (bouton Lancer + loader) */
.action-bar[b-upnhx29ywb] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Responsive : empiler label/champ en colonne sur petits écrans */
@media (max-width: 768px) {
    .step-row[b-upnhx29ywb] {
        flex-direction: column;
        align-items: stretch;
    }

    .step-label[b-upnhx29ywb] {
        flex: 0 0 auto;
    }
}
