/**
 * Interior Estimate — Frontend Wizard Stylesheet
 *
 * Scoped under #ie-wizard-root / .ie-wizard to avoid theme style clashes.
 * Uses high-specificity #ie-wizard-root rules with !important overrides
 * to guarantee that theme defaults (e.g. red/pink button borders) never bleed in.
 *
 * @package InteriorEstimate
 * @since   1.0.0
 */

/* ── Google Fonts Import ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
    --ie-f-primary: #00684a;
    --ie-f-primary-hover: #00563d;
    --ie-f-primary-light: #e6f4f0;
    --ie-f-accent: #d97706;
    --ie-f-bg: #f7f9f8;
    --ie-f-card-bg: #ffffff;
    --ie-f-text: #111827;
    --ie-f-text-muted: #6b7280;
    --ie-f-border: #d1d5db;
    --ie-f-radius: 12px;
    --ie-f-radius-sm: 8px;
    --ie-f-shadow: none;
    --ie-f-shadow-hover: none;
    --ie-f-transition: 0.2s ease-in-out;
}

/* ── Scope Reset ───────────────────────────────────────────────────────────── */
#ie-wizard-root,
#ie-wizard-root * {
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

#ie-wizard-root {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: var(--ie-f-radius) !important;
    color: var(--ie-f-text) !important;
}

#ie-wizard-root button,
#ie-wizard-root input,
#ie-wizard-root select,
#ie-wizard-root a {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-progress {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    padding: 16px 24px !important;
    border-radius: var(--ie-f-radius) !important;
    margin-bottom: 28px !important;
    box-shadow: var(--ie-f-shadow) !important;
    border: 1.5px solid #e5e7eb !important;
    overflow-x: auto !important;
}

#ie-wizard-root .ie-step {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    opacity: 0.65 !important;
    cursor: default !important;
    pointer-events: none !important;
    transition: opacity var(--ie-f-transition), color var(--ie-f-transition) !important;
}

#ie-wizard-root .ie-step__num {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e5e7eb !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

#ie-wizard-root .ie-step--active {
    opacity: 1 !important;
    color: #00684a !important;
    font-weight: 700 !important;
}

#ie-wizard-root .ie-step--active .ie-step__num {
    background: #00684a !important;
    color: #ffffff !important;
}

#ie-wizard-root .ie-step--completed .ie-step__num {
    background: #10b981 !important;
    color: #ffffff !important;
}

#ie-wizard-root .ie-step__arrow {
    color: #d1d5db !important;
    font-size: 14px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PANELS & CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-panel {
    display: block;
    animation: ieFadeIn 0.3s ease-in-out;
}

#ie-wizard-root .ie-panel--hidden {
    display: none !important;
}

@keyframes ieFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ie-wizard-root .ie-card {
    background: #ffffff !important;
    border-radius: var(--ie-f-radius) !important;
    padding: 36px 32px !important;
    box-shadow: var(--ie-f-shadow) !important;
    border: 1.5px solid #e5e7eb !important;
}

#ie-wizard-root .ie-card__title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #00684a !important;
    text-align: center !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

#ie-wizard-root .ie-card__sub {
    font-size: 14px !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin: 0 0 28px 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 1: WELCOME BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-welcome-banner {
    position: relative !important;
    border-radius: var(--ie-f-radius) !important;
    overflow: hidden !important;
    height: 900px !important;
    min-height: 900px !important;
    background-color: #00684a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: var(--ie-f-shadow) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

#ie-wizard-root .ie-welcome-overlay {
    background: rgba(0, 30, 20, 0.65) !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 900px !important;
    padding: 48px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(2px) !important;
}

#ie-wizard-root .ie-welcome-title {
    color: #ffffff !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

#ie-wizard-root .ie-welcome-sub {
    color: #e2f1ec !important;
    font-size: 16px !important;
    margin: 0 0 28px 0 !important;
    line-height: 1.5 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 2: SIZE & ROOMS
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-row {
    display: grid !important;
    grid-template-columns: 35% 65% !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

#ie-wizard-root .ie-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

#ie-wizard-root .ie-select-wrap {
    position: relative !important;
}

#ie-wizard-root .ie-select {
    width: 100% !important;
    padding: 12px 36px 12px 14px !important;
    border-radius: 8px !important;
    border: 1.5px solid #d1d5db !important;
    background: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    height: auto !important;
}

#ie-wizard-root .ie-select:focus {
    border-color: #00684a !important;
}

#ie-wizard-root .ie-select-arrow {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important;
    line-height: 1 !important;
}

#ie-wizard-root .ie-select-arrow svg {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
}

/* Flat Status Chips — All 3 in one row */
#ie-wizard-root .ie-status-group {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

#ie-wizard-root .ie-status-chip-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
    border: 1.5px solid #d1d5db !important;
    background-color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    height: auto !important;
    line-height: 1.3 !important;
}

#ie-wizard-root .ie-status-chip-btn:hover {
    border-color: #00684a !important;
    color: #00684a !important;
    background-color: #f0f9f5 !important;
}

#ie-wizard-root .ie-status-chip-btn--active,
#ie-wizard-root .ie-status-chip-btn--active:hover {
    background-color: #00684a !important;
    border-color: #00684a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 104, 74, 0.2) !important;
}

/* Rooms Grid */
#ie-wizard-root .ie-rooms-section {
    margin-bottom: 24px !important;
}

#ie-wizard-root .ie-rooms-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 16px !important;
}

#ie-wizard-root .ie-room-counter-card {
    background: #f9fafb !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: border-color 0.2s ease !important;
}

#ie-wizard-root .ie-room-counter-card:hover {
    border-color: #d1d5db !important;
}

#ie-wizard-root .ie-room-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

#ie-wizard-root .ie-qty-controls {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#ie-wizard-root .ie-qty-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    border: 1.5px solid #d1d5db !important;
    background-color: #ffffff !important;
    color: #374151 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

#ie-wizard-root .ie-qty-btn:hover:not(:disabled) {
    background-color: #00684a !important;
    border-color: #00684a !important;
    color: #ffffff !important;
}

#ie-wizard-root .ie-qty-btn:disabled {
    opacity: 0.35 !important;
    border-color: #e5e7eb !important;
    color: #9ca3af !important;
    background-color: #f3f4f6 !important;
    cursor: not-allowed !important;
}

#ie-wizard-root .ie-qty-val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #00684a !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 3: ADD-ONS ACCORDION / GRID
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-addon-group {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

#ie-wizard-root .ie-addon-group__head {
    background: #e6f4f0 !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #00684a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#ie-wizard-root .ie-addon-group__items {
    padding: 16px 20px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 12px !important;
}

#ie-wizard-root .ie-addon-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    transition: background 0.2s ease !important;
}

#ie-wizard-root .ie-addon-checkbox-label:hover {
    background: #f3f4f6 !important;
}

#ie-wizard-root .ie-addon-checkbox {
    width: 18px !important;
    height: 18px !important;
    accent-color: #00684a !important;
    cursor: pointer !important;
}

/* Frontend Wizard Parent-Child Addon Cards */
#ie-wizard-root .ie-addon-fe-card {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease !important;
}

#ie-wizard-root .ie-addon-fe-card:hover {
    border-color: #d1d5db !important;
}

#ie-wizard-root .ie-addon-fe-row--parent {
    padding: 12px 16px !important;
    background: #f9fafb !important;
}

#ie-wizard-root .ie-addon-fe-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    user-select: none !important;
}

#ie-wizard-root .ie-addon-fe-title {
    flex: 1 !important;
}

#ie-wizard-root .ie-addon-fe-cost {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ie-f-primary, #00684a) !important;
    background: var(--ie-f-primary-light, #e6f4f0) !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
}

#ie-wizard-root .ie-addon-fe-cost--sub {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    background: #f3f4f6 !important;
}

#ie-wizard-root .ie-addon-fe-toggle {
    font-size: 16px !important;
    line-height: 1 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    transition: transform 0.2s ease !important;
}

#ie-wizard-root .ie-addon-fe-children {
    padding: 8px 16px 12px 40px !important;
    border-top: 1px dashed #e5e7eb !important;
    background: #ffffff !important;
}

#ie-wizard-root .ie-addon-fe-label--child {
    padding: 8px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

#ie-wizard-root .ie-addon-fe-label--child:last-child {
    border-bottom: none !important;
}

#ie-wizard-root .ie-addon-fe-sub-bullet {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--ie-f-primary, #00684a) !important;
    opacity: 0.5 !important;
}

/* Add-on Dropdowns styling */
#ie-wizard-root .ie-addon-dropdown-wrap {
    transition: all 0.2s ease !important;
}

#ie-wizard-root .ie-addon-select {
    cursor: pointer !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#ie-wizard-root .ie-addon-select:focus {
    border-color: var(--ie-f-primary, #00684a) !important;
    box-shadow: 0 0 0 3px rgba(0, 104, 74, 0.15) !important;
}

#ie-wizard-root .ie-addon-chip {
    transition: all 0.2s ease !important;
}

#ie-wizard-root .ie-addon-chip-remove:hover {
    color: #dc2626 !important;
}

/* Custom Multi-Select Dropdown styling */
#ie-wizard-root .ie-addon-cat-card,
#ie-wizard-root .ie-addon-group,
#ie-wizard-root .ie-addon-sub-grid,
#ie-wizard-root .ie-addon-dropdown-wrap,
#ie-wizard-root .ie-card,
#ie-wizard-root .ie-step-panel {
    overflow: visible !important;
}

#ie-wizard-root .ie-addon-dropdown-wrap {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#ie-wizard-root .ie-ms-trigger:hover {
    border-color: var(--ie-f-primary, #00684a) !important;
}

#ie-wizard-root .ie-ms-popup {
    z-index: 9999 !important;
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
}

#ie-wizard-root .ie-ms-popup::-webkit-scrollbar {
    width: 6px !important;
}

/* Apartment vs Duplex Addon Tabs */
#ie-wizard-root .ie-type-tabs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
}

#ie-wizard-root .ie-type-tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

#ie-wizard-root .ie-type-tab-btn img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    transition: filter 0.2s ease !important;
}

#ie-wizard-root .ie-type-tab-btn:hover {
    border-color: var(--ie-f-primary, #00684a) !important;
    color: var(--ie-f-primary, #00684a) !important;
    background: var(--ie-f-primary-light, #e6f4f0) !important;
}

#ie-wizard-root .ie-type-tab-btn--active {
    background: var(--ie-f-primary, #00684a) !important;
    color: #ffffff !important;
    border-color: var(--ie-f-primary, #00684a) !important;
    box-shadow: 0 4px 12px rgba(0, 104, 74, 0.25) !important;
}

#ie-wizard-root .ie-type-tab-btn--active img {
    filter: brightness(0) invert(1) !important;
}

/* Property type selection screen (shown before addon list) */
#ie-wizard-root .ie-type-select-screen {
    text-align: center !important;
    padding: 32px 0 !important;
}

#ie-wizard-root .ie-type-select-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}

#ie-wizard-root .ie-type-select-sub {
    font-size: 15px !important;
    color: #64748b !important;
    margin: 0 0 32px !important;
}

#ie-wizard-root .ie-type-select-cards {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

#ie-wizard-root .ie-type-select-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 32px 40px !important;
    width: 220px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

#ie-wizard-root .ie-type-select-card:hover {
    border-color: var(--ie-f-primary, #00684a) !important;
    background: var(--ie-f-primary-light, #e6f4f0) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 104, 74, 0.15) !important;
}

#ie-wizard-root .ie-type-card-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    line-height: 1 !important;
}

#ie-wizard-root .ie-type-card-icon img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
}

#ie-wizard-root .ie-type-card-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

#ie-wizard-root .ie-type-card-desc {
    font-size: 13px !important;
    color: #64748b !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

#ie-wizard-root .ie-ms-popup::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STEP 4: PACKAGES GRID
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-packages-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 28px !important;
}

#ie-wizard-root .ie-pkg-card {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: var(--ie-f-radius) !important;
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#ie-wizard-root .ie-pkg-card:hover {
    border-color: #00684a !important;
}

#ie-wizard-root .ie-pkg-card--selected {
    border-color: #00684a !important;
    background: #ffffff !important;
}

#ie-wizard-root .ie-pkg-card__title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #00684a !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: 0.02em !important;
}

#ie-wizard-root .ie-pkg-card__desc {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.45 !important;
    flex-grow: 1 !important;
}

#ie-wizard-root .ie-pkg-card__features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

#ie-wizard-root .ie-pkg-card__features li {
    font-size: 12px !important;
    color: #374151 !important;
    padding: 4px 0 4px 20px !important;
    position: relative !important;
    font-weight: 500 !important;
}

#ie-wizard-root .ie-pkg-card__features li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    color: #00684a !important;
    font-weight: 700 !important;
}

#ie-wizard-root .ie-pkg-card__select-btn {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1.5px solid #00684a !important;
    background: transparent !important;
    color: #00684a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

#ie-wizard-root .ie-pkg-card--selected .ie-pkg-card__select-btn {
    background: #00684a !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 5: REVIEW / OVERVIEW
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-review-layout {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
    align-items: start !important;
}

#ie-wizard-root .ie-overview-box {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    border: 1.5px solid #e5e7eb !important;
}

#ie-wizard-root .ie-overview-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #00684a !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
}

#ie-wizard-root .ie-overview-section {
    margin-bottom: 14px !important;
}

#ie-wizard-root .ie-overview-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

#ie-wizard-root .ie-overview-value {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

#ie-wizard-root .ie-review-addons-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 14px 0 !important;
}

#ie-wizard-root .ie-review-addon-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid #e5e7eb !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 6: LEAD FORM & RESULTS
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-card--hidden {
    display: none !important;
}

#ie-wizard-root .ie-card--form {
    max-width: 540px !important;
    margin: 0 auto !important;
}

#ie-wizard-root .ie-form-group {
    margin-bottom: 18px !important;
}

/* Modern Input Field Wrapper styling */
#ie-wizard-root .ie-input-wrapper {
    display: flex !important;
    align-items: center !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

#ie-wizard-root .ie-input-wrapper:focus-within {
    border-color: #00684a !important;
    box-shadow: 0 0 0 4px rgba(0, 104, 74, 0.12) !important;
}

#ie-wizard-root .ie-input-wrapper .ie-input-icon {
    width: 18px !important;
    height: 18px !important;
    color: #94a3b8 !important;
    margin-left: 14px !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease !important;
}

#ie-wizard-root .ie-input-wrapper:focus-within .ie-input-icon {
    color: #00684a !important;
}

#ie-wizard-root .ie-input-wrapper .ie-input {
    border: none !important;
    background: transparent !important;
    padding: 13px 16px 13px 10px !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    flex-grow: 1 !important;
    width: 100% !important;
    height: auto !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
}

/* Phone input layout inside wrapper */
#ie-wizard-root .ie-phone-wrapper {
    gap: 0 !important;
}

#ie-wizard-root .ie-phone-wrapper .ie-phone-prefix {
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 10px !important;
    height: auto !important;
}

#ie-wizard-root .ie-phone-wrapper .ie-input--phone {
    padding-left: 10px !important;
}

#ie-wizard-root .ie-form-hint {
    font-size: 11px !important;
    color: #6b7280 !important;
    margin: -12px 0 16px 4px !important;
}

#ie-wizard-root .ie-form-error {
    display: none;
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

/* Premium Total Cost Banner */
#ie-wizard-root .ie-total-banner {
    background: linear-gradient(135deg, #005c41 0%, #008f66 100%) !important;
    border-radius: 16px !important;
    padding: 32px 24px !important;
    text-align: center !important;
    color: #ffffff !important;
    margin-bottom: 28px !important;
    box-shadow: 0 10px 25px rgba(0, 104, 74, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#ie-wizard-root .ie-total-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    opacity: 0.85 !important;
    margin-bottom: 6px !important;
}

#ie-wizard-root .ie-total-amount {
    font-size: 44px !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
}

#ie-wizard-root .ie-result-body {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
}

#ie-wizard-root .ie-result-heading {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #00684a !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
}

/* Result Card Spacing & Summary Items */
#ie-wizard-root .ie-card--result {
    margin-top: 36px !important;
}

#ie-wizard-root .ie-res-item {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Custom Addon Category Cards in Final Summary */
#ie-wizard-root .ie-review-cat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

#ie-wizard-root .ie-res-item strong {
    font-weight: 700 !important;
    color: #111827 !important;
}

#ie-wizard-root .ie-res-item--pkg strong {
    color: var(--ie-f-primary, #00684a) !important;
}

#ie-wizard-root .ie-res-rooms-list {
    margin-top: 10px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e5e7eb !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   NAV BUTTONS (GO BACK / NEXT STEP)
   ═══════════════════════════════════════════════════════════════════════════ */
#ie-wizard-root .ie-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1.5px solid #e5e7eb !important;
}

#ie-wizard-root .ie-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    height: auto !important;
    line-height: 1.2 !important;
}

#ie-wizard-root .ie-btn--primary {
    background-color: #00684a !important;
    border-color: #00684a !important;
    color: #ffffff !important;
}

#ie-wizard-root .ie-btn--primary:hover {
    background-color: #00563d !important;
    border-color: #00563d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 104, 74, 0.3) !important;
}

#ie-wizard-root .ie-btn--outline {
    background-color: #ffffff !important;
    border-color: #d1d5db !important;
    color: #4b5563 !important;
}

#ie-wizard-root .ie-btn--outline:hover {
    border-color: #00684a !important;
    color: #00684a !important;
    background-color: #f0f9f5 !important;
}

#ie-wizard-root .ie-btn--lg {
    padding: 16px 40px !important;
    font-size: 15px !important;
    border-radius: 30px !important;
}

#ie-wizard-root .ie-btn--xl {
    padding: 16px !important;
    font-size: 15px !important;
}

#ie-wizard-root .ie-btn--fullwidth {
    width: 100% !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT STYLES (PDF Generation)
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
    body * {
        visibility: hidden !important;
    }

    #ie-wizard-root,
    #ie-wizard-root * {
        visibility: visible !important;
    }

    #ie-wizard-root {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    .ie-progress,
    .ie-nav-row,
    .ie-btn,
    #ie-lead-card {
        display: none !important;
    }

    .ie-panel {
        display: block !important;
    }

    .ie-panel:not(#ie-panel-6) {
        display: none !important;
    }

    #ie-result-card {
        display: block !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE (100% Mobile & Tablet Adaptability)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    #ie-wizard-root .ie-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    #ie-wizard-root .ie-packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #ie-wizard-root .ie-welcome-banner,
    #ie-wizard-root .ie-welcome-overlay {
        height: 600px !important;
        min-height: 600px !important;
    }
}

@media (max-width: 768px) {
    #ie-wizard-root {
        padding: 16px 12px !important;
    }

    #ie-wizard-root .ie-card {
        padding: 24px 16px !important;
    }

    #ie-wizard-root .ie-packages-grid {
        grid-template-columns: 1fr !important;
    }

    #ie-wizard-root .ie-review-layout {
        grid-template-columns: 1fr !important;
    }

    #ie-wizard-root .ie-result-body {
        grid-template-columns: 1fr !important;
    }

    #ie-wizard-root .ie-welcome-title {
        font-size: 28px !important;
    }

    #ie-wizard-root .ie-welcome-banner,
    #ie-wizard-root .ie-welcome-overlay {
        height: 480px !important;
        min-height: 480px !important;
    }

    #ie-wizard-root .ie-status-group {
        flex-wrap: wrap !important;
    }

    #ie-wizard-root .ie-status-chip-btn {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 120px !important;
    }
}

@media (max-width: 480px) {
    #ie-wizard-root .ie-status-chip-btn {
        flex: 1 1 100% !important;
    }

    #ie-wizard-root .ie-rooms-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ─── Step 3: Add-on Category Header & Direct Sub Add-on Grid ─── */
#ie-wizard-root .ie-addon-cat-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 24px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: none !important;
    padding: 10px;
}

#ie-wizard-root .ie-addon-cat-header {
    background: #e6f4f0 !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #ccebdc !important;
    border-radius: 10px !important;
}

#ie-wizard-root .ie-addon-cat-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #00684a !important;
}

#ie-wizard-root .ie-addon-cat-count {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #00563d !important;
    background: rgba(0, 104, 74, 0.08) !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
}

#ie-wizard-root .ie-addon-sub-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px 24px !important;
    padding: 22px 20px !important;
    background: #ffffff !important;
}

@media (max-width: 1100px) {
    #ie-wizard-root .ie-addon-sub-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    #ie-wizard-root .ie-addon-sub-grid {
        grid-template-columns: 1fr !important;
    }
}

#ie-wizard-root .ie-addon-sub-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 4px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transition: none !important;
}

#ie-wizard-root .ie-addon-sub-item:hover,
#ie-wizard-root .ie-addon-sub-item:focus,
#ie-wizard-root .ie-addon-sub-item:active,
#ie-wizard-root .ie-addon-sub-item--selected,
#ie-wizard-root .ie-addon-sub-item--selected:hover,
#ie-wizard-root .ie-addon-sub-item--selected:focus {
    background: transparent !important;
    border-color: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

#ie-wizard-root .ie-addon-sub-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    flex: 1 !important;
    line-height: 1.35 !important;
}

#ie-wizard-root .ie-addon-sub-cost,
#ie-wizard-root .ie-addon-fe-cost {
    display: none !important;
}

#ie-wizard-root .ie-review-addon-item-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    padding: 6px 0 !important;
    border-bottom: 1px dashed #f1f5f9 !important;
}

#ie-wizard-root .ie-review-addon-item-row:last-child {
    border-bottom: none !important;
}

#ie-wizard-root .ie-review-addon-item-sqft {
    font-weight: 600 !important;
    color: #00684a !important;
}

#ie-wizard-root .ie-review-addon-custom-item-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    margin-top: 6px !important;
    background: #f0fdf4 !important;
    border: 1px dashed #86efac !important;
    border-radius: 6px !important;
    color: #166534 !important;
}

#ie-wizard-root .ie-review-cat-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #00684a !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

#ie-wizard-root .ie-review-cat-title-text {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#ie-wizard-root .ie-review-cat-qty-badge {
    font-size: 11px !important;
    background: #e2e8f0 !important;
    color: #334155 !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

#ie-wizard-root .ie-review-cat-sqft {
    font-size: 12px !important;
    color: #00684a !important;
    font-weight: 700 !important;
}

#ie-wizard-root .ie-review-cat-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}