﻿/* ============================================
   DoorDash Hidden Fees Consumer Settlement
   Mobile-First Professional Stylesheet
   ============================================ */

/* â”€â”€ Reset & Base â”€â”€ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #eaebed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* â”€â”€ Container â”€â”€ */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
}

/* â”€â”€ Header â”€â”€ */
.header {
    background: #fff;
    color: #333;
    padding: 0;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.header-red-bar {
    height: 4px;
    background: #e8112d;
}

.header-inner {
    padding: 18px 24px 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.canada-flag {
    flex-shrink: 0;
    width: 48px;
    height: auto;
}

.header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #333;
}

.header-subtitle {
    font-size: 0.76rem;
    color: #6f6f6f;
    margin-top: 2px;
    font-weight: 400;
}

.gc-wordmark {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px 12px;
    border-top: 1px solid #eee;
    font-size: 0.68rem;
    color: #999;
    letter-spacing: 0.02em;
}

.gc-wordmark .gc-flag-sm {
    width: 22px;
    height: auto;
    opacity: 0.5;
}

/* â”€â”€ Progress Bar â”€â”€ */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
}

.progress-step span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #999;
    white-space: nowrap;
}

.progress-step.active span,
.progress-step.completed span {
    color: #af3c43;
    font-weight: 600;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: #e8e8e8;
    color: #999;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #af3c43;
    color: #fff;
    box-shadow: 0 2px 8px rgba(175, 60, 67, 0.35);
}

.progress-step.completed .step-circle {
    background: #2e7d32;
    color: #fff;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 6px;
    border-radius: 2px;
    margin-bottom: 22px;
}

.progress-line.filled {
    background: #2e7d32;
}

/* â”€â”€ Info Card â”€â”€ */
.info-card {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-left: 4px solid #26374a;
}

.info-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.info-card p {
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.7;
}

.info-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    padding: 14px 16px;
    margin-top: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #2e7d32;
    line-height: 1.5;
}

.info-highlight .info-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* â”€â”€ FAQ Section â”€â”€ */
.faq-section {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.faq-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    border-color: #ccc;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #888;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: #af3c43;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 16px 16px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

/* â”€â”€ Form Section â”€â”€ */
.form-section {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}

.form-description {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.required {
    color: #af3c43;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #af3c43;
    box-shadow: 0 0 0 3px rgba(175, 60, 67, 0.1);
    background: #fff;
}

.form-group input::placeholder {
    color: #aaa;
}

.input-error {
    border-color: #c42929 !important;
    background: #fff5f5 !important;
}

.field-error {
    display: block;
    font-size: 0.78rem;
    color: #c42929;
    margin-top: 4px;
    font-weight: 500;
}

.error-banner {
    background: #fef0f0;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #c42929;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #842029;
}

.error-banner strong {
    display: block;
    margin-bottom: 6px;
}

.error-banner ul {
    margin: 0;
    padding-left: 18px;
}

.error-banner li {
    margin-bottom: 2px;
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #26374a;
    color: #fff;
    width: 100%;
    box-shadow: 0 2px 6px rgba(38, 55, 74, 0.2);
}

.btn-primary:hover {
    background: #1c2b3a;
    box-shadow: 0 4px 12px rgba(38, 55, 74, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f0f0f0;
    color: #444;
    padding: 14px 20px;
}

.btn-secondary:hover {
    background: #e4e4e4;
}

.btn-full {
    width: 100%;
}

/* ── Rebate Amount Banner ── */
.rebate-amount-banner {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #2e7d32;
    border-radius: 4px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 8px;
    text-align: center;
}

.rebate-amount-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rebate-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rebate-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1.2;
}

.rebate-note {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}

.rebate-info-bar {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    padding: 10px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #2e7d32;
}

.rebate-info-bar .rebate-bar-amount {
    font-weight: 700;
    font-size: 1.05rem;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.form-actions .btn-primary {
    flex: 1;
}

/* â”€â”€ Credit Card Preview â”€â”€ */
.card-preview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    aspect-ratio: 1.6 / 1;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-preview-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-chip {
    width: 40px;
    height: 28px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 6px;
}

.card-number-preview {
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    margin: 12px 0;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* â”€â”€ Loading Overlay â”€â”€ */
.loading-overlay {
    background: #fff;
    border-radius: 4px;
    padding: 40px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-align: center;
}

.loading-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 20px 0 8px;
    color: #333;
}

.loading-content > p {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 28px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #af3c43;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

.loading-steps {
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.88rem;
    color: #888;
    transition: color 0.3s;
}

.loading-step.done {
    color: #2e7d32;
    font-weight: 500;
}

.loading-check {
    font-size: 1rem;
    flex-shrink: 0;
}

/* â”€â”€ Success Page â”€â”€ */
.success-content {
    animation: fadeIn 0.5s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.success-card {
    background: #fff;
    border-radius: 4px;
    padding: 28px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.checkmark-svg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.checkmark-circle {
    stroke: #2e7d32;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: checkStroke 0.6s ease-in-out forwards;
}

.checkmark-check {
    stroke: #2e7d32;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkStroke 0.4s 0.4s ease-in-out forwards;
}

@keyframes checkStroke {
    to { stroke-dashoffset: 0; }
}

.success-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 12px;
}

.success-message {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.6;
}

.confirmation-details {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.confirmation-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 0.85rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.success-highlight {
    text-align: left;
    margin: 20px 0;
}

.success-highlight p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.next-steps h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.next-steps ul {
    padding-left: 18px;
}

.next-steps li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

/* â”€â”€ Footer â”€â”€ */
.footer {
    text-align: center;
    padding: 20px 16px;
    font-size: 0.75rem;
    color: #6f6f6f;
    border-top: 1px solid #ddd;
    margin-top: 8px;
}

.footer-gc-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-gc-bar .gc-flag-sm {
    width: 28px;
    height: auto;
    opacity: 0.6;
}

.footer-note {
    margin-top: 4px;
    font-size: 0.68rem;
    color: #999;
    line-height: 1.5;
}

/* â”€â”€ Responsive: Larger screens â”€â”€ */
@media (min-width: 480px) {
    .container {
        padding: 24px;
    }

    .header-inner {
        padding: 22px 32px 18px;
    }

    .header h1 {
        font-size: 1.25rem;
    }

    .card-number-preview {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .card-number-preview {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .detail-value {
        text-align: left;
    }

    .how-step {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* â”€â”€ Eligibility List (landing page) â”€â”€ */
.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.eligibility-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: #333;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.eligibility-list li:last-child {
    border-bottom: none;
}

.eligibility-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

/* â”€â”€ How It Works â”€â”€ */
.how-it-works {
    margin-top: 12px;
}

.how-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.how-step:last-child {
    border-bottom: none;
}

.how-step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #26374a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.how-step strong {
    display: block;
    font-size: 0.92rem;
    color: #333;
    margin-bottom: 2px;
}

.how-step p {
    font-size: 0.82rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* â”€â”€ CTA Section â”€â”€ */
.cta-section {
    text-align: center;
    margin-bottom: 20px;
}

.btn-large {
    padding: 18px 32px;
    font-size: 1.05rem;
    border-radius: 4px;
}

.cta-note {
    font-size: 0.78rem;
    color: #888;
    margin-top: 10px;
}

/* â”€â”€ Checkbox Cards (Eligibility) â”€â”€ */
.eligibility-checks {
    margin-bottom: 24px;
}

.eligibility-checks h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.checkbox-card:hover {
    border-color: #ccc;
    background: #fafafa;
}

.checkbox-card input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 1px;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-custom {
    background: #2e7d32;
    border-color: #2e7d32;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '\2713';
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-label {
    color: #333;
    font-weight: 600;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    padding-top: 2px;
}

.checkbox-error {
    border-color: #c42929 !important;
    background: #fff5f5 !important;
}

/* â”€â”€ Radio Cards (Loblaw question) â”€â”€ */
.loblaw-section {
    margin-bottom: 24px;
    padding-top: 4px;
}

.loblaw-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}

.radio-group {
    margin-top: 12px;
}

.radio-question {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.radio-card:hover {
    border-color: #ccc;
    background: #fafafa;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.radio-card input[type="radio"]:checked ~ .radio-custom {
    border-color: #26374a;
}

.radio-card input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #26374a;
    border-radius: 50%;
}

.radio-card input[type="radio"]:checked ~ .radio-label {
    font-weight: 600;
    color: #333;
}

.radio-label {
    font-size: 0.9rem;
    color: #444;
}

.radio-error {
    border: 2px solid #c42929;
    border-radius: 6px;
    padding: 4px;
}

/* ── Deadline + Language Top Bar ── */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 10px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    gap: 12px;
}

.deadline-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #af3c43;
}

.deadline-icon {
    font-size: 1rem;
    line-height: 1;
}

.lang-toggle {
    background: none;
    border: 1.5px solid #26374a;
    color: #26374a;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.lang-toggle:hover {
    background: #26374a;
    color: #fff;
}

/* ── Date of Birth Dropdowns ── */
.dob-row {
    display: flex;
    gap: 8px;
}

.dob-row select {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.92rem;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    appearance: auto;
}

.dob-row select:focus {
    border-color: #26374a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38,55,74,0.15);
}

.dob-row select.input-error {
    border-color: #c42929;
}

/* ── Loading Step Spinner (replaces hourglass emoji) ── */
.step-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-top-color: #26374a;
    border-radius: 50%;
    animation: step-spin 0.7s linear infinite;
    vertical-align: middle;
}

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

.loading-step.done .step-spinner {
    display: none;
}

.loading-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    vertical-align: middle;
}

.loading-check svg {
    vertical-align: middle;
}

/* ── SVG icon alignment in info-icon and deadline-icon ── */
.info-icon,
.deadline-icon,
.eligibility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg,
.deadline-icon svg,
.eligibility-icon svg {
    display: block;
}
