/* DCA Model Gateway portal: first-run clarity on top of the Accelerator's Bootstrap 5 theme (identity overlay). */
.dca-page { padding-top: 1rem; }
.dca-title { font-family: 'Segoe UI', 'Lato', sans-serif; font-weight: 600; font-size: 1.6rem; margin: 0.75rem 0 1rem; }
.dca-card { border: 1px solid #dde3ea; border-radius: 8px; box-shadow: none; }
.dca-card .card-title { font-size: 1rem; font-weight: 600; color: #004578; margin-bottom: 0.5rem; }
.dca-plan { font-size: 1.15rem; }
.dca-status { font-weight: 500; vertical-align: middle; margin-left: 0.4rem; }
.dca-next { background: #f4f8fb; }
.dca-next-list { padding-left: 1.2rem; }
.dca-next-list li { margin-bottom: 0.4rem; }
.dca-details summary { cursor: pointer; color: #004578; font-size: 0.9rem; }
.dca-actions .btn-primary { background-color: #004578; border-color: #004578; }
.dca-actions .btn-primary:hover, .dca-actions .btn-primary:focus { background-color: #2180a6; border-color: #2180a6; }
.dca-actions .btn.disabled { opacity: 0.7; }

/* progress strip */
.dca-progress { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; font-size: 0.9rem; color: #6c757d; }
.dca-progress li { display: flex; align-items: center; gap: 0.4rem; }
.dca-progress .num { display: inline-flex; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid #adb5bd; align-items: center; justify-content: center; font-size: 0.8rem; }
.dca-progress li.done { color: #198754; }
.dca-progress li.done .num { background: #198754; border-color: #198754; color: #fff; }
.dca-progress li.current { color: #004578; font-weight: 600; }
.dca-progress li.current .num { background: #004578; border-color: #004578; color: #fff; }

/* step headings on the Connect page read as numbered bands */
.dca-steps h4.mt-4 { background: #f4f8fb; border-left: 4px solid #004578; padding: 0.5rem 0.75rem; font-size: 1.1rem; border-radius: 4px; }
.dca-steps pre { position: relative; border: 1px solid #dde3ea; border-radius: 6px; padding-right: 4.5rem; }
.dca-copy { position: absolute; top: 0.35rem; right: 0.35rem; font-size: 0.75rem; }

/* GW-FA-004/005 (Model A review): keyboard focus is visible everywhere; hover must not change text size or drop contrast */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid #ffbf47; outline-offset: 0; box-shadow: 0 0 0 6px #0b0c0c;
}
.cm-button-error:hover, .cm-button-success:hover, .cm-button-danger:hover { font-size: 16px; }
.cm-button-default:disabled, .cm-button-default[aria-busy="true"], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.cm-section-heading { display: inline-block; }

/* numbered step badges on the Connect page (GW-FA-017) */
.dca-step-num { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #004578; color: #fff; align-items: center; justify-content: center; font-size: 0.9rem; margin-right: 0.5rem; vertical-align: middle; }
.dca-steps h4.dca-step-h { display: flex; align-items: center; }

@media (max-width: 575.98px) {
    .cm-button-default, .cm-button-danger, .cm-button-success, .dca-actions .btn { display: block; width: 100%; }
    .dca-progress { font-size: 0.8rem; }
}
