/* =============================================
   MULTI-STEP FORM — High conversion
   ============================================= */

/* --- Overlay --- */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Container --- */
.form-container {
    width: 100%;
    max-width: 520px;
    height: 100dvh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- Header (progress + close) --- */
.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 16px;
}

.form-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.form-back:hover { border-color: rgba(0,0,0,0.2); color: var(--text); }
.form-back.hidden { opacity: 0; pointer-events: none; }

.form-progress {
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 100px;
    overflow: hidden;
}

.form-progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.form-close:hover { border-color: rgba(0,0,0,0.2); color: var(--text); }

.form-step-indicator {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

/* --- Steps wrapper --- */
.form-steps {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.form-step {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
    animation: formFadeIn 0.35s ease;
}

.form-step.active {
    display: flex;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Step content --- */
.form-question {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
}

.form-question-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* --- Option cards (steps 1-3) --- */
.form-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.form-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.form-option:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: var(--bg-card-hover);
}

.form-option:active {
    transform: scale(0.97);
}

.form-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.form-option-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.form-option-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

/* --- Input fields (steps 4-5) --- */
.form-fields {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom */
    font-family: var(--font);
    font-weight: 500;
    color: var(--text);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--primary);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: #EF4444;
}

.form-error {
    font-size: 0.75rem;
    color: #F87171;
    min-height: 18px;
}

/* --- Phone field with dial code --- */
.form-phone-row {
    display: flex;
    gap: 8px;
}

.form-dial-code {
    width: 100px;
    padding: 14px 8px;
    font-size: 16px;
    font-family: var(--font);
    font-weight: 500;
    color: var(--text);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-dial-code:focus {
    border-color: var(--primary);
}

.form-phone-input {
    flex: 1;
}

/* --- Submit / Continue buttons --- */
.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-family: var(--font);
    font-weight: 700;
    color: white;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    -webkit-tap-highlight-color: transparent;
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- SMS Code Inputs --- */
.sms-code-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sms-digit {
    width: 48px;
    height: 56px;
    font-size: 24px;
    font-family: var(--font);
    font-weight: 700;
    text-align: center;
    color: var(--text);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.sms-digit:focus {
    border-color: var(--primary);
}

.sms-digit.error {
    border-color: #EF4444;
    animation: shake 0.4s ease;
}

.sms-dash {
    color: var(--text-muted);
    font-size: 1.2rem;
    user-select: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.form-resend {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 0.85rem;
    font-family: var(--font);
    font-weight: 500;
    color: var(--primary-light);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.form-resend:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-resend:not(:disabled):hover {
    text-decoration: underline;
}

/* --- Change phone link (SMS step) --- */
.sms-change-phone {
    display: block;
    width: 100%;
    padding: 8px;
    font-size: 0.82rem;
    font-family: var(--font);
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
    margin-top: -4px;
}

.sms-change-phone:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* --- No-spam hint (email step) --- */
.form-no-spam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -4px;
}

.form-no-spam svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* --- Fake calculating screen --- */
.form-calculating {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
    animation: formFadeIn 0.35s ease;
}

.form-calculating.active {
    display: flex;
}

.calc-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: calcPulse 1.2s ease-in-out infinite;
}

@keyframes calcPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.12); filter: brightness(1.4); }
}

.calc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 28px;
}

.calc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.4s ease;
}

.calc-item::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.calc-item.done {
    color: var(--text);
}

.calc-item.done::before {
    content: '✓';
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-item.current {
    color: var(--text-secondary);
}

.calc-item.current::before {
    border-color: var(--primary);
    animation: calcSpin 0.8s linear infinite;
}

@keyframes calcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.calc-bar-wrap {
    width: 100%;
    max-width: 320px;
    height: 4px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.calc-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #3B82F6);
    border-radius: 99px;
    transition: width 5.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Spinner --- */
.form-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Success screen --- */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-light);
}

.form-success h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 340px;
    line-height: 1.6;
}

/* --- Reassurance under final CTA --- */
.form-reassurance {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.form-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.form-reassurance svg {
    color: var(--success-light);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 640px) {
    .form-container {
        padding: 16px;
        justify-content: flex-start;
        padding-top: 20px;
    }

    .form-question {
        font-size: 1.25rem;
    }

    .form-question-sub {
        font-size: 0.82rem;
        margin-bottom: 24px;
    }

    .form-options {
        gap: 10px;
    }

    .form-option {
        padding: 16px 10px;
    }

    .form-option-label {
        font-size: 0.82rem;
    }

    .form-step.active {
        justify-content: flex-start;
        padding-top: 2vh;
    }
}

@media (max-height: 700px) {
    .form-steps {
        align-items: flex-start;
        padding-top: 4vh;
    }

    .form-question {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .form-question-sub {
        margin-bottom: 20px;
    }

    .form-option {
        padding: 14px 10px;
    }
}

/* =============================================
   RESULTS PAGE
   ============================================= */

.form-step-success {
    overflow-y: auto;
    align-items: flex-start;
    padding: 0;
}

.results-page {
    width: 100%;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header */
.results-header { text-align: center; }

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.1);
    color: #3B82F6;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.results-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px;
}

.results-subtitle {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.45);
    margin: 0;
}

/* Sliders */
.results-slider-block {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 14px 16px;
}

.results-sub-slider {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.results-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.55);
    margin-bottom: 8px;
}

.results-slider-value {
    color: #0F172A;
    font-weight: 700;
    font-size: 0.9rem;
}

.results-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    appearance: none;
    background: linear-gradient(to right, #2563EB var(--pct, 10%), rgba(0,0,0,0.08) var(--pct, 10%));
    outline: none;
    cursor: pointer;
}

.results-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563EB;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(37,99,235,0.4);
}

.results-slider-hints {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.35);
    margin-top: 4px;
}

/* Strategy tabs */
.results-tabs {
    display: flex;
    gap: 6px;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    padding: 4px;
}

.results-tab {
    flex: 1;
    background: none;
    border: none;
    color: rgba(0,0,0,0.5);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 4px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.results-tab.active {
    background: #2563EB;
    color: #fff;
}

/* Panels */
.results-panel { display: none; flex-direction: column; gap: 12px; }
.results-panel.active { display: flex; }

/* Metrics grid */
.results-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.results-metric {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.results-metric.highlight {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.25);
}

.results-metric-label {
    font-size: 0.68rem;
    color: rgba(0,0,0,0.5);
    line-height: 1.3;
}

.results-metric-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
}

.results-metric-value.accent {
    color: #3B82F6;
    font-size: 1.15rem;
}

.results-note {
    font-size: 0.72rem;
    color: rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 2px solid rgba(37,99,235,0.4);
}

/* Payment plans */
.results-payment-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.results-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.payment-tabs {
    display: flex;
    gap: 6px;
}

.payment-tab {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.5);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-tab.active {
    background: rgba(37,99,235,0.15);
    border-color: rgba(37,99,235,0.35);
    color: #2563EB;
}

.payment-panel { display: none; }
.payment-panel.active { display: block; }

.payment-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
}

.payment-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.payment-dot.booking { background: #2563EB; }
.payment-dot.construction { background: #3B82F6; }
.payment-dot.handover { background: #06B6D4; }
.payment-dot.posthandover { background: #10B981; }

.payment-line {
    width: 2px;
    height: 20px;
    background: rgba(0,0,0,0.08);
    margin-left: 5px;
}

.payment-step-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 10px 0;
}

.payment-step-label {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.55);
    flex: 1;
}

.payment-step-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0F172A;
    width: 32px;
    text-align: right;
}

.payment-step-amount {
    font-size: 0.78rem;
    color: #3B82F6;
    font-weight: 600;
    width: 80px;
    text-align: right;
}

/* Advisor CTA */
.results-advisor {
    background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(14,165,233,0.06));
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.results-advisor-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37,99,235,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    flex-shrink: 0;
}

.results-advisor-text {
    flex: 1;
}

.results-advisor-text strong {
    font-size: 0.85rem;
    color: #0F172A;
    display: block;
    margin-bottom: 4px;
}

.results-advisor-text p {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.5);
    margin: 0;
    line-height: 1.4;
}

.results-advisor-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(16,185,129,0.15);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.results-disclaimer {
    font-size: 0.65rem;
    color: rgba(0,0,0,0.3);
    text-align: center;
    margin: 0;
}

/* =============================================
   RESULTS PAGE — Desktop layout
   ============================================= */

@media (min-width: 768px) {

    /* Form container — card style on desktop */
    .form-container:not(:has(.form-step-success.active)) {
        max-width: 500px;
        height: auto;
        min-height: 560px;
        max-height: 92dvh;
        padding: 36px 48px 40px;
        border-radius: 24px;
        background: white;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .form-question {
        font-size: 1.75rem;
    }

    .form-fields {
        max-width: 100%;
    }

    .form-options {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .form-option {
        padding: 22px 16px;
    }

    .form-input {
        padding: 15px 18px;
        font-size: 15px;
    }

    /* Expand container when showing results */
    .form-container:has(.form-step-success.active) {
        max-width: 980px;
        padding: 0;
        position: relative;
    }

    /* Hide form chrome */
    .form-container:has(.form-step-success.active) .form-header,
    .form-container:has(.form-step-success.active) .form-step-indicator {
        display: none;
    }

    /* Success step: absolute fill — bypasses flex centering */
    .form-step-success.active {
        position: absolute;
        inset: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    /* 2-column grid layout */
    .results-page {
        display: grid;
        width: 100%;
        grid-template-columns: 260px 1fr;
        grid-template-rows: auto auto auto 1fr auto auto auto;
        column-gap: 36px;
        row-gap: 0;
        padding: 36px 44px 48px;
        align-items: start;
    }

    .results-header          { grid-column: 1 / -1; margin-bottom: 28px; text-align: left; }
    .results-slider-block    { grid-column: 1; grid-row: 2; margin-bottom: 16px; }
    .results-tabs            { grid-column: 1; grid-row: 3; }
    .results-panel           { grid-column: 2; grid-row: 2 / 5; }
    .results-payment-section { grid-column: 1 / -1; margin-top: 32px; }
    .results-advisor         { grid-column: 1 / -1; }
    .results-disclaimer      { grid-column: 1 / -1; }

    /* Header */
    .results-title { font-size: 1.8rem; }
    .results-subtitle { font-size: 0.85rem; }

    /* Vertical strategy tabs */
    .results-tabs {
        flex-direction: column;
        background: none;
        padding: 0;
        gap: 4px;
    }

    .results-tab {
        text-align: left;
        padding: 11px 16px;
        font-size: 0.82rem;
        border-radius: 10px;
        border: 1px solid transparent;
    }

    .results-tab.active {
        background: rgba(37,99,235,0.1);
        border-color: rgba(37,99,235,0.3);
        color: #2563EB;
    }

    /* Panel */
    .results-panel { gap: 16px; }

    .results-sub-slider {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    /* Bigger metric values */
    .results-metrics { gap: 10px; }
    .results-metric { padding: 16px; }
    .results-metric-value { font-size: 1.25rem; }
    .results-metric-value.accent { font-size: 1.4rem; }

    /* Horizontal payment timeline */
    .payment-timeline {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        padding: 8px 0;
    }

    .payment-step {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        flex: 1;
    }

    .payment-step-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        gap: 4px;
    }

    .payment-step-label { font-size: 0.72rem; }
    .payment-step-pct   { width: auto; font-size: 0.9rem; }
    .payment-step-amount { width: auto; font-size: 0.82rem; }

    .payment-line {
        width: 100%;
        height: 2px;
        margin: 10px 0 0;
        flex: 1;
        align-self: flex-start;
        margin-top: 5px; /* align with dot center */
    }
}
