:root {
    --iw-blue: #0066ff;
    --iw-navy: #0a192f;
    --iw-slate: #64748b;
    --iw-border: #dbe4f0;
    --iw-bg: #f3f7fb;
    --iw-shadow: 0 18px 42px rgba(10, 25, 47, 0.09);
    --iw-shadow-soft: 0 10px 28px rgba(10, 25, 47, 0.06);
}

body.inventory-wizard-shell {
    --sidebar-width: 232px !important;
    background:
        radial-gradient(circle at top left, rgba(0, 102, 255, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 251, 0.98)),
        var(--iw-bg);
    color: var(--iw-navy);
}

body.inventory-wizard-shell * {
    box-sizing: border-box;
}

body.inventory-wizard-shell .sidebar {
    width: var(--sidebar-width) !important;
    background: linear-gradient(180deg, #091426 0%, #10233d 100%) !important;
    color: white;
    padding: 26px 18px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 22px 0 40px rgba(10, 25, 47, 0.12);
}

body.inventory-wizard-shell .sidebar-brand,
body.inventory-wizard-shell .sidebar .logo,
body.inventory-wizard-shell .logo,
body.inventory-wizard-shell .sidebar-header {
    font-size: 19px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    margin-bottom: 30px !important;
    color: white !important;
    text-decoration: none !important;
}

body.inventory-wizard-shell .sidebar-brand span,
body.inventory-wizard-shell .sidebar .logo span,
body.inventory-wizard-shell .logo span,
body.inventory-wizard-shell .sidebar-header span {
    color: var(--iw-blue) !important;
}

body.inventory-wizard-shell .nav-group,
body.inventory-wizard-shell .side-nav,
body.inventory-wizard-shell .sidebar nav {
    flex: 1;
}

body.inventory-wizard-shell .nav-label {
    display: none !important;
}

body.inventory-wizard-shell .nav-item,
body.inventory-wizard-shell .side-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px !important;
    margin-bottom: 8px !important;
    border-radius: 14px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    background: transparent !important;
    border: none;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.inventory-wizard-shell .nav-item:hover,
body.inventory-wizard-shell .side-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transform: translateY(-1px);
}

body.inventory-wizard-shell .nav-item.active,
body.inventory-wizard-shell .side-item.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    border-left: none !important;
}

body.inventory-wizard-shell .nav-item i,
body.inventory-wizard-shell .wizard-step-index,
body.inventory-wizard-shell .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    margin-right: 0 !important;
    font-style: normal;
    font-size: 15px !important;
}

body.inventory-wizard-shell .wizard-hidden-nav {
    display: none !important;
}

body.inventory-wizard-shell .wizard-exit,
body.inventory-wizard-shell .side-item.exit-link {
    margin-top: auto !important;
    padding-top: 18px !important;
    color: #fda4af !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.inventory-wizard-shell .mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px !important;
    padding: 0 18px !important;
    background: linear-gradient(180deg, #091426 0%, #10233d 100%) !important;
    color: white;
    align-items: center;
    justify-content: space-between;
    z-index: 1200;
    box-shadow: 0 10px 24px rgba(10, 25, 47, 0.18);
}

body.inventory-wizard-shell .mobile-header .logo,
body.inventory-wizard-shell .mobile-header .sidebar-header,
body.inventory-wizard-shell .mobile-header .sidebar-brand {
    margin-bottom: 0 !important;
    font-size: 18px !important;
}

body.inventory-wizard-shell .hamburger,
body.inventory-wizard-shell .menu-toggle,
body.inventory-wizard-shell #hamburgerMenu,
body.inventory-wizard-shell .menu-btn,
body.inventory-wizard-shell .hamburger-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    border: none;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    cursor: pointer;
    box-shadow: var(--iw-shadow-soft);
}

body.inventory-wizard-shell .hamburger-menu {
    padding: 0 !important;
}

body.inventory-wizard-shell .sidebar-overlay,
body.inventory-wizard-shell .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.45) !important;
    z-index: 1100;
}

body.inventory-wizard-shell .sidebar-overlay.active,
body.inventory-wizard-shell .overlay.active {
    display: block;
}

body.inventory-wizard-shell .main-content,
body.inventory-wizard-shell .main-wrapper {
    margin-left: 0 !important;
    width: auto !important;
    min-width: 0;
}

body.inventory-wizard-shell .header,
body.inventory-wizard-shell .stepper-container,
body.inventory-wizard-shell .wizard-topbar {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 228, 240, 0.85) !important;
    box-shadow: 0 8px 26px rgba(10, 25, 47, 0.04);
}

body.inventory-wizard-shell .header,
body.inventory-wizard-shell .stepper-container {
    position: sticky;
    top: 0;
    z-index: 100;
}

body.inventory-wizard-shell .stepper,
body.inventory-wizard-shell .step-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

body.inventory-wizard-shell .step-pill,
body.inventory-wizard-shell .step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 228, 240, 1);
    color: var(--iw-slate);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

body.inventory-wizard-shell .step-dot {
    width: 34px;
    padding: 0;
}

body.inventory-wizard-shell .step-pill.active,
body.inventory-wizard-shell .step-dot.active {
    background: var(--iw-blue) !important;
    border-color: var(--iw-blue) !important;
    color: white !important;
}

body.inventory-wizard-shell .step-dot.completed {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

body.inventory-wizard-shell .help-fab {
    box-shadow: 0 18px 40px rgba(10, 25, 47, 0.18);
}

@media (max-width: 992px) {
    body.inventory-wizard-shell .mobile-header {
        display: flex;
    }

    body.inventory-wizard-shell .sidebar {
        transform: translateX(-100%);
        width: min(280px, 85vw) !important;
        padding: 28px 20px !important;
        box-shadow: 16px 0 40px rgba(10, 25, 47, 0.2);
        z-index: 2001;
    }

    body.inventory-wizard-shell .sidebar.active,
    body.inventory-wizard-shell .sidebar.open {
        transform: translateX(0);
    }

    body.inventory-wizard-shell .main-content,
    body.inventory-wizard-shell .main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
