/* Onboarding Flow Styles (SettlinQ 2.0) — Modern Airbnb Editorial Style */

/* Logo theme switching */
.onboarding-overlay .logo-img-light {
    display: none;
}
body.light-mode .onboarding-overlay .logo-img-dark {
    display: none;
}
body.light-mode .onboarding-overlay .logo-img-light {
    display: block;
}

/* ==========================================================================
   CONTAINER & BACKDROP (DESKTOP DEFAULT)
   ========================================================================== */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7, 11, 20, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.28s ease;
    box-sizing: border-box;
    overscroll-behavior: contain;
}

body.light-mode .onboarding-overlay {
    background: rgba(226, 232, 240, 0.94);
}

.onboarding-overlay.active {
    display: flex;
    opacity: 1;
}

.onboarding-card {
    width: 100%;
    max-width: 412px;
    height: 88vh;
    max-height: 840px;
    background: #0b101b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

body.light-mode .onboarding-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22);
}

/* ==========================================================================
   HEADER: Stepper Dots & Language Switcher
   ========================================================================== */
.onboarding-progress-bar {
    flex-shrink: 0;
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090e18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 50;
    box-sizing: border-box;
}

body.light-mode .onboarding-progress-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.onboarding-progress-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.onboarding-dot {
    height: 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.32);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 8px;
}

.onboarding-dot.active {
    width: 24px;
    background: #1877f2;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
}

.onboarding-lang-btn {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
}

body.light-mode .onboarding-lang-btn {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.25);
}

.onboarding-skip-btn {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.07);
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
}

body.light-mode .onboarding-skip-btn {
    color: #475569;
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
}

.onboarding-skip-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

body.light-mode .onboarding-skip-btn:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.1);
}

/* ==========================================================================
   STEP CONTAINER & AIRBNB EDITORIAL LAYOUT
   ========================================================================== */
.onboarding-step-view {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    display: none !important;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.26s ease, transform 0.26s ease;
}

.onboarding-step-view.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.ob-airbnb-step {
    position: relative;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

/* Upper: Hero Image with Floating Badge */
.ob-airbnb-hero {
    position: relative;
    width: 100%;
    height: 44%;
    min-height: 180px;
    max-height: 380px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

.ob-airbnb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Slide 2 (Marketplace Bicycle): Full-frame bicycle without side or wheel cropping */
#obStep2 .ob-airbnb-hero {
    background: #19212a;
}

#obStep2 .ob-airbnb-img {
    object-fit: contain;
    object-position: center bottom;
}

.ob-airbnb-badge {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 999px;
    background: rgba(11, 16, 27, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

body.light-mode .ob-airbnb-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ob-hero-price-tag {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

body.light-mode .ob-hero-price-tag {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(5, 150, 105, 0.25);
    color: #059669;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ob-airbnb-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(11, 16, 27, 0) 0%, rgba(11, 16, 27, 0.6) 45%, #0b101b 100%);
    pointer-events: none;
    z-index: 5;
}

body.light-mode .ob-airbnb-gradient {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 45%, #ffffff 100%);
}

/* Lower: Editorial Card */
.ob-airbnb-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 14px 22px 10px 22px;
    background: #0b101b;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

body.light-mode .ob-airbnb-content {
    background: #ffffff;
}

.ob-airbnb-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #38bdf8;
    margin-bottom: 4px;
    display: inline-block;
}

body.light-mode .ob-airbnb-tag {
    color: #0284c7;
}

.ob-airbnb-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 6px 0;
}

body.light-mode .ob-airbnb-title {
    color: #0f172a;
}

.ob-airbnb-desc {
    font-size: 12px;
    line-height: 1.48;
    color: #94a3b8;
    margin: 0 0 10px 0;
    font-weight: 450;
}

body.light-mode .ob-airbnb-desc {
    color: #475569;
}

.ob-airbnb-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.ob-airbnb-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
    padding: 5.5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

body.light-mode .ob-airbnb-bullet {
    color: #1e293b;
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.07);
}

/* ==========================================================================
   FOOTER: Pinned Navigation Controls Bar (Direct Child of Step)
   ========================================================================== */
.ob-controls-bar {
    flex-shrink: 0;
    height: 56px;
    padding: 0 18px;
    background: #090e18;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

body.light-mode .ob-controls-bar {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ob-back-btn {
    min-height: 42px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    touch-action: manipulation;
}

body.light-mode .ob-back-btn {
    background: #f1f5f9;
    color: #334155;
    border-color: rgba(15, 23, 42, 0.12);
}

.ob-back-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body.light-mode .ob-back-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ob-action-btn {
    flex: 1;
    min-height: 42px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #1877f2, #2563eb);
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px -3px rgba(24, 119, 242, 0.5);
    transition: all 0.2s;
    touch-action: manipulation;
}

.ob-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -3px rgba(24, 119, 242, 0.65);
}

.ob-action-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   PERSONALIZATION CHIPS & STAGE CARDS (SLIDE 5)
   ========================================================================== */
.ob-survey-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 22px 14px 22px;
    box-sizing: border-box;
}

.ob-survey-tag {
    font-size: 10px;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.light-mode .ob-survey-tag {
    color: #0284c7;
}

.ob-survey-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 2px 0;
    letter-spacing: -0.01em;
}

body.light-mode .ob-survey-title {
    color: #0f172a;
}

.ob-survey-desc {
    font-size: 11.5px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

body.light-mode .ob-survey-desc {
    color: #64748b;
}

.ob-survey-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

body.light-mode .ob-survey-label {
    color: #0f172a;
}

.ob-chip {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-color, #1e293b);
    background: var(--bg-card, #1e293b);
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    touch-action: manipulation;
}

body.light-mode .ob-chip {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.ob-chip.active {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.18);
    color: #38bdf8;
}

body.light-mode .ob-chip.active {
    background: rgba(24, 119, 242, 0.12);
    color: #0284c7;
    border-color: #1877f2;
}

.ob-stage-card {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1e293b;
    transition: all 0.2s;
    touch-action: manipulation;
}

.ob-stage-card.active {
    border: 1.5px solid rgba(56, 189, 248, 0.7) !important;
    background: rgba(56, 189, 248, 0.12) !important;
}

body.light-mode .ob-stage-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .ob-stage-card.active {
    border: 1.5px solid #1877f2 !important;
    background: rgba(24, 119, 242, 0.08) !important;
}

.ob-stage-title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

body.light-mode .ob-stage-title {
    color: #0f172a;
}

.ob-stage-desc {
    margin: 0;
    font-size: 10px;
    color: #94a3b8;
}

body.light-mode .ob-stage-desc {
    color: #64748b;
}

/* ==========================================================================
   SLIDE 6: AUTHENTICATION SCREEN (LIGHT & DARK MODE HIGH CONTRAST)
   ========================================================================== */
.ob-auth-step {
    padding: 24px 24px 20px 24px;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.ob-auth-logo-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px -4px rgba(24, 119, 242, 0.45);
    overflow: hidden;
}

body.light-mode .ob-auth-logo-box {
    box-shadow: 0 8px 24px -2px rgba(24, 119, 242, 0.25);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.ob-auth-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

body.light-mode .ob-auth-title {
    color: #0f172a;
}

.ob-auth-desc {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 22px 0;
    padding: 0 10px;
    line-height: 1.45;
}

body.light-mode .ob-auth-desc {
    color: #64748b;
}

.ob-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

/* Apple Sign In Button */
.ob-btn-apple {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #ffffff;
    color: #000000;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
    touch-action: manipulation;
}

.ob-btn-apple:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

body.light-mode .ob-btn-apple {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

body.light-mode .ob-btn-apple:hover {
    background: #171717;
}

/* Google Sign In Button - HIGH CONTRAST & LEGIBLE IN BOTH MODES */
.ob-btn-google {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #1e293b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
    touch-action: manipulation;
}

.ob-btn-google:hover {
    transform: translateY(-1px);
    background: #24344d;
}

body.light-mode .ob-btn-google {
    background: #ffffff;
    color: #0f172a !important; /* Bold deep dark slate - ALWAYS 100% visible on white */
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

body.light-mode .ob-btn-google:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Auth Divider */
.ob-auth-divider {
    position: relative;
    margin: 12px 0;
}

.ob-divider-line {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.light-mode .ob-divider-line {
    border-top: 1px solid #e2e8f0;
}

.ob-divider-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #0b101b;
    padding: 0 10px;
    font-size: 10px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.light-mode .ob-divider-badge {
    background: #ffffff;
    color: #64748b;
}

/* Email Sign In Button */
.ob-btn-email {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
}

.ob-btn-email:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

body.light-mode .ob-btn-email {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light-mode .ob-btn-email:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Change Preferences Back Button */
.ob-btn-back-prefs {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
    touch-action: manipulation;
}

.ob-btn-back-prefs:hover {
    color: #ffffff;
}

body.light-mode .ob-btn-back-prefs {
    color: #64748b;
}

body.light-mode .ob-btn-back-prefs:hover {
    color: #0f172a;
}

/* ==========================================================================
   MOBILE RESPONSIVE DIRECTIVES (MAX-WIDTH: 640px)
   IMMERSIVE FULLSCREEN, NATIVE TOUCH, ZERO FLOATING BORDERS, SAFE-AREA INSETS
   ========================================================================== */
@media (max-width: 640px) {
    .onboarding-overlay {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        background: #070b14 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    body.light-mode .onboarding-overlay {
        background: #ffffff !important;
    }

    .onboarding-card {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #0b101b !important;
    }

    body.light-mode .onboarding-card {
        background: #ffffff !important;
    }

    /* Top Progress Bar with iOS Safe-Area Notch / Island Support */
    .onboarding-progress-bar {
        padding-top: max(env(safe-area-inset-top, 0px), 8px) !important;
        height: calc(48px + max(env(safe-area-inset-top, 0px), 8px)) !important;
        padding-left: max(env(safe-area-inset-left, 0px), 16px) !important;
        padding-right: max(env(safe-area-inset-right, 0px), 16px) !important;
    }

    /* Calibrated Hero Height: Gives generous, premium visual anchor */
    .ob-airbnb-hero {
        height: 44% !important;
        min-height: 220px !important;
        max-height: 420px !important;
    }

    .onboarding-step-view.active .ob-airbnb-img {
        transform: none !important;
    }

    /* Slide 2 (Marketplace Bicycle): Full-frame bicycle without side or wheel cropping */
    #obStep2 .ob-airbnb-hero {
        background: #19212a !important;
    }

    #obStep2 .ob-airbnb-img {
        object-fit: contain !important;
        object-position: center bottom !important;
    }

    .ob-airbnb-badge {
        top: 12px !important;
        left: 14px !important;
        max-width: calc(100% - 28px) !important;
        font-size: 10.5px !important;
        padding: 5px 11px !important;
    }

    .ob-hero-price-tag {
        bottom: 14px !important;
        right: 14px !important;
        font-size: 13px !important;
        padding: 5px 11px !important;
    }

    /* Content Area with smooth touch scrolling and balanced vertical distribution */
    .ob-airbnb-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 16px 20px 14px 20px !important;
    }

    .ob-airbnb-text {
        display: flex;
        flex-direction: column;
    }

    .ob-airbnb-tag {
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.08em !important;
        margin-bottom: 6px !important;
    }

    .ob-airbnb-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        margin-bottom: 6px !important;
    }

    .ob-airbnb-desc {
        font-size: 12.5px !important;
        line-height: 1.46 !important;
        margin-bottom: 0 !important;
        color: #94a3b8 !important;
    }

    .ob-airbnb-bullets {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }

    .ob-airbnb-bullet {
        padding: 8px 12px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        border-radius: 10px !important;
    }

    /* Pinned Bottom Controls Bar with iOS Home-Indicator Safe-Area Support */
    .ob-controls-bar {
        height: calc(56px + max(env(safe-area-inset-bottom, 0px), 12px)) !important;
        padding-bottom: max(env(safe-area-inset-bottom, 0px), 12px) !important;
        padding-top: 6px !important;
        padding-left: max(env(safe-area-inset-left, 0px), 16px) !important;
        padding-right: max(env(safe-area-inset-right, 0px), 16px) !important;
    }

    .ob-action-btn {
        min-height: 46px !important;
        font-size: 13.5px !important;
        border-radius: 13px !important;
    }

    .ob-back-btn {
        min-height: 46px !important;
        font-size: 13px !important;
        padding: 9px 15px !important;
        border-radius: 13px !important;
    }

    /* Survey Step Mobile Adjustments: balanced and comfortable tap targets */
    .ob-survey-container {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 16px 20px 12px 20px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .ob-survey-header {
        margin-bottom: 10px !important;
    }

    .ob-survey-tag {
        font-size: 11px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        display: inline-block !important;
    }

    .ob-survey-title {
        font-size: 21px !important;
        font-weight: 800 !important;
        margin: 4px 0 4px 0 !important;
    }

    .ob-survey-desc {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }

    .ob-survey-label {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    .ob-survey-section {
        margin-bottom: 10px !important;
    }

    .ob-stage-cards-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .ob-stage-card {
        padding: 11px 13px !important;
        border-radius: 14px !important;
    }

    .ob-stage-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    .ob-stage-desc {
        font-size: 11px !important;
        margin: 0 !important;
    }

    .ob-chips-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
    }

    .ob-chip {
        padding: 8px 12px !important;
        font-size: 11.5px !important;
        border-radius: 11px !important;
    }

    /* Auth Step Mobile Adjustments */
    .ob-auth-step {
        padding: 24px 22px max(env(safe-area-inset-bottom, 0px), 16px) 22px !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .onboarding-step-view.active.ob-auth-step {
        display: flex !important;
    }

    .ob-auth-logo-box {
        width: 66px !important;
        height: 66px !important;
        border-radius: 18px !important;
        margin: 0 auto 16px auto !important;
    }

    .ob-auth-title {
        font-size: 23px !important;
        margin-bottom: 6px !important;
    }

    .ob-auth-desc {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 22px !important;
        padding: 0 8px !important;
    }

    .ob-auth-buttons {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .ob-btn-apple, .ob-btn-google, .ob-btn-email {
        min-height: 48px !important;
        font-size: 13.5px !important;
        border-radius: 14px !important;
        padding: 12px 16px !important;
    }
}
