body {
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
}

.font-heading {
    font-family: var(--font-heading);
}

.container-custom {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.header-custom {
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid hsl(var(--border));
    background-color: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 1.1rem;
}

.brand-title {
    color: hsl(var(--primary));
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.nav-item-link {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-item-link:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted));
}

.btn-ghost {
    padding: 0.5rem 0.75rem;
    border: 0 !important;
    border-radius: 6px;
    background-color: transparent !important;
    color: hsl(var(--foreground)) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active {
    color: hsl(var(--foreground)) !important;
    background-color: hsl(var(--muted)) !important;
}

/*
|--------------------------------------------------------------------------
| Decorator onboarding navigation
|--------------------------------------------------------------------------
|
| Onboarding is part of the decorator journey. The shared public header
| still contains guest journey-switch controls, but an onboarding user
| must stay inside the decorator experience until onboarding is complete.
|
*/

[data-journey-switch] {
    display: none !important;
}

.shadow-soft {
    box-shadow: 0 1px 2px rgba(27, 42, 74, 0.04), 0 4px 16px rgba(27, 42, 74, 0.06);
}

.text-accent-custom {
    color: hsl(var(--accent)) !important;
}

.text-verified-custom {
    color: hsl(146 42% 30%) !important;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.cursor-pointer {
    cursor: pointer;
}

/* ==========================================================================
   /pros/onboarding — Minimal Image-Overlay Hero
   ========================================================================== */
.onboarding-hero {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.onboarding-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
}

.onboarding-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(27, 42, 74, 0.88) 55%,
        rgba(15, 23, 42, 0.92) 100%
    );
    z-index: 1;
}

.onboarding-breadcrumb {
    font-size: 0.8125rem;
    font-weight: 600;
}

.onboarding-breadcrumb .breadcrumb-item a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.15s ease;
}

.onboarding-breadcrumb .breadcrumb-item a:hover {
    color: #facc15 !important;
}

.onboarding-breadcrumb .breadcrumb-item.active {
    color: #facc15 !important;
}

.onboarding-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.65) !important;
    padding-right: 0.5rem;
}

.onboarding-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ==========================================================================
   Progress Shell & Step Pills
   ========================================================================== */
.wizard-progress-shell {
    background: #ffffff;
    border: 1px solid rgba(27, 42, 74, 0.10);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.wizard-progress-track {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 9999px;
    background-color: hsl(var(--muted));
}

.wizard-progress-bar {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, #2c4475 65%, #eab308 100%);
    transition: width 0.35s ease;
}

.wizard-step-pills-10 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}

.wizard-step-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(27, 42, 74, 0.10);
    background: #faf7f2;
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.wizard-step-pill:disabled {
    cursor: default;
    opacity: 0.7;
}

.wizard-step-pill:not(:disabled):hover {
    border-color: rgba(27, 42, 74, 0.28);
    color: hsl(var(--foreground));
}

.wizard-step-pill-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(27, 42, 74, 0.08);
    color: hsl(var(--foreground));
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.wizard-step-pill-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wizard-step-pill.is-active {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(27, 42, 74, 0.18);
    opacity: 1;
}

.wizard-step-pill.is-active .wizard-step-pill-num {
    background: #facc15;
    color: #0f172a;
}

.wizard-step-pill.is-completed {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    color: #065f46;
    opacity: 1;
}

.wizard-step-pill.is-completed .wizard-step-pill-num {
    background: #10b981;
    color: #ffffff;
}

/* ==========================================================================
   Step Cards & Headers
   ========================================================================== */
.p-sm-4-5 {
    padding: 2rem !important;
}

.wizard-step-card {
    background: #ffffff;
    border: 1px solid rgba(27, 42, 74, 0.10);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    scroll-margin-top: 80px;
}

.wizard-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, #273e6b 100%);
    color: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(27, 42, 74, 0.16);
}

.wizard-match-banner {
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.04) 0%, rgba(254, 243, 199, 0.45) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.wizard-match-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: hsl(var(--primary));
    color: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Option Tile Cards (Services & Regions)
   ========================================================================== */
.option-tile-card {
    position: relative;
    user-select: none;
    border: 1.5px solid hsl(var(--border)) !important;
    border-radius: 14px !important;
    background: #ffffff;
    transition: all 0.2s ease;
}

.option-tile-card:hover {
    border-color: rgba(182, 131, 28, 0.55) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.option-tile-card.selected,
.option-tile-card:has(input:checked) {
    border-color: hsl(var(--primary)) !important;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.04) 0%, rgba(250, 204, 21, 0.07) 100%) !important;
    box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.14);
}

.option-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #faf7f2;
    border: 1px solid rgba(27, 42, 74, 0.08);
    color: hsl(var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-tile-card.selected .option-tile-icon,
.option-tile-card:has(input:checked) .option-tile-icon {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: #facc15;
}

.option-tile-card .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0;
    border-color: #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
}

.option-tile-card .form-check-input:checked {
    border-color: #1b2a4a;
    background-color: #1b2a4a;
}

/* ==========================================================================
   Experience Quick Preset Pills
   ========================================================================== */
.exp-preset-pill {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(27, 42, 74, 0.15);
    background: #faf7f2;
    color: hsl(var(--foreground));
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.exp-preset-pill:hover,
.exp-preset-pill.is-active {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: #facc15;
}

/* ==========================================================================
   Upload Dropzones & Saved File Rows
   ========================================================================== */
.upload-dropzone {
    border: 2px dashed rgba(27, 42, 74, 0.22) !important;
    background: #fcfaf7 !important;
    transition: all 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragging {
    border-color: hsl(var(--primary)) !important;
    background-color: rgba(27, 42, 74, 0.04) !important;
}

.upload-dropzone-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, #273e6b 100%);
    color: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(27, 42, 74, 0.16);
}

.upload-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-top: 8px;
    border: 1px solid #e4ddd3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(27, 42, 74, 0.04);
}

.upload-file-name {
    min-width: 0;
    overflow: hidden;
    color: #1b2a4a;
    font-size: 0.825rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-file-remove {
    flex: 0 0 auto;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(155, 28, 28, 0.2);
    border-radius: 6px;
    background: rgba(155, 28, 28, 0.05);
    color: #9b1c1c;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.upload-file-remove:hover {
    background: rgba(155, 28, 28, 0.12);
    color: #7f1d1d;
}

.upload-file-remove:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ==========================================================================
   Review Summary & Action Bar
   ========================================================================== */
.verification-ready-banner {
    border: 1px solid hsl(146 42% 30% / 0.28);
    background: linear-gradient(135deg, hsl(146 42% 30% / 0.08) 0%, rgba(254, 243, 199, 0.35) 100%);
}

.wizard-review-summary {
    background: #fcfaf7;
    border: 1px solid hsl(var(--border));
}

.wizard-summary-row {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(27, 42, 74, 0.07);
}

.wizard-action-bar {
    background: #ffffff;
    border: 1px solid rgba(27, 42, 74, 0.10);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.wizard-save-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 28px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #faf7f2;
    border: 1px solid rgba(27, 42, 74, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.wizard-save-status.is-saving {
    color: #8a6510 !important;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.wizard-save-status.is-saved {
    color: #19714a !important;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.wizard-save-status.is-error {
    color: #a61b1b !important;
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
}

.wizard-save-status.is-unsaved {
    color: #8a6510 !important;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
}

.footer-custom {
    margin-top: 0 !important;
    padding-top: 3rem;
    padding-bottom: 2rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer-custom a {
    color: hsl(var(--primary-foreground) / 0.7);
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-custom a:hover {
    color: hsl(var(--primary-foreground));
}

.footer-heading {
    margin-bottom: 0.75rem;
    color: hsl(var(--primary-foreground));
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-bottom-border {
    border-top: 1px solid rgba(250, 247, 242, 0.15);
}

@media (max-width: 575.98px) {
    .container-custom {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .p-sm-4-5 {
        padding: 1.35rem !important;
    }

    [data-wizard-prev],
    [data-wizard-next],
    [data-wizard-submit] {
        min-height: 42px;
    }
}
