@import '_content/BlazorLib/BlazorLib.891e3u0nfc.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /AppMenu.razor.rz.scp.css */
/* /Components/EditMyObject.razor.rz.scp.css */
/* /Pages/Calendar.razor.rz.scp.css */
/* /Pages/DemoBox.razor.rz.scp.css */
.demo-box[b-lqt1fxpjmy] {
    background: #e8f0fe;
    border: 1px solid #4a86d6;
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.demo-box.highlight[b-lqt1fxpjmy] {
    background: #fff3cd;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}
/* /Pages/DropZonePage.razor.rz.scp.css */
/* /Pages/GridDemoPage.razor.rz.scp.css */
h1[b-g7ejot6eik] {
    margin-bottom: 32px;
}

h2[b-g7ejot6eik] {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

h3[b-g7ejot6eik] {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #555;
}

.demo-section[b-g7ejot6eik] {
    margin-bottom: 48px;
}

.demo-layout[b-g7ejot6eik] {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.demo-controls[b-g7ejot6eik] {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 16px;
}

.demo-controls label[b-g7ejot6eik] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}

.demo-controls select[b-g7ejot6eik],
.demo-controls input[type="text"][b-g7ejot6eik] {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
}

.demo-controls input[type="range"][b-g7ejot6eik] {
    width: 100%;
    accent-color: #1a73e8;
}

.toggle[b-g7ejot6eik] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    cursor: pointer;
}

.demo-preview[b-g7ejot6eik] {
    min-width: 0;
}

.preview-area[b-g7ejot6eik] {
    background: #fff;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    min-height: 100px;
}

.code-block[b-g7ejot6eik] {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre;
    margin: 0;
}

.btn-add[b-g7ejot6eik],
.btn-remove[b-g7ejot6eik] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 4px;
}

.btn-add[b-g7ejot6eik] {
    background: #1a73e8;
    color: white;
}

.btn-add:hover[b-g7ejot6eik] {
    background: #1557b0;
}

.btn-remove[b-g7ejot6eik] {
    background: #dc3545;
    color: white;
}

.btn-remove:hover[b-g7ejot6eik] {
    background: #b02a37;
}

.item-info[b-g7ejot6eik] {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
/* /Pages/TreeviewPage.razor.rz.scp.css */
/* ════════════════════════════════════════════════════
   Variables
   ════════════════════════════════════════════════════ */
:root[b-ug1xn5zhaj] {
    --c-bg: #f4f5f7;
    --c-surface: #ffffff;
    --c-sidebar: #1e2028;
    --c-sidebar-header: #13141a;
    --c-sidebar-border: #2e3040;
    --c-sidebar-section: #2a2c38;
    --c-text: #1a1d27;
    --c-text-muted: #6b7280;
    --c-text-sidebar: #c8ccd8;
    --c-text-sidebar-muted: #6b7385;
    --c-accent: #4f6ef7;
    --c-accent-hover: #3a5ae0;
    --c-border: #e5e7eb;
    --c-status-bg: #13141a;
    --c-status-text: #a8b3cf;
    --c-status-key: #5a6a9a;

    --badge-blue: #1d4ed8;
    --badge-blue-bg: #dbeafe;
    --badge-purple: #7c3aed;
    --badge-purple-bg: #ede9fe;
    --badge-green: #15803d;
    --badge-green-bg: #dcfce7;
    --badge-orange: #c2410c;
    --badge-orange-bg: #ffedd5;
    --badge-red: #b91c1c;
    --badge-red-bg: #fee2e2;

    --radius: 8px;
    --radius-sm: 5px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', ui-monospace, monospace;
}

/* ════════════════════════════════════════════════════
   Layout général
   ════════════════════════════════════════════════════ */
.demo-layout[b-ug1xn5zhaj] {
    display: grid;
    grid-template-columns: 310px 1fr;
    height: 100vh;
    background: var(--c-bg);
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--c-text);
    overflow: hidden;
}

/* ════════════════════════════════════════════════════
   Sidebar
   ════════════════════════════════════════════════════ */
.demo-sidebar[b-ug1xn5zhaj] {
    background: var(--c-sidebar);
    color: var(--c-text-sidebar);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--c-sidebar-border);
}

.sidebar-header[b-ug1xn5zhaj] {
    background: var(--c-sidebar-header);
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--c-sidebar-border);
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-title[b-ug1xn5zhaj] {
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 600;
    color: #e2e6f3;
    letter-spacing: .02em;
}

.sidebar-sub[b-ug1xn5zhaj] {
    font-size: .72rem;
    color: var(--c-text-sidebar-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ── Sections ── */
.ctrl-section[b-ug1xn5zhaj] {
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-sidebar-border);
}

.ctrl-section-title[b-ug1xn5zhaj] {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    color: var(--c-text-sidebar-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 12px;
}

.ctrl-hint[b-ug1xn5zhaj] {
    font-size: .73rem;
    color: var(--c-text-sidebar-muted);
    margin: -6px 0 10px;
    line-height: 1.4;
}

/* ── Toggle switch ── */
.ctrl-toggle[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-sidebar-border);
    background: #12141c;
    user-select: none;
    transition: border-color .15s, background .15s;
}

.ctrl-toggle:last-child[b-ug1xn5zhaj] { margin-bottom: 0; }

.ctrl-toggle:hover[b-ug1xn5zhaj] {
    border-color: #4a5070;
    background: #161820;
}

.ctrl-toggle input[type="checkbox"][b-ug1xn5zhaj] { display: none; }

.ctrl-toggle-track[b-ug1xn5zhaj] {
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    background: #0a0b10;
    border: 1.5px solid #4a5068;
    border-radius: 20px;
    position: relative;
    transition: background .2s, border-color .2s;
}

.ctrl-toggle-track[b-ug1xn5zhaj]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5a6380;
    transition: transform .2s, background .2s;
}

.ctrl-toggle input:checked + .ctrl-toggle-track[b-ug1xn5zhaj] {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.ctrl-toggle input:checked + .ctrl-toggle-track[b-ug1xn5zhaj]::after {
    transform: translateX(16px);
    background: #fff;
}

.ctrl-toggle:has(input:checked)[b-ug1xn5zhaj] {
    border-color: rgba(79, 110, 247, .4);
    background: #111629;
}

.ctrl-label[b-ug1xn5zhaj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .82rem;
    color: #d4d8e8;
    font-family: var(--font-mono);
}

.ctrl-label em[b-ug1xn5zhaj] {
    font-style: normal;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: .71rem;
    color: var(--c-text-sidebar-muted);
}

.ctrl-disabled[b-ug1xn5zhaj] {
    opacity: .35;
    pointer-events: none;
}

/* ── Radios ── */
.ctrl-radios[b-ug1xn5zhaj] { display: flex; flex-direction: column; gap: 6px; }

.ctrl-radio[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--c-text-sidebar);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-sidebar-border);
    background: #23263200;
    transition: background .15s, border-color .15s;
}

.ctrl-radio:hover[b-ug1xn5zhaj] {
    background: #2a2d3e;
    border-color: #4a5070;
}

.ctrl-radio input[type="radio"][b-ug1xn5zhaj] { display: none; }

.ctrl-radio-dot[b-ug1xn5zhaj] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #4a5068;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s;
}

.ctrl-radio-dot[b-ug1xn5zhaj]::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-accent);
    opacity: 0;
    transform: scale(0);
    transition: opacity .15s, transform .15s;
}

.ctrl-radio input:checked ~ .ctrl-radio-dot[b-ug1xn5zhaj] {
    border-color: var(--c-accent);
}

.ctrl-radio input:checked ~ .ctrl-radio-dot[b-ug1xn5zhaj]::after {
    opacity: 1;
    transform: scale(1);
}

.ctrl-radio input:checked ~ span:last-child[b-ug1xn5zhaj] {
    color: #e2e6f3;
}

.ctrl-radio:has(input:checked)[b-ug1xn5zhaj] {
    background: #1d2240;
    border-color: var(--c-accent);
}

/* ── Checklist désactivation ── */
.ctrl-checklist[b-ug1xn5zhaj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.ctrl-check[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--c-text-sidebar);
}

.ctrl-check input[type="checkbox"][b-ug1xn5zhaj] {
    accent-color: #ef4444;
    width: 13px;
    height: 13px;
}

/* ── Select ── */
.ctrl-select[b-ug1xn5zhaj] {
    width: 100%;
    background: #0a0b10;
    border: 1.5px solid #4a5068;
    border-radius: var(--radius-sm);
    color: #e2e6f3;
    padding: 8px 32px 8px 10px;
    font-size: .82rem;
    font-family: var(--font-mono);
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238892b0'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    transition: border-color .15s, box-shadow .15s;
}

.ctrl-select:hover[b-ug1xn5zhaj] {
    border-color: #6b7aaa;
}

.ctrl-select:focus[b-ug1xn5zhaj] {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 2px rgba(79, 110, 247, .2);
}

.ctrl-select option[b-ug1xn5zhaj] {
    background: #0e1018;
    color: #e2e6f3;
}

/* ── Boutons actions ── */
.ctrl-actions[b-ug1xn5zhaj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: .76rem;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
    font-weight: 500;
    white-space: nowrap;
}

.btn:active:not(:disabled)[b-ug1xn5zhaj] { transform: scale(.97); }

.btn svg[b-ug1xn5zhaj] { width: 14px; height: 14px; flex-shrink: 0; }

.btn-outline[b-ug1xn5zhaj] {
    background: #0a0b10;
    color: #c8d0e8;
    border: 1.5px solid #4a5068;
}

.btn-outline:hover:not(:disabled)[b-ug1xn5zhaj] {
    background: #111629;
    border-color: var(--c-accent);
    color: #e8ecff;
}

.btn-outline:disabled[b-ug1xn5zhaj] {
    opacity: .3;
    cursor: not-allowed;
}

.btn-ghost[b-ug1xn5zhaj] {
    background: transparent;
    color: #6b7a9a;
    border: 1.5px dashed #3a3d50;
}

.btn-ghost:hover[b-ug1xn5zhaj] {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, .08);
}

.btn-reset[b-ug1xn5zhaj] {
    margin: 12px 20px 20px;
    width: calc(100% - 40px);
}

/* ════════════════════════════════════════════════════
   Zone principale
   ════════════════════════════════════════════════════ */
.demo-main[b-ug1xn5zhaj] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Panel arbre ── */
.tree-panel[b-ug1xn5zhaj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 20px 20px 0;
    background: var(--c-surface);
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
}

.tree-panel-header[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    background: #fafbff;
    border-radius: var(--radius) var(--radius) 0 0;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-label[b-ug1xn5zhaj] {
    font-size: .73rem;
    font-family: var(--font-mono);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.panel-badges[b-ug1xn5zhaj] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.badge[b-ug1xn5zhaj] {
    font-size: .68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .03em;
}

.badge-blue[b-ug1xn5zhaj]   { background: var(--badge-blue-bg);   color: var(--badge-blue); }
.badge-purple[b-ug1xn5zhaj] { background: var(--badge-purple-bg); color: var(--badge-purple); }
.badge-green[b-ug1xn5zhaj]  { background: var(--badge-green-bg);  color: var(--badge-green); }
.badge-orange[b-ug1xn5zhaj] { background: var(--badge-orange-bg); color: var(--badge-orange); }
.badge-red[b-ug1xn5zhaj]    { background: var(--badge-red-bg);    color: var(--badge-red); }

.tree-panel-body[b-ug1xn5zhaj] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* ── Contenu de chaque nœud de démo ── */
.demo-node-content[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.node-icon[b-ug1xn5zhaj] { font-size: .95rem; line-height: 1; }

.node-name[b-ug1xn5zhaj] {
    font-size: .85rem;
    color: var(--c-text);
}

.node-tag[b-ug1xn5zhaj] {
    font-size: .68rem;
    font-family: var(--font-mono);
    background: #eef2ff;
    color: var(--c-accent);
    border: 1px solid #c7d2fe;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════
   Barre d'état
   ════════════════════════════════════════════════════ */
.status-bar[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--c-status-bg);
    padding: 10px 20px;
    margin: 12px 20px;
    border-radius: var(--radius);
    border: 1px solid #2e3040;
    flex-wrap: wrap;
    gap: 8px;
}

.status-item[b-ug1xn5zhaj] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.status-key[b-ug1xn5zhaj] {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--c-status-key);
    white-space: nowrap;
    flex-shrink: 0;
}

.status-value[b-ug1xn5zhaj] {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--c-status-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-null[b-ug1xn5zhaj] { color: #4a5068; font-style: italic; }

.status-count[b-ug1xn5zhaj] {
    color: var(--c-accent);
    font-weight: 600;
    white-space: nowrap;
}

.status-divider[b-ug1xn5zhaj] {
    width: 1px;
    height: 20px;
    background: #2e3040;
    flex-shrink: 0;
    margin: 0 4px;
}
