/* /Components/Pages/AgentCoding.razor.rz.scp.css */
/* ═══ Dispatch Drawer (slide-out from right) ═══ */
.dispatch-drawer-overlay[b-yu41s09huv] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.dispatch-drawer-overlay.open[b-yu41s09huv] {
    display: block;
}

.dispatch-drawer[b-yu41s09huv] {
    position: fixed;
    top: 0;
    right: -480px;
    width: 460px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 1000;
    overflow-y: auto;
    padding: 16px;
    transition: right 0.25s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}

.dispatch-drawer.open[b-yu41s09huv] {
    right: 0;
}

/* ═══ Drawer Issue Items ═══ */
.drawer-issue-item[b-yu41s09huv] {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.1s, border-color 0.1s;
}

.drawer-issue-item:hover[b-yu41s09huv] {
    background: var(--surface-alt);
}

.drawer-issue-selected[b-yu41s09huv] {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.08);
}

.drawer-issue-dispatched[b-yu41s09huv] {
    cursor: not-allowed;
}

.drawer-issue-header[b-yu41s09huv] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.drawer-issue-number[b-yu41s09huv] {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
}

.drawer-issue-title[b-yu41s09huv] {
    font-size: 0.82rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-issue-labels[b-yu41s09huv] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.drawer-issue-blocked[b-yu41s09huv] {
    border-color: var(--danger, #ef4444);
    opacity: 0.7;
}

.drawer-badge-blocked[b-yu41s09huv] {
    background: var(--danger, #ef4444);
    color: white;
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.drawer-badge-ready[b-yu41s09huv] {
    background: var(--success, #22c55e);
    color: white;
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 3px;
}

/* ═══ Toggle Switch ═══ */
.toggle-switch[b-yu41s09huv] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}

.toggle-switch input[b-yu41s09huv] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-yu41s09huv] {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--surface-alt);
    border-radius: 20px;
    transition: background 0.2s;
}

.toggle-slider[b-yu41s09huv]::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-yu41s09huv] {
    background: var(--success);
}

.toggle-switch input:checked + .toggle-slider[b-yu41s09huv]::before {
    transform: translateX(16px);
}

/* ═══ Manual Dispatch Select ═══ */
.dispatch-template-select[b-yu41s09huv] {
    max-width: 300px;
}

/* ═══ Dispatch Drawer Tabs ═══ */
.dispatch-drawer-tabs[b-yu41s09huv] {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin: -16px -16px 0 -16px;
    padding: 0 16px;
}

.dispatch-drawer-tab[b-yu41s09huv] {
    padding: 10px 14px;
    font-size: 0.82rem;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.dispatch-drawer-tab:hover:not(.active)[b-yu41s09huv] {
    color: var(--text);
}

.dispatch-drawer-tab.active[b-yu41s09huv] {
    color: var(--accent);
    border-bottom-color: var(--accent);
    cursor: default;
}

/* ═══ Stop Loop animated spinner (issue #2369) ═══ */
.loop-stop-spinner[b-yu41s09huv] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: loop-spin-b-yu41s09huv 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes loop-spin-b-yu41s09huv {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/ConfigImportExportSection.razor.rz.scp.css */
/* The section card, h2 and description come from the shared .settings-section styles (app.css).
   Colours use the cockpit theme tokens only, so the section works in both light and dark themes. */

.import-export-actions[b-af1b95gyi5] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
}

.action-card[b-af1b95gyi5] {
    background: var(--subtle-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.action-card h3[b-af1b95gyi5] {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.action-card p[b-af1b95gyi5] {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.action-card .btn[b-af1b95gyi5] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, opacity 0.15s;
}

.action-card .btn-primary[b-af1b95gyi5] {
    background: var(--accent-fill);
    color: #fff;
}

.action-card .btn-primary:hover:not(:disabled)[b-af1b95gyi5] {
    background: var(--accent-fill-hover);
}

.action-card .btn-secondary[b-af1b95gyi5] {
    background: var(--surface);
    color: var(--text);
    border-color: var(--ctl-border);
}

.action-card .btn-secondary:hover:not(:disabled)[b-af1b95gyi5] {
    background: var(--bg-hover);
}

.action-card .btn:disabled[b-af1b95gyi5] {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-card[b-af1b95gyi5]  input[type="file"] {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-message[b-af1b95gyi5] {
    margin-top: 1rem;
    max-width: 640px;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.result-message.success[b-af1b95gyi5] {
    background: var(--success-bg);
    border: 1px solid var(--success);
    color: var(--success);
}

.result-message.error[b-af1b95gyi5] {
    background: var(--error-bg);
    border: 1px solid var(--error);
    color: var(--error);
}

/* currentColor keeps the spinner visible on both the filled and the outlined button. */
.spinner-sm[b-af1b95gyi5] {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-b-af1b95gyi5 0.6s linear infinite;
}

@keyframes spin-b-af1b95gyi5 {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/OnboardingChecklist.razor.rz.scp.css */
.onboarding-checklist[b-9tnnrevczd] {
    margin: 0;
    padding: 16px 20px;
    background: var(--surface-alt, #1e1e2e);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent, #7c3aed);
}

.onboarding-header[b-9tnnrevczd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onboarding-header h2[b-9tnnrevczd] {
    margin: 0;
    font-size: 1rem;
}

.onboarding-dismiss[b-9tnnrevczd] {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: var(--radius);
}

.onboarding-dismiss:hover[b-9tnnrevczd] {
    background: var(--bg-hover);
    color: var(--text);
}

.onboarding-description[b-9tnnrevczd] {
    margin: 6px 0 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.onboarding-progress[b-9tnnrevczd] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.progress-bar[b-9tnnrevczd] {
    flex: 1;
    height: 6px;
    background: var(--border, #333);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill[b-9tnnrevczd] {
    height: 100%;
    background: var(--accent, #7c3aed);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text[b-9tnnrevczd] {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.onboarding-steps[b-9tnnrevczd] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.onboarding-steps li[b-9tnnrevczd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
}

.onboarding-steps li.step-complete[b-9tnnrevczd] {
    color: var(--text-muted);
}

.onboarding-steps li.step-complete a[b-9tnnrevczd] {
    text-decoration: line-through;
    color: var(--text-muted);
}

.onboarding-steps li.step-current[b-9tnnrevczd] {
    font-weight: 500;
}

.onboarding-steps li.step-current a[b-9tnnrevczd] {
    color: var(--text, #fff);
}

.onboarding-steps a[b-9tnnrevczd] {
    color: var(--accent-light, #a78bfa);
    text-decoration: none;
}

.onboarding-steps a:hover[b-9tnnrevczd] {
    text-decoration: underline;
}

[b-9tnnrevczd] .step-check-done {
    color: var(--success, #22c55e);
    flex-shrink: 0;
}

[b-9tnnrevczd] .step-check-pending {
    color: var(--text-muted, #6b7280);
    flex-shrink: 0;
}

.step-text[b-9tnnrevczd] {
    color: var(--text);
}
/* /Components/Pages/QualityGateConfigSection.razor.rz.scp.css */
.toggle-switch[b-lk6si3b9iw] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}

.toggle-switch input[b-lk6si3b9iw] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-lk6si3b9iw] {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--surface-alt);
    border-radius: 20px;
    transition: background 0.2s;
}

.toggle-slider[b-lk6si3b9iw]::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-lk6si3b9iw] {
    background: var(--success);
}

.toggle-switch input:checked + .toggle-slider[b-lk6si3b9iw]::before {
    transform: translateX(16px);
}

.form-toggle label[b-lk6si3b9iw] {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* /Components/Pages/ReviewerConfigSection.razor.rz.scp.css */
/* ═══ Toggle Switch ═══ */
.toggle-switch[b-5p1v29fvsr] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}

.toggle-switch input[b-5p1v29fvsr] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-5p1v29fvsr] {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--surface-alt);
    border-radius: 20px;
    transition: background 0.2s;
}

.toggle-slider[b-5p1v29fvsr]::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-5p1v29fvsr] {
    background: var(--success);
}

.toggle-switch input:checked + .toggle-slider[b-5p1v29fvsr]::before {
    transform: translateX(16px);
}

.form-toggle label[b-5p1v29fvsr] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* One reviewer agent inside the reviewer config form. */
.reviewer-agent-card[b-5p1v29fvsr] {
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
