/* ================================================================
   Momentuum Tax Wizard – Site Styles
   Bootstrap 5.3 base + wizard-specific overrides
   ================================================================ */

/* ── Typography ────────────────────────────────────────────────── */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
}

/* ── Wizard Header ─────────────────────────────────────────────── */
.wizard-header {
    border-bottom: 3px solid #0d6efd;
}

/* ── Progress Bar ──────────────────────────────────────────────── */
.wizard-progress {
    padding: 0;
}

/* Desktop step circles */
.wizard-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-active {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.step-done {
    background-color: #198754;
    color: #fff;
}

/* Clickable completed step */
.step-clickable {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.step-nav-link:hover .step-clickable {
    background-color: #146c43;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.25);
}

.step-nav-link:hover .wizard-step-label {
    text-decoration: underline;
}

.step-nav-link:focus-visible {
    outline: 2px solid #198754;
    outline-offset: 3px;
    border-radius: 4px;
}

.step-pending {
    background-color: #e9ecef;
    color: #6c757d;
}

.wizard-step-label {
    font-size: 0.78rem;
    margin-left: 6px;
    white-space: nowrap;
}

.wizard-connector {
    height: 2px;
    width: 40px;
    background-color: #dee2e6;
    margin: 0 8px;
    flex-shrink: 0;
}

.connector-done {
    background-color: #198754;
}

/* ── Step Icon ─────────────────────────────────────────────────── */
.step-icon-bg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Form Controls ─────────────────────────────────────────────── */
.form-control,
.form-select {
    border-radius: 8px;
    border-color: #dee2e6;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-control-lg {
    font-size: 1rem;
    padding: 0.6rem 1rem;
}

/* ── Marital Status Buttons ────────────────────────────────────── */
.marital-btn {
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ── Yes/No Toggle Buttons ─────────────────────────────────────── */
.yn-btn {
    min-width: 80px;
    border-radius: 20px;
    font-weight: 500;
}

.yes-no-question {
    padding: 1rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

/* ── Card ──────────────────────────────────────────────────────── */
.card {
    border-radius: 16px;
}

/* ── Expandable Sections ───────────────────────────────────────── */
.section-details {
    margin-top: 0.75rem;
    transition: all 0.2s ease;
}

/* ── Review Page ───────────────────────────────────────────────── */
.review-row {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.review-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.review-value {
    font-size: 0.95rem;
    color: #212529;
    margin-top: 2px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-lg {
    border-radius: 10px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

/* ── Alerts ────────────────────────────────────────────────────── */
.alert {
    border-radius: 12px;
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
    font-size: 0.8rem;
}

/* ── Responsive tweaks ─────────────────────────────────────────── */
@media (max-width: 576px) {
    .card-body {
        padding: 1.5rem !important;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}
