/* =============================================================
   ONBOARDING PAGE — Minimalist Design System (Self-hosted fonts)
   Complements main.css for the carrier onboarding form
   ============================================================= */

/* Self-hosted fonts */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-var-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dancing Script';
    src: url('fonts/dancing-script-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== Hero ===== */
.ob-hero {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(150deg, var(--navy) 0%, #0A1628 60%, #0D1F38 100%);
    overflow: hidden;
    text-align: center;
}

.ob-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.ob-hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.ob-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.ob-hero-title .highlight {
    background: linear-gradient(135deg, var(--orange), #FF7A3D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ob-hero-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* ===== Progress Bar — STICKY below navbar ===== */
.ob-progress {
    position: sticky;
    top: 60px;
    z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ob-progress-inner {
    padding: 0.875rem 0;
}

.ob-progress-track {
    height: 3px;
    background: var(--gray-100);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ob-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #FF7A3D);
    border-radius: 100px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ob-steps {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
}

.ob-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 200ms ease;
    font-family: var(--font);
    white-space: nowrap;
}

.ob-step:hover {
    background: var(--gray-50);
}

.ob-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--gray-100);
    color: var(--gray-400);
    transition: all 200ms ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.ob-step-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: color 200ms ease;
}

.ob-step.active .ob-step-num {
    background: var(--orange);
    color: #fff;
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.1);
}

.ob-step.active .ob-step-label {
    color: var(--navy);
    font-weight: 600;
}

.ob-step.completed .ob-step-num {
    background: #10B981;
    color: #fff;
    border-color: rgba(16, 185, 129, 0.2);
}

.ob-step.completed .ob-step-label {
    color: var(--gray-400);
}

/* ===== Form Wrapper ===== */
.ob-form-wrap {
    padding: 3rem 0 4rem;
    background: var(--off-white);
}

.ob-form-wrap .container {
    max-width: 800px;
}

/* ===== Card Sections ===== */
.ob-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: box-shadow 250ms ease, border-color 250ms ease;
    animation: cardSlideIn 0.4s ease both;
}

.ob-card:nth-child(1) { animation-delay: 0.05s; }
.ob-card:nth-child(2) { animation-delay: 0.10s; }
.ob-card:nth-child(3) { animation-delay: 0.15s; }
.ob-card:nth-child(4) { animation-delay: 0.20s; }
.ob-card:nth-child(5) { animation-delay: 0.25s; }
.ob-card:nth-child(6) { animation-delay: 0.30s; }

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

.ob-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ob-card:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15, 27, 45, 0.06), 0 8px 24px rgba(0,0,0,0.06);
}

/* Card Header */
.ob-card-header {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--gray-100);
}

.ob-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--gray-50);
    border-radius: var(--r-md);
    flex-shrink: 0;
    border: 2px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Distinct Section Colors to anchor user's visual position */
#section-basic .ob-card-icon { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
#section-fleet .ob-card-icon { background: #ffedd5; border-color: #fed7aa; color: #c2410c; }
#section-cargo .ob-card-icon { background: #fef08a; border-color: #fde047; color: #a16207; }
#section-paperwork .ob-card-icon { background: #f3e8ff; border-color: #e9d5ff; color: #7e22ce; }
#section-factoring .ob-card-icon { background: #fce7f3; border-color: #fbcfe8; color: #be185d; }
#section-review .ob-card-icon { background: #dcfce7; border-color: #bbf7d0; color: #15803d; }

.ob-card-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ob-card-sub {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ===== Form Fields ===== */
.ob-field {
    margin-bottom: 1.5rem;
}

.ob-field:last-child {
    margin-bottom: 0;
}

.ob-field > label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.625rem;
}

.req {
    color: var(--error);
    font-weight: 900;
    font-size: 1.1em;
    margin-left: 0.125rem;
}

.ob-optional {
    font-weight: 500;
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

/* Inputs — DARKER BORDERS & ENLARGED */
.ob-input,
.ob-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--font);
    color: var(--navy);
    background: #fff;
    border: 2px solid var(--gray-300);
    border-radius: var(--r-sm);
    outline: none;
    transition: all 150ms ease;
}

.ob-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.ob-input:hover,
.ob-select:hover {
    border-color: var(--gray-400);
    background: var(--off-white);
}

.ob-input:focus,
.ob-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: #fff;
}

.ob-input.error,
.ob-select.error {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Select */
.ob-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Hint */
.ob-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-300);
    margin-top: 0.375rem;
}

/* Error */
.ob-error {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--error);
    margin-top: 0.5rem;
    display: none;
}

.ob-error.visible {
    display: block;
    animation: fieldShake 0.3s ease;
}

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

/* ===== Grid Layouts ===== */
.ob-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ob-grid-2:last-child {
    margin-bottom: 0;
}

.ob-grid-2 .ob-field {
    margin-bottom: 0;
}

.ob-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.ob-grid-3 .ob-field {
    margin-bottom: 0;
}

/* ===== Radio / Checkbox — Darker borders ===== */
.ob-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ob-radio-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ob-radio-item {
    position: relative;
}

.ob-radio-item input[type="radio"],
.ob-radio-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ob-radio-item label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    min-height: 48px;
    border: 2px solid var(--gray-300);
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    transition: all 150ms ease;
    user-select: none;
}

.ob-radio-item label:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: #fff;
    transition: all 150ms ease;
}

.ob-radio-item input:checked + label:before {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: inset 0 0 0 4px #fff;
}

.ob-radio-item input:focus-visible + label {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ob-radio-item label:hover {
    border-color: var(--gray-400);
    background: var(--off-white);
}

.ob-radio-item input:checked + label {
    border-color: var(--blue);
    background: #eff6ff;
    color: var(--navy);
}

/* ===== Pill Checkboxes (Truck Types) — Darker borders ===== */
.ob-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ob-pill {
    position: relative;
}

.ob-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ob-pill label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    min-height: 48px;
    border: 2px solid var(--gray-300);
    border-radius: var(--r-full);
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    transition: all 150ms ease;
    user-select: none;
}

.ob-pill label:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--gray-300);
    background: #fff;
    transition: all 150ms ease;
}

.ob-pill input:checked + label:before {
    border-color: var(--blue);
    background: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.ob-pill input:focus-visible + label {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ob-pill label:hover {
    border-color: var(--gray-400);
    background: var(--off-white);
}

.ob-pill input:checked + label {
    border-color: var(--blue);
    background: #eff6ff;
    color: var(--navy);
}

/* ===== File Upload — Very Clear Borders ===== */
.ob-upload {
    position: relative;
    border: 3px dashed var(--gray-300);
    border-radius: var(--r-sm);
    padding: 2.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 200ms ease;
    background: var(--off-white);
}

.ob-upload:hover {
    border-color: var(--navy);
    background: #fff;
}

.ob-upload.dragging {
    border-color: var(--blue);
    background: #eff6ff;
}

.ob-upload.has-file {
    border-color: #10B981;
    border-style: solid;
    background: #f0fdf4;
}

.ob-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.ob-upload input[type="file"]:focus-visible + .ob-upload-content {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 8px;
    border-radius: 4px;
}

.ob-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ob-upload-icon {
    font-size: 1.5rem;
}

.ob-upload-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.ob-upload-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.ob-upload-name {
    display: none;
    font-size: 0.875rem;
    color: #10B981;
    font-weight: 600;
    margin-top: 0.25rem;
}

.ob-upload.has-file .ob-upload-name {
    display: block;
}

.ob-upload.has-file .ob-upload-text,
.ob-upload.has-file .ob-upload-hint {
    display: none;
}

/* ===== Agreements — Accessible & Large ===== */
.ob-agreement {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-radius: var(--r-sm);
    border: 2px solid var(--gray-300);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 150ms ease;
    background: #fff;
}

.ob-agreement:hover {
    border-color: var(--gray-400);
    background: var(--off-white);
}

.ob-agreement input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    accent-color: var(--blue);
    cursor: pointer;
    flex-shrink: 0;
}

.ob-agreement input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

.ob-agreement label {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
}

.ob-agreement label strong {
    color: var(--blue);
    font-weight: 700;
}

/* ===== Signature ===== */
.ob-sig {
    border: 2px solid var(--gray-200);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
}

.ob-sig-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-200);
}

.ob-sig-modes {
    display: flex;
    gap: 0.25rem;
}

.ob-sig-btn {
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    border-radius: var(--r-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 150ms ease;
    font-family: var(--font);
}

.ob-sig-btn:hover {
    border-color: var(--gray-300);
}

.ob-sig-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.ob-sig-clear {
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    border-radius: var(--r-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--error);
    cursor: pointer;
    transition: all 150ms ease;
    font-family: var(--font);
}

.ob-sig-clear:hover {
    background: #fef2f2;
    border-color: var(--error);
}

#signatureCanvas {
    display: block;
    width: 100%;
    height: 140px;
    cursor: crosshair;
    touch-action: none;
}

#signatureTypeInput {
    display: none;
    width: 100%;
    padding: 1rem;
    border: none;
    outline: none;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    text-align: center;
    color: var(--navy);
    height: 140px;
}

/* ===== Submit ===== */
.ob-submit {
    text-align: center;
    padding-top: 1.5rem;
}

.ob-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 360px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #FF6B2C);
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 250ms ease;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.25);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.ob-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.ob-submit-btn:hover::before {
    left: 100%;
}

.ob-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.3);
}

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

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

.ob-submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.ob-submit-btn.loading .spinner {
    display: block;
}

.ob-submit-btn.loading .btn-text {
    display: none;
}

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

.ob-submit-note {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    color: var(--gray-300);
}

/* ===== Modal ===== */
.ob-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.ob-modal-overlay.show {
    display: flex;
}

.ob-modal {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ob-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    animation: pop 0.5s ease 0.2s both;
}

.ob-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.ob-modal p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.ob-modal-btn {
    padding: 0.75rem 2rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    font-family: var(--font);
}

.ob-modal-btn:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pop {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== Toasts ===== */
.ob-toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    border-radius: var(--r-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 400px;
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.875rem;
    font-weight: 500;
}

.toast.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.toast.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.toast-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.4;
    transition: opacity 150ms ease;
    color: inherit;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== content-visibility for off-screen sections ===== */
.ob-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ob-hero {
        padding: 8rem 0 3.5rem;
    }

    .ob-hero-title {
        font-size: 2rem;
    }

    .ob-hero-desc {
        font-size: 1rem;
    }

    .ob-steps {
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ob-steps::-webkit-scrollbar {
        display: none;
    }

    .ob-step-label {
        display: none;
    }

    .ob-step {
        padding: 0.375rem;
    }

    .ob-form-wrap {
        padding: 1.5rem 0 3rem;
    }

    .ob-card {
        padding: 1.75rem 1.25rem;
        border-radius: var(--r-md);
    }

    .ob-grid-2 {
        grid-template-columns: 1fr;
    }

    .ob-grid-3 {
        grid-template-columns: 1fr;
    }

    .ob-radio-row {
        flex-direction: column;
    }

    .toast {
        min-width: auto;
        max-width: calc(100vw - 2rem);
    }
}

@media (max-width: 480px) {
    .ob-hero {
        padding: 7rem 0 2.5rem;
    }

    .ob-card {
        padding: 1.5rem 1rem;
    }

    .ob-card-header {
        gap: 0.625rem;
    }

    .ob-card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .ob-card-title {
        font-size: 1.125rem;
    }

    .ob-pill-group {
        gap: 0.375rem;
    }

    .ob-submit-btn {
        width: 100%;
        max-width: none;
    }
}
