html:has(body.rfq-unified-page),
body.rfq-unified-page {
    background: #F8F9FA !important;
    color: #111827;
    font-family: 'Inter', system-ui, sans-serif;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important
}

.rfq-request-quote-layout {
    color: #111827;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif
}

.rfq-request-quote-scroll {
    padding-bottom: 2rem
}

.rfq-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
}

.rfq-hero {
    padding: 40px 0 28px;
}

.rfq-hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 10px
}

.rfq-hero h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px
}

.rfq-hero p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 560px
}

/* Form header + stepper */
.rfq-form-header {
    padding: 0 0 10px;
    /* margin: 0 0 15px; */
    border-bottom: 1px solid #eee;
}

.rfq-form-header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 16px
}

.rfq-form-header__row h4 {
    margin-bottom: 0
}

.rfq-form-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0c2543;
    margin-bottom: 8px;
}

.rfq-save-status {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    margin: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.rfq-save-status--saving {
    color: #6B7280;
}

.rfq-save-status--saving::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: sub;
    animation: rfq-status-spin 0.75s linear infinite;
}

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

/* Wizard progress — scrollable segment tabs (request-quotes/base.blade.php) */
.rfq-unified-form .rfq-wizard-progress {
    width: 100%;
    min-width: 0;
}

.rfq-unified-form .rfq-wizard-progress-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin: 0 -2px;
    padding: 0 2px 2px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9;
}

.rfq-unified-form .rfq-wizard-progress-scroll::-webkit-scrollbar {
    height: 6px;
}

.rfq-unified-form .rfq-wizard-progress-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px;
}

.rfq-unified-form .rfq-wizard-progress-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.rfq-unified-form .rfq-wizard-progress-scroll .bars,
.rfq-unified-form .rfq-wizard-progress-scroll .step-labels {
    width: 100%;
}

.rfq-unified-form .rfq-wizard-progress-scroll .bar,
.rfq-unified-form .rfq-wizard-progress-scroll .step-lbl {
    flex: 1 1 0;
    min-width: 0;
}

.rfq-form-header p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* Wizard step progress — unified-rfq.html style (segment bars + labels, scrolls on small screens) */
.rfq-unified-form .rfq-tabs.rfq-wizard-progress {
    margin-top: 16px;
    margin-bottom: 2px;
    padding-bottom: 2px;
    width: 100%;
    min-width: 0
}

.rfq-unified-form #rfq-progress.rfq-wizard-progress:not(.rfq-hidden) .rfq-tabs-scroll {
    margin: 0;
    padding: 0 2px 2px
}

.rfq-unified-form .rfq-progress-col--clickable:focus-visible {
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0E2D52
}

.rfq-unified-form button.rfq-progress-col {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    cursor: pointer
}

.rfq-unified-form .rfq-progress-col--locked {
    opacity: 0.48;
    pointer-events: none
}

/* Legacy segment bar stepper (unused when .rfq-tabs is active; kept for reference) */
.rfq-unified-form .rfq-progress {
    margin-top: 20px;
    margin-bottom: 24px;
    padding-bottom: 2px;
    width: 100%;
    min-width: 0
}

.rfq-unified-form .rfq-progress-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin: 0 -2px;
    padding: 0 2px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9
}

.rfq-unified-form .rfq-progress-scroll::-webkit-scrollbar {
    height: 6px
}

.rfq-unified-form .rfq-progress-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px
}

.rfq-unified-form .rfq-progress-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px
}

.rfq-unified-form .rfq-progress-cols {
    display: flex;
    gap: 3px;
    width: 100%;
    min-width: min-content
}

.rfq-unified-form .rfq-progress-col {
    flex: 1;
    min-width: 52px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch
}

.rfq-unified-form .rfq-progress-col--clickable {
    border-radius: 4px;
    outline: none
}

.rfq-unified-form .rfq-progress-col--clickable:hover .step-lbl:not(.on) {
    color: #1D4ED8
}

.rfq-unified-form .rfq-progress-col .bar {
    flex: none;
    height: 4px;
    border-radius: 4px;
    background: #E5E7EB;
    transition: background .3s
}

/* Completed segments (unified-rfq.html uses #2563EB); brand-aligned */
.rfq-unified-form .rfq-progress-col .bar.on {
    background: #2563EB
}

/* Current segment (Extremely prominent) */
.rfq-unified-form .rfq-progress-col .bar.active {
    background: #2563EB !important;
    height: 6px !important;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4) !important;
    border-radius: 3px !important;
    position: relative;
    z-index: 10;
}

@keyframes rfq-pulse-active {
    0% {
        box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
    }

    50% {
        box-shadow: 0 0 16px rgba(37, 99, 235, 0.6);
    }

    100% {
        box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
    }
}

.rfq-unified-form .rfq-progress-col.active .bar.active {
    animation: rfq-pulse-active 2s infinite;
}

.rfq-unified-form .rfq-progress-col .step-lbl {
    font-size: 10px;
    font-weight: 500;
    color: #9CA3AF;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25
}

.rfq-unified-form .rfq-progress-col.active .step-lbl {
    color: #0E2D52 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    transform: scale(1.02);
}

.rfq-unified-form .rfq-progress-col.active {
    opacity: 1 !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border-radius: 8px 8px 0 0 !important;
    transition: background 0.3s ease;
}

.rfq-unified-form .rfq-progress-col .step-lbl.on {
    color: #2563EB;
    font-weight: 600;
    opacity: 1;
}

/* Horizontal tabs (legacy / unified-rfq-wizard.js); main form uses .rfq-progress above */
.rfq-tabs {
    /* margin: 0 0 24px; */
    width: 100%;
    min-width: 0
}

.rfq-tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin: 0 -2px;
    padding: 0 2px 2px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9;
}

.rfq-tabs-scroll::-webkit-scrollbar {
    height: 6px
}

.rfq-tabs-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px
}

.rfq-tabs-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px
}

.rfq-tabs-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
    border-bottom: none;
    padding: 0 0 2px;
    gap: 12px;
}

.rfq-tab {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.rfq-tab svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.rfq-tab .fills {
    fill: #A3A3A3;
}

.rfq-tab.is-active {
    color: #2563EB;
    font-weight: 700;
}

.rfq-tab.is-active .fills {
    fill: #2563EB !important;
}

.rfq-tab.is-complete {
    color: #15803d;
}

.rfq-tab.is-complete .fills {
    fill: #15803d !important;
}

.rfq-tab .rfq-tab-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #A3A3A3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.rfq-tab.is-active .rfq-tab-num {
    background: #2563EB;
}

.rfq-tab.is-complete .rfq-tab-num {
    background: #15803d;
}

.rfq-tab:disabled {
    cursor: default;
    opacity: 0.6;
}

/* Remove existing .rfq-tab since it's merged above */
.rfq-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.rfq-sec-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0E2D52;
    display: inline-block
}

.rfq-sec-title.first {
    margin-top: 0
}

.rfq-sec-title--ruled {
    display: block;
    width: 100%;
    border-bottom-color: #0E2D52
}

.rfq-sec-sub {
    font-size: 13px;
    color: #6B7280;
    margin: -8px 0 16px;
    line-height: 1.5
}

.rfq-field {
    position: relative;
    min-height: 40px;
}

.rfq-field>label,
.rfq-field label.rfq-label-top {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px
}

.rfq-req {
    color: #DC2626
}

.rfq-field-help-icon {
    cursor: help;
    color: #6B7280;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1
}

.rfq-field-help-icon:hover,
.rfq-field-help-icon:focus {
    color: #0E2D52;
    outline: none
}

.rfq-field-help-icon .mdi {
    font-size: 18px;
    line-height: 1
}

.rfq-chip .rfq-field-help-icon .mdi {
    font-size: 16px
}

.rfq-sec-title .rfq-field-help-icon {
    margin-left: 6px
}

.tooltip.rfq-field-tooltip .tooltip-inner {
    max-width: min(320px, 92vw);
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
    padding: 10px 12px
}

.rfq-hint {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 6px;
    line-height: 1.4
}

.rfq-field input[type=text],
.rfq-field input[type=email],
.rfq-field input[type=tel],
.rfq-field input[type=number],
.rfq-field input[type=date],
.rfq-field input[type=file],
.rfq-field select,
.rfq-field textarea {
    width: 100%;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s
}

.rfq-field input:focus,
.rfq-field select:focus,
.rfq-field textarea:focus {
    border-color: #0E2D52;
    box-shadow: 0 0 0 3px rgba(14, 45, 82, 0.1)
}

.rfq-field textarea {
    resize: vertical;
    line-height: 1.6
}

.rfq-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.rfq-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px
}

@media(max-width:560px) {

    .rfq-grid2,
    .rfq-grid3 {
        grid-template-columns: 1fr
    }
}

.rfq-input-unit {
    display: flex;
    align-items: stretch;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .15s
}

.rfq-input-unit:focus-within {
    border-color: #0E2D52;
    box-shadow: 0 0 0 3px rgba(14, 45, 82, .1)
}

.rfq-input-unit input {
    border: none;
    border-radius: 0;
    flex: 1;
    padding: 9px 12px;
    min-width: 0;
    outline: none;
    font-size: 14px
}

.rfq-unit-tag {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    background: #F9FAFB;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-left: 1px solid #D1D5DB;
    text-transform: uppercase
}

.rfq-ehouse-physical-tail {
    margin-top: 16px
}

.rfq-ehouse-door-mid {
    margin-top: 16px
}

.rfq-fields-stack {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.rfq-step-copy-width {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2.25rem
}

.rfq-step-copy-width>.rfq-sec-title {
    margin: 0
}

.rfq-step-copy-width>.rfq-sec-sub {
    margin: 0
}

/* Project step: even spacing inside each section; extra padding below each section */
.rfq-wizard-field-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%
}

.rfq-wizard-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2.25rem
}

.rfq-wizard-section>.rfq-sec-title {
    margin: 0;
    padding-bottom: 8px
}

.rfq-wizard-field-stack>.rfq-wizard-section:first-child>.rfq-sec-title:first-of-type {
    margin-top: 1.75rem
}

.rfq-sec-title--upper {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem
}

.rfq-sec-sub--step {
    color: #6B7280;
    font-size: 14px;
    margin: 0 0 1.25rem
}

.rfq-shipment-info-banner {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 1.25rem
}

.rfq-step-copy-width>.rfq-shipment-info-banner {
    margin-bottom: 0
}

.rfq-shipment-step-layout__address-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    animation: rfq-fade-up 0.4s ease-out
}

.rfq-field .rfq-upload-bundle,
.rfq-field .rfq-upload-zone {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.rfq-upload-bundle {
    display: block;
    width: 100%;
    max-width: 100%
}

.rfq-upload-bundle .rfq-upload-zone__result--below {
    margin-top: 12px;
    text-align: left
}

.rfq-upload-bundle .rfq-upload-zone__result--below[hidden] {
    display: none !important
}

.rfq-upload-zone {
    position: relative;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    padding: 24px 20px;
    min-height: 160px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(180deg, #FAFBFC 0%, #F4F6F8 100%);
    transition: border-color .2s, box-shadow .2s, background .2s
}

.rfq-upload-zone__preview-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.rfq-upload-zone__preview {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.rfq-upload-zone__preview-wrap.is-expanded .rfq-upload-zone__preview {
    max-height: 5000px;
    -webkit-mask-image: none;
    mask-image: none;
}

.rfq-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #FDFDFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    width: 100%;
}

.rfq-upload-item:hover {
    border-color: #CBD5E1;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rfq-upload-item__left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    /* Allow text truncate if needed */
}

.rfq-upload-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #9CA3AF;
    font-size: 28px;
}

.rfq-upload-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #fff;
}

.rfq-upload-item__info {
    min-width: 0;
}

.rfq-upload-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.rfq-upload-item__size {
    font-size: 12px;
    color: #6B7280;
}

.rfq-upload-item__remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #FEF2F2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
}

.rfq-upload-item__remove:hover {
    background: #DC2626;
    color: #fff;
    transform: scale(1.1);
}

.rfq-upload-zone__result--list {
    width: 100%;
    display: block;
}

.rfq-upload-zone--small {
    min-height: 80px;
    padding: 12px 16px;
}

.rfq-upload-zone--small .rfq-upload-zone__placeholder {
    min-height: 60px;
    padding: 4px 0;
}

.rfq-upload-zone--small .rfq-upload-zone__drop-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
}

.rfq-upload-zone--small .rfq-upload-txt {
    font-size: 13px;
}

.rfq-upload-zone--small .rfq-upload-sub {
    font-size: 11px;
}

.rfq-upload-zone:hover,
.rfq-upload-zone.rfq-upload-zone--dragover {
    border-color: #0E2D52;
    background: linear-gradient(180deg, #F8FAFF 0%, #EFF6FF 100%);
    box-shadow: 0 4px 24px rgba(14, 45, 82, .08)
}

.rfq-upload-zone.has-file {
    border-color: #D1D5DB;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06)
}

.rfq-upload-zone.rfq-upload-zone--dragover {
    border-style: solid
}

.rfq-upload-zone__content {
    position: relative;
    width: 100%
}

.rfq-upload-zone__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 112px;
    padding: 8px 0
}

.rfq-upload-zone__placeholder[hidden] {
    display: none !important
}

.rfq-upload-zone__drop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    color: #64748B;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
    border: 1px solid #E2E8F0
}

.rfq-upload-zone__result[hidden] {
    display: none !important
}

.rfq-upload-zone__error {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #DC2626;
    text-align: left;
}

.rfq-upload-zone__error[hidden] {
    display: none !important;
}

.rfq-upload-zone__preview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 4px;
    text-align: center
}

.rfq-upload-zone__preview-card--doc {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 12px 40px 12px 16px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E2E8F0
}

.rfq-upload-zone__thumb-wrap {
    width: 100%;
    max-height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center
}

.rfq-upload-zone__thumb {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    display: block
}

.rfq-upload-zone__file-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #EFF6FF;
    color: #0E2D52;
    font-size: 28px;
    line-height: 1
}

.rfq-upload-zone__preview-card--doc .rfq-upload-zone__file-ico {
    width: 56px;
    height: 56px
}

.rfq-upload-zone__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1
}

.rfq-upload-zone__fname {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    word-break: break-word;
    line-height: 1.35
}

.rfq-upload-zone__fsize {
    font-size: 12px;
    color: #64748B;
    font-weight: 500
}

.rfq-upload-zone__clear {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, .06);
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s
}

.rfq-upload-zone__clear:hover {
    background: #FEE2E2;
    color: #DC2626
}

.rfq-upload-zone__clear .mdi {
    font-size: 18px;
    line-height: 1
}

.rfq-upload-bundle.rfq-upload-bundle--dragover .rfq-upload-zone {
    border-color: #0E2D52;
    background: linear-gradient(180deg, #F8FAFF 0%, #EFF6FF 100%);
    box-shadow: 0 4px 24px rgba(14, 45, 82, .08);
    border-style: solid
}

.rfq-upload-zone__multi-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.rfq-upload-zone__title {
    font-size: 14px;
    font-weight: 600;
    color: #4B5563;
}

.rfq-upload-zone__clear--all {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: #ef4444;
    background: #fef2f2;
}

.rfq-upload-zone__clear--all:hover {
    background: #fee2e2;
    color: #dc2626;
}

.rfq-upload-zone__multi-wrap {
    position: relative;
    padding-top: 0;
    min-height: 40px
}

.rfq-upload-zone__multi {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(3 * 4.75rem + 2 * 0.625rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-gutter: stable
}

.rfq-upload-multi-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 44px 10px 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-align: left;
    position: relative;
    min-height: 3.25rem
}

.rfq-upload-multi-item--img {
    align-items: center
}

.rfq-upload-multi-item__remove {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, .06);
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, color .15s
}

.rfq-upload-multi-item__remove:hover {
    background: #FEE2E2;
    color: #DC2626
}

.rfq-upload-multi-item__remove .mdi {
    font-size: 18px;
    line-height: 1
}

.rfq-upload-multi-item__thumb {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #E2E8F0;
    border: 1px solid #CBD5E1
}

.rfq-upload-multi-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.rfq-upload-multi-item__name {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    word-break: break-word;
    line-height: 1.35;
    flex: 1;
    min-width: 0
}

.rfq-upload-txt {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
    letter-spacing: -.01em
}

.rfq-upload-sub {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 0;
    max-width: 100%;
    line-height: 1.45;
    padding: 0 8px
}

.rfq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%
}

.rfq-cb-table-wrap {
    overflow-x: auto;
    margin-bottom: 4px
}

.rfq-cb-table__na {
    color: #D1D5DB;
    font-size: 12px;
    user-select: none
}

.rfq-chip {
    position: relative;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.rfq-chip:hover {
    border-color: #0E2D52;
    color: #0E2D52;
    background: #EFF6FF
}

.rfq-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

.rfq-chip:has(input:checked) {
    border-color: #0E2D52;
    background: #0E2D52;
    color: #fff;
    font-weight: 500
}

/* Legacy switchboard-style options: visible checkboxes, detail field under row */
.rfq-field .checkboxwrapper .form-check-input {
    position: static;
    opacity: 1;
    width: 1em;
    height: 1em;
    margin-top: 0.2em
}

.rfq-field .checkboxwrapper+.mb-3 .form-check-input {
    position: static;
    opacity: 1;
    width: 1em;
    height: 1em;
    margin-top: 0.2em
}

.rfq-field .checkboxwrapper .input-wrapper {
    margin-top: 0.35rem;
    max-width: 420px
}

.rfq-toggle-pair {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

/* Pill Toggle Switch */
.rfq-pill-toggle {
    position: relative;
    display: flex;
    background: #F3F4F6;
    padding: 3px;
    border-radius: 10px;
    margin-bottom: 16px;
    width: fit-content;
    min-width: 260px;
    user-select: none;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.rfq-pill-toggle__slider {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: #0E2D52;
    border-radius: 11px;
    box-shadow: 0 4px 6px -1px rgba(14, 45, 82, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.rfq-pill-toggle__item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 6px 16px;
    cursor: pointer;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.rfq-pill-toggle__label {
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    transition: color 0.2s;
}

.rfq-pill-toggle__item.is-selected .rfq-pill-toggle__label {
    color: #FFFFFF !important;
}

/* 2nd item logic — if it's selected, slide the background */
.rfq-pill-toggle__item:nth-child(2).is-selected~.rfq-pill-toggle__slider {
    transform: translateX(100%);
}

.rfq-pill-toggle__item:nth-child(1).is-selected~.rfq-pill-toggle__slider {
    transform: translateX(0);
}

.rfq-pill-toggle__item:hover:not(.is-selected) .rfq-pill-toggle__label {
    color: #374151;
}

/* Vertical Shipment Layout */
.rfq-shipment-step-layout__main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rfq-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes rfq-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@media (max-width: 480px) {
    .rfq-pill-toggle {
        width: 100%;
        min-width: 0;
    }
}

/* Full-width two-button segmented control (e.g. MV Paralleling Switchgear) — not the sliding pill */
.rfq-radio-segmented {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
    user-select: none;
}

.rfq-radio-segmented__item {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
}

.rfq-radio-segmented__text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.rfq-radio-segmented__item:hover:not(.is-selected) {
    border-color: #9CA3AF;
    background: #F9FAFB;
}

.rfq-radio-segmented__item.is-selected {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

.rfq-radio-segmented__item.is-selected .rfq-radio-segmented__text {
    color: #fff;
}

.rfq-tog {
    flex: 1;
    min-width: 120px;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all .2s;
    display: block
}

.rfq-tog:hover {
    border-color: #0E2D52;
    color: #0E2D52
}

.rfq-tog:has(input:checked) {
    border-color: #0E2D52;
    background: #0E2D52;
    color: #fff;
    font-weight: 500
}

.rfq-tog input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.rfq-banner {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.5
}

.rfq-banner-orange {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #C2410C
}

.rfq-banner-blue {
    background: #EFF6FF;
    border: 1px solid #D1D5DB;
    color: #0a2342
}

.rfq-banner-green {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D
}

.rfq-divider {
    height: 1px;
    background: #F3F4F6;
    margin: 10px 0
}

.rfq-product-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px
}

.rfq-selection-banner {
    margin: 0 0 14px;
    flex-shrink: 0;
}

.rfq-product-type-groups {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1 1 auto;
    min-height: 0;
}

.rfq-product-type-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 5px;
}

.rfq-type-section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6B7280;
    margin: 0;
    padding: 2px 2px 0;
}

.rfq-product-grid--scrollable {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding-right: 8px;
    margin-bottom: 0;
    scrollbar-width: thin;
}

.rfq-product-grid--scrollable::-webkit-scrollbar {
    width: 6px;
}

.rfq-product-grid--scrollable::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.rfq-product-grid--scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Product picker cards — match Uniqfied RFQ/unified-rfq.html (.product-card / .product-check) */
.rfq-product-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
    user-select: none;
}

.rfq-product-card:hover {
    border-color: #93C5FD;
    background: #F8FBFF;
}

.rfq-product-card:has(.rfq-product-checkbox:checked) {
    border-color: #2563EB;
    background: #EFF6FF;
}

.rfq-product-card.selected {
    border-color: #2563EB;
    background: #EFF6FF;
}

.rfq-product-visual {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.rfq-product-icon-char {
    font-size: 22px;
    line-height: 1;
}

.rfq-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rfq-product-icon-svg {
    width: 32px;
    height: 32px;
    color: #3B82F6;
}

.rfq-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.rfq-product-icon-fallback {
    width: 100%;
    height: 100%;
    min-width: 52px;
    min-height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0
}

.rfq-product-info {
    flex: 1;
    min-width: 0
}

.rfq-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px
}

.rfq-product-sub {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4
}

.rfq-product-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2563EB;
    margin-bottom: 3px
}

.rfq-product-check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 13px;
    line-height: 1;
    color: transparent;
}

.rfq-product-card:has(.rfq-product-checkbox:checked) .rfq-product-check {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
}

.rfq-product-card.selected .rfq-product-check {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
}

.rfq-cb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden
}

.rfq-cb-table--mv-qty th:first-child,
.rfq-cb-table--mv-qty td:first-child {
    text-align: left
}

.rfq-cb-table th {
    padding: 9px 14px;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #E5E7EB
}

.rfq-cb-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #F3F4F6;
    color: #111827
}

.rfq-cb-table tr:last-child td {
    border-bottom: none
}

.rfq-cb-table td:not(:first-child) {
    text-align: center
}

.rfq-cb-table input {
    width: 72px;
    padding: 6px 8px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 13px;
    text-align: center
}

.rfq-cb-table input:focus {
    border-color: #0E2D52;
    outline: none;
    box-shadow: 0 0 0 2px rgba(14, 45, 82, 0.12)
}

.rfq-cb-table__stepper {
    vertical-align: middle
}

.rfq-field--number-inline {
    margin: 0
}

/* Native number only — no TouchSpin / +/- wrapper (see unified-rfq.html) */
.rfq-unified-form input[type="number"].rfq-input-number {
    width: 100%;
    max-width: 100%;
    padding: 9px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -moz-appearance: textfield
}

.rfq-unified-form input[type="number"].rfq-input-number::-webkit-outer-spin-button,
.rfq-unified-form input[type="number"].rfq-input-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.rfq-unified-form input[type="number"].rfq-input-number:focus {
    border-color: #0E2D52;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 45, 82, 0.1)
}

.rfq-spec-fields-grid .rfq-field .rfq-input-number,
.rfq-spec-fields-grid--nested .rfq-field .rfq-input-number {
    max-width: 100%
}

/* Combined specs: one product line item visible per wizard sub-step (others use --step-inactive) */
.rfq-specs-combined .rfq-screen__body {
    display: flex;
    flex-direction: column;
    gap: 0
}

.rfq-specs-combined .rfq-spec-section {
    margin: 0;
    padding: 0 0 2.25rem;
    border-bottom: none
}

.rfq-specs-combined .rfq-spec-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 2.25rem;
    border-bottom: none
}

.rfq-spec-section--inactive {
    display: none !important
}

/* Selected in the picker but not the current product tab / Next step */
.rfq-spec-section--step-inactive {
    display: none !important
}

/* Matches unified RFQ `.product-step-header` / `.psh-*` (rfq-inner.blade.php + request-quote-form.css) */
.rfq-product-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px
}

/* ══ Product Step Headers — Colored themed cards (matching unified-rfq.html reference) ══ */
.product-step-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    padding: 14px 16px !important;
    background: #EFF6FF !important;
    border: 1px solid #BFDBFE !important;
    border-radius: 10px !important;
    flex-direction: row !important;
    box-shadow: none !important
}

.product-step-header .psh-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    background: #fff !important;
    border: 1px solid #BFDBFE !important;
    flex-shrink: 0 !important
}

.product-step-header .psh-info {
    flex: 1 !important;
    min-width: 0 !important
}

.product-step-header .psh-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1D4ED8 !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important
}

.product-step-header .psh-sub {
    font-size: 12px !important;
    color: #3B82F6 !important;
    margin-top: 1px !important;
    line-height: 1.4 !important
}

.product-step-header .psh-counter {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #3B82F6 !important;
    background: #DBEAFE !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border: none !important
}

/* Per-product colored themes — background + icon border + title + sub + counter */
.psh--ul891 {
    background: #EFF6FF !important;
    border-color: #BFDBFE !important
}

.psh--ul891 .psh-icon {
    border-color: #BFDBFE !important
}

.psh--ul891 .psh-title {
    color: #1D4ED8 !important
}

.psh--ul891 .psh-sub {
    color: #3B82F6 !important
}

.psh--ul891 .psh-counter {
    background: #DBEAFE !important;
    color: #1D4ED8 !important
}

.psh--ul1558 {
    background: #F0FDF4 !important;
    border-color: #BBF7D0 !important
}

.psh--ul1558 .psh-icon {
    border-color: #BBF7D0 !important
}

.psh--ul1558 .psh-title {
    color: #15803D !important
}

.psh--ul1558 .psh-sub {
    color: #16A34A !important
}

.psh--ul1558 .psh-counter {
    background: #DCFCE7 !important;
    color: #15803D !important
}

.psh--mv {
    background: #FFF7ED !important;
    border-color: #FED7AA !important
}

.psh--mv .psh-icon {
    border-color: #FED7AA !important
}

.psh--mv .psh-title {
    color: #C2410C !important
}

.psh--mv .psh-sub {
    color: #EA580C !important
}

.psh--mv .psh-counter {
    background: #FFEDD5 !important;
    color: #C2410C !important
}

.psh--epc {
    background: #FEF2F2 !important;
    border-color: #FECACA !important
}

.psh--epc .psh-icon {
    border-color: #FECACA !important
}

.psh--epc .psh-title {
    color: #DC2626 !important
}

.psh--epc .psh-sub {
    color: #EF4444 !important
}

.psh--epc .psh-counter {
    background: #FEE2E2 !important;
    color: #DC2626 !important
}

.psh--panel {
    background: #F5F3FF !important;
    border-color: #DDD6FE !important
}

.psh--panel .psh-icon {
    border-color: #DDD6FE !important
}

.psh--panel .psh-title {
    color: #6D28D9 !important
}

.psh--panel .psh-sub {
    color: #7C3AED !important
}

.psh--panel .psh-counter {
    background: #EDE9FE !important;
    color: #6D28D9 !important
}

.psh--ehouse {
    background: #FFFBEB !important;
    border-color: #FDE68A !important
}

.psh--ehouse .psh-icon {
    border-color: #FDE68A !important
}

.psh--ehouse .psh-title {
    color: #B45309 !important
}

.psh--ehouse .psh-sub {
    color: #D97706 !important
}

.psh--ehouse .psh-counter {
    background: #FEF3C7 !important;
    color: #B45309 !important
}

.rfq-psh-body {
    flex: 1;
    min-width: 0
}

.rfq-psh-title {
    font-size: 15px;
    font-weight: 700;
    color: #1D4ED8;
    line-height: 1.3;
    margin-bottom: 2px
}

.rfq-psh-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #fff;
    border: 1px solid #BFDBFE;
    flex-shrink: 0
}

.rfq-psh-sub {
    font-size: 12px;
    font-weight: 400;
    color: #3B82F6;
    line-height: 1.4
}

/* Per-product palette (same inline colors as rfq-inner product-step-header screens) */
.rfq-product-step-header.rfq-psh--ul1558 {
    background: #F0FDF4;
    border-color: #BBF7D0
}

.rfq-product-step-header.rfq-psh--ul1558 .rfq-psh-icon {
    border-color: #BBF7D0
}

.rfq-product-step-header.rfq-psh--ul1558 .rfq-psh-title {
    color: #15803D
}

.rfq-product-step-header.rfq-psh--ul1558 .rfq-psh-sub {
    color: #16A34A
}

.rfq-product-step-header.rfq-psh--ul1558 .rfq-psh-counter {
    color: #15803D;
    background: #DCFCE7
}

.rfq-product-step-header.rfq-psh--mv {
    background: #FFF7ED;
    border-color: #FED7AA
}

.rfq-product-step-header.rfq-psh--mv .rfq-psh-icon {
    border-color: #FED7AA
}

.rfq-product-step-header.rfq-psh--mv .rfq-psh-title {
    color: #C2410C
}

.rfq-product-step-header.rfq-psh--mv .rfq-psh-sub {
    color: #EA580C
}

.rfq-product-step-header.rfq-psh--mv .rfq-psh-counter {
    color: #C2410C;
    background: #FFEDD5
}

.rfq-product-step-header.rfq-psh--panel {
    background: #F5F3FF;
    border-color: #DDD6FE
}

.rfq-product-step-header.rfq-psh--panel .rfq-psh-icon {
    border-color: #DDD6FE
}

.rfq-product-step-header.rfq-psh--panel .rfq-psh-title {
    color: #6D28D9
}

.rfq-product-step-header.rfq-psh--panel .rfq-psh-sub {
    color: #7C3AED
}

.rfq-product-step-header.rfq-psh--panel .rfq-psh-counter {
    color: #6D28D9;
    background: #EDE9FE
}

.rfq-product-step-header.rfq-psh--epc {
    background: #FEF2F2;
    border-color: #FECACA
}

.rfq-product-step-header.rfq-psh--epc .rfq-psh-icon {
    border-color: #FECACA
}

.rfq-product-step-header.rfq-psh--epc .rfq-psh-title {
    color: #DC2626
}

.rfq-product-step-header.rfq-psh--epc .rfq-psh-sub {
    color: #EF4444
}

.rfq-product-step-header.rfq-psh--epc .rfq-psh-counter {
    color: #DC2626;
    background: #FEE2E2
}

.rfq-product-step-header.rfq-psh--ehouse {
    background: #FFFBEB;
    border-color: #FDE68A
}

.rfq-product-step-header.rfq-psh--ehouse .rfq-psh-icon {
    border-color: #FDE68A
}

.rfq-product-step-header.rfq-psh--ehouse .rfq-psh-title {
    color: #B45309
}

.rfq-product-step-header.rfq-psh--ehouse .rfq-psh-sub {
    color: #D97706
}

.rfq-product-step-header.rfq-psh--ehouse .rfq-psh-counter {
    color: #B45309;
    background: #FEF3C7
}

.rfq-psh-project-mirror {
    font-size: 12px;
    color: #64748B;
    margin-top: 8px;
    line-height: 1.35
}

.rfq-psh-project-mirror__label {
    font-weight: 500;
    color: #64748B;
    margin-right: 6px
}

.rfq-psh-project-mirror__value {
    font-weight: 700;
    color: #0F172A
}

.rfq-psh-counter {
    font-size: 11px;
    font-weight: 600;
    color: #3B82F6;
    background: #DBEAFE;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0
}

.rfq-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
}

.rfq-screen__fixed-bottom {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    z-index: 10;
    padding-bottom: 24px;
    /* Extra padding to ensure it doesn't hug the very bottom if inside a scrollable */
}

.rfq-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.rfq-nav-warn {
    font-size: 12px;
    color: #9CA3AF
}

.rfq-btn-cancel,
.rfq-btn-back {
    padding: 9px 20px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center
}

.rfq-btn-cancel:hover,
.rfq-btn-back:hover {
    border-color: #9CA3AF;
    background: #F9FAFB
}

.rfq-btn-next {
    padding: 9px 24px;
    border-radius: 8px;
    background: #0E2D52;
    border: none;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.rfq-btn-next:hover:not(:disabled) {
    background: #0a2342;
    box-shadow: 0 2px 8px rgba(14, 45, 82, .35)
}

.rfq-btn-next:disabled {
    opacity: .4;
    cursor: not-allowed
}

/* —— RFQ success / submitted state (full-page success + pending products) —— */
.rfq-success-page-wrapper {
    scroll-behavior: smooth;
    min-height: 100vh;
    background: #F8FAFC
}

.rfq-success-layout {
    max-width: 100%
}

.rfq-success-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 3rem;
    background: #0F172A;
    overflow: hidden;
    min-height: 100vh
}

.rfq-success-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1);
    z-index: 0;
}

.rfq-success-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.4) 0%, rgba(14, 45, 82, 0.5) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.rfq-success-hero__decor {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.rfq-success-hero__decor--tl {
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    top: -120px;
    right: -80px
}

.rfq-success-hero__decor--br {
    width: min(280px, 50vw);
    height: min(280px, 50vw);
    bottom: -100px;
    left: -70px
}

.rfq-success-hero__inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: min(640px, 100%);
    margin: 0 auto
}

.rfq-success-modal {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem 1.75rem;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, .25)
}

.rfq-success-modal__header {
    text-align: center;
    margin-bottom: 0
}

.rfq-success-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 0;
    border-radius: 50%;
    background: #0E2D52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(14, 45, 82, .45)
}

.rfq-success-modal__icon .mdi {
    font-size: 42px
}

.rfq-success-modal__title {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 .65rem;
    letter-spacing: -.02em;
    padding-top: 10px;
}

.rfq-success-modal__text {
    font-size: 15px;
    line-height: 1.6;
    color: #64748B;
    margin: 0 0 1rem
}

.rfq-success-modal__ref {
    margin: 0;
    padding: .65rem 1rem;
    background: #F1F5F9;
    border-radius: 10px;
    border: 1px solid #E2E8F0
}

.rfq-success-modal__ref-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748B;
    margin-bottom: .25rem
}

.rfq-success-modal__ref-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0c2543;
    letter-spacing: .04em;
    background: none;
    padding: 0
}

/* Scroll region: ~2 product cards visible; rest scroll inside */
.rfq-success-modal__requested-list-wrap {
    width: 100%;
    min-height: 0;
    max-height: none;
    margin-top: .85rem;
    padding-right: 0;
    overflow: visible;
    text-align: left
}

/* Same product header treatment as specs step (per-slug palette via .rfq-psh--*) */
.rfq-success-modal__requested-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 0;
    text-align: left
}

.rfq-success-modal__requested-list .rfq-product-step-header {
    margin-bottom: 0
}

.rfq-success-modal__requested {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin-top: .65rem;
    padding: .6rem .85rem;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 10px;
    text-align: left
}

.rfq-success-modal__requested-label {
    flex: 0 0 100%;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #15803D;
    margin: 0;
    line-height: 1.2
}

.rfq-success-modal__requested-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #14532D;
    line-height: 1.35;
    text-align: left
}

.rfq-success-modal__requested-tick {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16A34A;
    font-size: 26px;
    line-height: 1;
    margin-left: auto
}

.rfq-success-modal__requested-tick .mdi {
    font-size: 26px
}

.rfq-success-modal__divider {
    height: 1px;
    background: #E5E7EB;
    margin: 1.35rem 0
}

.rfq-success-modal__divider--light {
    background: #F1F5F9
}

.rfq-success-modal__section {
    margin: 0
}

.rfq-success-modal__section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #374151;
    margin: 0 0 .35rem;
    text-align: left
}

.rfq-success-modal__section-hint {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 1rem;
    line-height: 1.5;
    text-align: left
}

.rfq-success-product-list--in-card {
    margin: 0
}

.rfq-success-products__note--in-card {
    margin-top: 1rem;
    margin-bottom: 0
}

.rfq-success-modal__pending-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%
}

.rfq-success-modal__pending-grid>.rfq-product-card--link {
    width: 100%;
    align-self: stretch
}

.rfq-success-modal__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2rem;
    text-align: center
}

.rfq-success-modal__footer--top {
    margin-top: 1rem;
    margin-bottom: .35rem;
}

.rfq-success-modal__footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.rfq-success-modal__footer-link {
    font-weight: 600;
    border-radius: 10px
}

.rfq-success-modal__footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .55rem 1.25rem;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    text-decoration: none
}

.rfq-success-modal__footer-btn .mdi {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0
}

.rfq-success-modal__footer-btn--outline {
    border-width: 2px
}

.rfq-success-modal__footer-btn--solid {
    box-shadow: 0 4px 14px rgba(14, 45, 82, .35);
    transition: background .2s, box-shadow .2s, transform .15s
}

.rfq-success-modal__footer-btn--solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 45, 82, .4)
}

.rfq-success-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    margin: 0 auto;
    padding: .55rem 1.75rem;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    background: #0E2D52;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(14, 45, 82, .4);
    text-decoration: none;
    transition: background .2s, box-shadow .2s, transform .15s
}

.rfq-success-modal__btn:hover {
    background: #0a2342;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(14, 45, 82, .45);
    transform: translateY(-1px)
}

.rfq-success-summary {
    padding: 2rem 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #E5E7EB
}

.rfq-success-summary__inner {
    max-width: 720px;
    margin: 0 auto
}

.rfq-success-summary__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #374151;
    margin: 0 0 .35rem
}

.rfq-success-summary__hint {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 1rem;
    line-height: 1.5
}

.rfq-success-pending {
    padding: 2rem 1.25rem 2.5rem;
    background: #F8FAFC
}

.rfq-success-pending__inner {
    max-width: 900px;
    margin: 0 auto
}

.rfq-success-pending__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 .5rem;
    letter-spacing: -.02em
}

.rfq-success-pending__lede {
    font-size: 14px;
    line-height: 1.55;
    color: #64748B;
    margin: 0 0 1.25rem;
    max-width: 42rem
}

.rfq-success-pending__grid {
    display: flex;
    flex-direction: column;
    gap: 12px
}

@media (min-width: 576px) {
    .rfq-success-pending__grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 14px
    }
}

.rfq-success-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.25rem 1rem 2rem;
    background: #fff;
    border-top: 1px solid #E5E7EB
}

.rfq-success-footer-actions__link {
    min-height: 42px;
    font-weight: 600;
    border-radius: 10px
}

.rfq-product-card.rfq-product-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    align-items: center
}

.rfq-product-card.rfq-product-card--link:hover {
    border-color: #0E2D52;
    background: #F8FBFF;
    box-shadow: 0 4px 16px rgba(14, 45, 82, .12)
}

.rfq-product-card.rfq-product-card--link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 45, 82, .35)
}

.rfq-product-card__cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: #0E2D52;
    color: #fff;
    white-space: nowrap
}

.rfq-product-card.rfq-product-card--link:hover .rfq-product-card__cta {
    background: #0a2342
}

/* Legacy success page block (kept for shared list / note styles) */
.rfq-success-page {
    padding: 2rem 0 3rem;
    max-width: 100%
}

.rfq-success-page__header {
    text-align: left;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB
}

.rfq-success-page__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6B7280;
    margin: 0 0 .75rem
}

.rfq-success-page__title {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.02em;
    margin: 0 0 .5rem;
    line-height: 1.2
}

.rfq-success-page__lede {
    font-size: 15px;
    line-height: 1.65;
    color: #4B5563;
    margin: 0;
    max-width: 36rem
}

.rfq-success-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
    margin-bottom: 1.75rem
}

.rfq-success-card__accent {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #D1D5DB
}

.rfq-success-card__check {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0E2D52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(14, 45, 82, .35)
}

.rfq-success-card__check .mdi {
    font-size: 28px
}

.rfq-success-card__content {
    padding: 1.5rem 1.5rem 1.75rem
}

.rfq-success-ref {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: 1.5rem;
    padding: .75rem 1rem;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E2E8F0
}

.rfq-success-ref__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748B
}

.rfq-success-ref__code {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0c2543;
    letter-spacing: .04em;
    background: transparent;
    padding: 0;
    margin: 0
}

.rfq-success-products__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #374151;
    margin: 0 0 .35rem
}

.rfq-success-products__hint {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 1rem;
    line-height: 1.5
}

.rfq-success-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.rfq-success-product-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #FAFBFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease
}

.rfq-success-product-item--entry {
    border-color: #D1D5DB;
    background: linear-gradient(180deg, #F8FAFF 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(14, 45, 82, .08)
}

.rfq-success-product-item__glyph {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1
}

.rfq-success-product-item__body {
    min-width: 0;
    flex: 1;
    text-align: left
}

.rfq-success-product-item__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: .2rem
}

.rfq-success-product-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827
}

.rfq-success-product-item__badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #0a2342;
    background: #EFF6FF;
    border: 1px solid #D1D5DB;
    padding: 3px 8px;
    border-radius: 6px
}

.rfq-success-product-item__sub {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 .25rem;
    line-height: 1.45
}

.rfq-success-product-item__names {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.4
}

.rfq-success-products__note {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #4B5563;
    margin: 1.25rem 0 0;
    padding: 12px 14px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px
}

.rfq-success-products__note-icon {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #D97706;
    margin-top: 2px
}

.rfq-success-products__note-text {
    flex: 1;
    min-width: 0;
    display: block
}

.rfq-success-products__empty {
    font-size: 14px;
    line-height: 1.6
}

.rfq-success-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px
}

@media (min-width: 480px) {
    .rfq-success-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center
    }
}

.rfq-success-actions__primary {
    min-height: 44px;
    padding: .6rem 1.25rem;
    font-weight: 600;
    border-radius: 10px
}

.rfq-success-actions__secondary {
    min-height: 44px;
    padding: .6rem 1.25rem;
    font-weight: 600;
    border-radius: 10px
}

#rfq-error-summary.rfq-banner {
    margin-bottom: 16px
}

span.rfq-jqv-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #B91C1C;
    line-height: 1.35
}

.rfq-field.has-field-error .rfq-jqv-error {
    margin-top: 4px
}

.rfq-field .form-control.is-invalid,
.rfq-field select.is-invalid,
.rfq-field textarea.is-invalid,
.rfq-field input.is-invalid {
    border-color: #DC2626;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, .15)
}

.select2-container.is-invalid .select2-selection {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, .15)
}

.rfq-hidden {
    display: none !important
}

.rfq-screen {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.rfq-screen.rfq-hidden {
    display: none !important
}

footer.rfq-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: #9CA3AF
}

.rfq-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    top: 0;
    left: 0;
}

.rfq-agent-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.rfq-agent-header__left {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    flex: 1
}

.rfq-agent-header__avatar {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    background: #EFF6FF;
    color: #0a2342;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', system-ui, sans-serif
}

.rfq-agent-header__agency-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 2px
}

.rfq-agent-header__owner {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 6px
}

.rfq-agent-header__meta {
    font-size: 12px;
    color: #6B7280;
    margin-top: 2px
}

.rfq-agent-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #15803D;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 2px 8px;
    border-radius: 999px
}

.rfq-agent-header__badge--soft {
    color: #4B5563;
    background: #F3F4F6;
    border-color: #E5E7EB
}

.rfq-agent-header__right {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0
}

.rfq-agent-header__user-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151
}

.rfq-agent-header__role {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 1px
}

.rfq-quote-type-block {
    margin-bottom: 10px;
    min-width: 0;
    max-width: 100%;
}

.rfq-quote-type__title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px
}

.rfq-quote-type__legend {
    margin-top: 0;
    margin-bottom: 16px
}

.rfq-quote-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

@media(max-width:640px) {
    .rfq-quote-type-grid {
        grid-template-columns: 1fr
    }
}

.rfq-quote-type-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
    text-align: left
}

.rfq-quote-type-card:hover {
    border-color: #D1D5DB;
    background: #F8FBFF
}

.rfq-quote-type-card:has(input:checked),
.rfq-quote-type-card--selected {
    border-color: #0E2D52 !important;
    border-width: 2px !important;
    background: #F0F9FF !important;
    box-shadow: 0 4px 12px rgba(14, 45, 82, 0.15) !important;
    transform: translateY(-2px);
}

.rfq-quote-type-card__icon {
    font-size: 20px;
    line-height: 1
}

.rfq-quote-type-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #111827
}

.rfq-quote-type-card__desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.45
}

/* Agent intel grid: prevent columns growing with long Select2 / option text */
.rfq-agent-quote-fields .rfq-bid-intel-grid>div {
    min-width: 0;
    max-width: 100%;
}

.rfq-agent-quote-fields .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.rfq-agent-quote-fields .select2-selection--single {
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    position: relative;
    min-height: 41px;
    height: auto !important;
    padding: 0 !important;
}

.rfq-agent-quote-fields .select2-selection__rendered {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    align-self: center !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    padding: 0 30px 0 12px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.rfq-agent-quote-fields .select2-selection__arrow {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    height: auto !important;
    margin-top: 0 !important;
}

.rfq-agent-quote-fields select.rfq-bid-intel-input {
    max-width: 100%;
}

/* Agent bid / buy / budgetary — live countdown & triage (from unified-rfq.html) */
.rfq-agent-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.rfq-agent-countdown-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 100%;
    background: linear-gradient(135deg, transparent 55%, rgba(14, 165, 233, 0.1));
    pointer-events: none;
}

.rfq-agent-countdown-days-col {
    text-align: center;
    min-width: 56px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rfq-agent-countdown-days {
    font-size: 28px;
    font-weight: 800;
    color: #0369A1;
    line-height: 1;
}

.rfq-agent-countdown-unit {
    font-size: 11px;
    font-weight: 600;
    color: #075985;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rfq-agent-countdown-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rfq-agent-countdown-sub {
    font-size: 13px;
    color: #0C4A6E;
    flex: 1;
    min-width: 140px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.rfq-agent-countdown-pill {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@media (max-width:640px) {
    .rfq-agent-countdown-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .rfq-agent-countdown-pill {
        margin-left: 0;
    }
}

.rfq-agent-countdown-badge--none {
    background: #1E293B;
    color: #64748B;
}

.rfq-agent-countdown-badge--critical {
    background: #7F1D1D;
    color: #FCA5A5;
}

.rfq-agent-countdown-badge--high {
    background: #78350F;
    color: #FCD34D;
}

.rfq-agent-countdown-badge--standard {
    background: #0a2342;
    color: #D1D5DB;
}

.rfq-agent-countdown-badge--early {
    background: #14532D;
    color: #86EFAC;
}

.rfq-agent-countdown-badge--buy {
    background: #14532D;
    color: #86EFAC;
}

.rfq-agent-countdown-pill--critical {
    background: #7F1D1D;
    color: #FCA5A5;
}

.rfq-agent-countdown-pill--high {
    background: #78350F;
    color: #FCD34D;
}

.rfq-agent-countdown-pill--standard {
    background: #0a2342;
    color: #D1D5DB;
}

.rfq-agent-countdown-pill--early {
    background: #14532D;
    color: #86EFAC;
}

.rfq-agent-countdown-pill--buy {
    background: #14532D;
    color: #86EFAC;
}

.rfq-bid-intel {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    overflow: visible;
}

.rfq-bid-intel::before {
    content: none;
}

.rfq-bid-intel-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 12px;
}

.rfq-bid-intel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rfq-bid-intel-grid>div {
    min-width: 0 !important;
    max-width: 100% !important;
}

.rfq-bid-intel-label {
    display: block !important;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.rfq-bid-intel-input {
    width: 100%;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
}

.rfq-bid-intel-divider {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

@media(max-width:767.98px) {
    .rfq-bid-intel-grid {
        grid-template-columns: 1fr;
    }
}

@media(min-width:768px) {
    .rfq-request-quote-layout .rfq-hero {
        padding-top: 24px
    }
}

/*
 * Request-quote page layout (standalone — do not load quotation.css here: it sets html/body
 * overflow:hidden and fixed .scrolly heights, which can hide the wizard).
 */
.rfq-request-quote-layout {
    min-height: 100vh;
    background: #f8f9fa;
    overflow-x: hidden
}

.rfq-request-quote-layout .rfq-request-quote-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    min-height: 100vh
}

.rfq-request-quote-layout .rfq-request-quote-image-col {
    flex: 1 1 50%;
    max-width: 50%;
    min-height: 100vh;
    padding: 0 !important;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.rfq-request-quote-layout .right-pane {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0;
    background: #fff !important;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.rfq-request-quote-layout .left-pane {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-color: #1a1816;
    background-image:
        linear-gradient(180deg, rgba(26, 24, 22, 0.25) 0%, rgba(14, 12, 10, 0.72) 100%),
        url('../image/rfq-left-pane-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.rfq-nav {
    position: sticky;
    bottom: 0px;
    background: #fff;
    padding: 1.25rem 0;
    border-top: 1px solid #E5E7EB;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.rfq-request-quote-side-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    flex: 1 1 auto;
    border: 0;
}

.rfq-request-quote-layout #rfq-unified-form.rfq-unified-form,
.rfq-request-quote-layout form.rfq-unified-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100% !important;
    overflow: hidden !important;
}

.rfq-form-top {
    flex-shrink: 0;
    padding: 0.75rem 1rem 0.4rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Merged session + hero header (single compact card) */
.rfq-unified-header {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rfq-unified-header__session.session-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 1px solid #F3F4F6;
}

.rfq-unified-header__session .session-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 12px;
}

.rfq-unified-header__agency {
    flex: 1;
    min-width: 0;
}

.rfq-unified-header__agency-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rfq-unified-header__session .session-agency-name {
    font-size: 13px;
}

.rfq-unified-header__session .session-meta {
    margin-top: 1px;
    font-size: 10px;
}

.rfq-unified-header__session .session-user {
    padding-left: 12px;
    margin-left: 0;
}

.rfq-unified-header__session .session-user-name {
    font-size: 12px;
}

.rfq-unified-header__session .session-user-role {
    font-size: 9px;
    margin-top: 1px;
}

.rfq-unified-header__session .session-user-email {
    font-size: 10px;
    margin-top: 0;
}

.rfq-unified-header__agency-owner {
    display: block;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.rfq-unified-header__hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rfq-unified-header__hero--with-session {
    padding-top: 0;
}

.rfq-unified-header__title {
    min-width: 0;
}

.rfq-unified-header__title .rfq-hero-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 2px;
}

.rfq-unified-header__heading {
    color: #0c2543;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
}

.rfq-unified-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rfq-unified-header__actions .save-status {
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rfq-unified-header__actions .quote-id-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .rfq-unified-header__session.session-header {
        flex-wrap: wrap;
    }

    .rfq-unified-header__session .session-user {
        width: 100%;
        text-align: left;
        border-left: none;
        border-top: 1px solid #F3F4F6;
        padding: 8px 0 0;
        margin-top: 4px;
    }

    .rfq-unified-header__hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .rfq-unified-header__actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

.rfq-form-scroll {
    flex: 1 1 0%;
    /* Use 0% to force accurate flex calculation */
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto !important;
    /* Force scroll */
    padding: 1rem 1rem 0;
    margin-right: -2px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9;
}

.rfq-form-scroll::-webkit-scrollbar {
    width: 8px;
}

.rfq-form-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.rfq-form-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.rfq-form-scroll__alerts {
    flex-shrink: 0;
    padding-top: 0;
    margin-bottom: 0
}

/* Space only when a banner is actually visible (skip dead gap under tabs) */
.rfq-form-top__alerts:has(.rfq-banner:not(.rfq-hidden)) {
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

.rfq-form-scroll__alerts .rfq-banner+.rfq-banner {
    margin-top: 0.5rem
}

.rfq-request-quote-layout .rfq-form-stack {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column
}

.rfq-request-quote-layout .rfq-form-stack>.rfq-screen:not(.hidden):not(.rfq-hidden) {
    flex: 1 1 auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.rfq-request-quote-layout .rfq-screen>.rfq-screen__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: visible !important;
    /* Never scroll inner body */
    margin-top: 10px;
}

.rfq-request-quote-layout .rfq-screen>.rfq-screen__body::-webkit-scrollbar {
    width: 8px
}

.rfq-request-quote-layout .rfq-screen>.rfq-screen__body::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px
}

.rfq-request-quote-layout .rfq-screen>.rfq-screen__body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px
}

.rfq-request-quote-layout .rfq-screen>.rfq-screen__body::-webkit-scrollbar-thumb:hover {
    background: #94A3B8
}

.rfq-request-quote-layout .rfq-screen>.rfq-nav {
    flex-shrink: 0;
    position: sticky;
    bottom: -1px;
    /* Sticky at the bottom of the scrollable area */
    margin-top: auto;
    padding: 1.25rem 16px;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    z-index: 20;
}

.rfq-request-quote-layout .rfq-screen--selection>.rfq-screen__fixed-top {
    flex-shrink: 0;
    padding-left: 16px;
    padding-right: 16px;
}

@media(max-width:767.98px) {
    .rfq-form-scroll {
        max-height: none
    }
}

.rfq-request-quote-layout .rfq-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 1rem 1rem;
    width: 100%;
    background: #F8F9FA;
    border-top: 1px dashed #E5E7EB;
    font-size: 11px;
    color: #9CA3AF;
    text-align: center;
}

@media(max-width:767.98px) {
    .rfq-request-quote-layout .rfq-request-quote-image-col {
        display: none !important
    }

    .rfq-request-quote-layout .rfq-request-quote-pane {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .rfq-request-quote-layout .rfq-request-quote-scroll {
        flex: 1 1 auto;
        min-height: 0;
    }

    .rfq-request-quote-layout #rfq-unified-form.rfq-unified-form,
    .rfq-request-quote-layout form.rfq-unified-form {
        overflow: visible;
        flex: 1 1 auto;
    }

    .rfq-form-scroll {
        min-height: 0;
        overflow-y: hidden;
        max-height: none
    }

    .rfq-request-quote-side-img {
        min-height: 0
    }
}

.rfq-form-stack {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0
}

.rfq-spec-fields-grid,
.rfq-spec-fields-grid--nested {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    max-width: 100%
}

.rfq-spec-fields-grid>.rfq-field,
.rfq-spec-fields-grid--nested>.rfq-field {
    min-width: 0
}

.rfq-spec-fields-grid>.rfq-field--full,
.rfq-spec-fields-grid>.rfq-field.rfq-field--full,
.rfq-spec-fields-grid--nested>.rfq-field--full,
.rfq-spec-fields-grid--nested>.rfq-field.rfq-field--full {
    grid-column: 1/-1
}

.rfq-spec-fields-grid .select2-container,
.rfq-spec-fields-grid--nested .select2-container {
    max-width: 100%
}

@media(max-width:767.98px) {

    .rfq-spec-fields-grid,
    .rfq-spec-fields-grid--nested {
        grid-template-columns: 1fr
    }
}

.rfq-shipment-step-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%
}

.rfq-shipment-step-layout__dates {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
    align-items: start;
    width: 100%
}

.rfq-shipment-step-layout__half {
    min-width: 0
}

.rfq-shipment-step-layout__method-address {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
    align-items: start;
    width: 100%
}

.rfq-shipment-step-layout__method,
.rfq-shipment-step-layout__address {
    min-width: 0
}

.rfq-shipment-step-layout__comments {
    width: 100%
}

.rfq-shipment-step-layout__comments .rfq-field {
    width: 100%;
    max-width: 100%
}

.rfq-shipment-step-layout__upload {
    width: 100%;
    max-width: 100%
}

.rfq-shipment-step-layout__upload .rfq-field {
    width: 100%;
    max-width: 100%
}

@media(max-width:767.98px) {

    .rfq-shipment-step-layout__dates,
    .rfq-shipment-step-layout__method-address {
        grid-template-columns: 1fr
    }
}

.rfq-request-quote-layout .rfq-field .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 6px
}

/* Real-time upload progress - Robust Flow Additions */
.rfq-upload-progress-wrap {
    margin-top: 12px;
    width: 100%;
}

.rfq-upload-progress-bar {
    height: 6px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.rfq-upload-progress-fill {
    height: 100%;
    background: #0E2D52;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.rfq-upload-progress-text {
    font-size: 11px;
    color: #64748B;
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.rfq-upload-multi-item.is-uploading {
    border-color: #D1D5DB;
    background: #EFF6FF;
}

.rfq-upload-multi-item.is-success {
    border-color: #E2E8F0;
    background: #FFFFFF;
}

.rfq-upload-multi-item.is-error {
    border-color: #FECACA;
    background: #FEF2F2;
}

.rfq-upload-status-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.rfq-upload-status-icon.success {
    background: #22C55E;
    color: #fff;
}

.rfq-upload-status-icon.error {
    background: #EF4444;
    color: #fff;
}

.rfq-upload-retry-btn {
    font-size: 12px;
    color: #0E2D52;
    background: #fff;
    border: 1px solid #D1D5DB;
    padding: 4px 10px;
    margin-right: 8px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.rfq-upload-retry-btn:hover {
    background: #E0E7FF;
    border-color: #0E2D52;
}

.rfq-upload-multi-item__actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.rfq-upload-error-msg {
    font-size: 11px;
    color: #EF4444;
    margin-top: 2px;
    font-weight: 500;
}

.rfq-autosave-indicator {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.rfq-autosave-indicator.rfq-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.rfq-autosave-indicator i {
    font-size: 18px;
}

.rfq-btn--loading {
    cursor: wait !important;
    opacity: 0.7;
}

/* Agency Banner Modernization */
.agency-banner {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 18px;
    gap: 16px;
    margin-bottom: 24px;
}

.agency-logo {
    width: 48px;
    height: 48px;
    background: #0E2D52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    border-radius: 10px;
    flex-shrink: 0;
}

.agency-info {
    flex: 1;
}

.agency-name {
    font-size: 17px;
    font-weight: 700;
    color: #0E2D52;
    margin-bottom: 2px;
}

.agency-verified {
    font-size: 13px;
    color: #10B981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.agency-agent {
    text-align: right;
}

.agent-name {
    font-size: 15px;
    font-weight: 700;
    color: #0E2D52;
}

.agent-role {
    font-size: 13px;
    color: #64748B;
}

@media (max-width: 640px) {
    .agency-banner {
        flex-wrap: wrap;
    }

    .agency-agent {
        width: 100%;
        text-align: left;
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px dashed #CBD5E1;
    }
}

/* SLD Upload Section Styles */
.rfq-sld-upload-section {
    margin-top: 2rem;
}

.rfq-sld-upload-section .rfq-sec-title {
    margin-top: 0;
    margin-bottom: 4px;
}

.rfq-hint-small {
    font-size: 13px;
    color: #6B7280;
}

.rfq-divider {
    height: 1px;
    background: #E5E7EB;
    width: 100%;
    margin: 2rem 0;
}

/* Custom Split Pane Left/Right Layout Enhancements */
@media (max-width: 991.98px) {
    .rfq-request-quote-layout .rfq-request-quote-row {
        flex-direction: column !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .rfq-request-quote-layout .left-pane {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        overflow-y: visible !important;
        display: flex !important;
        padding: 0 !important;
    }

    .rfq-request-quote-layout .right-pane {
        flex: 1 1 0% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .left-pane-content {
        display: none !important;
    }

    .rfq-form-scroll {
        padding: 1.5rem 1.25rem 0 !important;
    }

    .rfq-unified-form>footer {
        padding: 1rem 1.25rem !important;
    }
}

/* Premium Left Pane Content Styling */
.left-pane-content {
    color: #ffffff;
    padding: 1.5rem 2.5rem 3rem !important;
    /* tight top padding when header is present */
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: rfq-pane-fade-in 0.4s ease-out;
}

.left-pane-title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

.left-pane-content .left-pane-icon-container {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

.left-pane-header-container {
    padding: 2.5rem 2.5rem 0.5rem;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .left-pane-header-container {
        padding: 1rem 1rem 0;
        max-width: 100%;
    }
}

/* Dark mode adaptability for Session Header Card in Left Pane */
.left-pane .session-header {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.left-pane .session-agency-name {
    color: #ffffff !important;
}

.left-pane .session-user-name {
    color: #ffffff !important;
}

.left-pane .session-user {
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.left-pane .session-meta {
    color: #CBD5E1 !important;
}

.left-pane .session-user-role {
    color: #94A3B8 !important;
}

/* Dark mode adaptability for Quote ID Bar in Left Pane */
.left-pane .quote-id-bar {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #E2E8F0 !important;
}

.left-pane .quote-id-label {
    color: #ffffff !important;
}

.left-pane .save-status {
    color: #94A3B8 !important;
}

.left-pane-content.hidden {
    display: none !important;
}

.left-pane-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.left-pane-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38BDF8;
    /* Premium light blue accent color */
}

.left-pane-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.left-pane-description {
    font-size: 15px;
    color: #93C5FD;
    /* Soft light blue/gray color */
    line-height: 1.6;
}

.left-pane-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    width: 100%;
}

.left-pane-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    color: #38BDF8;
    margin-bottom: 0.5rem;
}

.left-pane-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.left-pane-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
    color: #E2E8F0;
    transition: all 0.2s ease;
}

.left-pane-check-item.completed {
    color: #94A3B8;
}

.left-pane-check-item.active {
    font-weight: 600;
    color: #38BDF8;
}

.left-pane-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
}

.left-pane-check-icon.completed {
    background: #10B981;
    color: #ffffff;
}

.left-pane-check-icon.active {
    border: 2px solid #38BDF8;
    background: transparent;
    position: relative;
}

.left-pane-check-icon.active::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: #38BDF8;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.left-pane-check-icon.pending {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

@keyframes rfq-pane-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Ensure hidden screens are display: none */
.rfq-request-quote-layout .rfq-form-stack>.rfq-screen.hidden,
.rfq-request-quote-layout .rfq-form-stack>.rfq-screen.rfq-hidden {
    display: none !important;
}

/* Sticky Navigation Footer Styling */
.rfq-request-quote-layout .rfq-screen .nav {
    position: sticky !important;
    bottom: 0 !important;
    background: #ffffff !important;
    z-index: 20 !important;
    margin-top: auto !important;
    margin-left: -2.5rem !important;
    margin-right: -2.5rem !important;
    padding: 1.25rem 2.5rem !important;
    border-top: 1px solid #E5E7EB !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Ensure nice spacing for the last content element before sticky nav when scrolled to the bottom */
.rfq-request-quote-layout .rfq-screen>*:nth-last-child(2),
.rfq-request-quote-layout .rfq-screen>*:nth-last-child(3) {
    margin-bottom: 2.25rem !important;
}

@media (max-width: 991.98px) {
    .rfq-request-quote-layout .rfq-screen .nav {
        margin-left: -1.25rem !important;
        margin-right: -1.25rem !important;
        padding: 1rem 1.25rem !important;
    }
}

/* Light theme overrides for Bid Intelligence panel fields */
.bid-intel.rfq-bid-intel input.rfq-bid-intel-input,
.bid-intel.rfq-bid-intel select.rfq-bid-intel-input,
.bid-intel.rfq-bid-intel input.datepicker {
    background-color: #ffffff !important;
    border: 1px solid #D1D5DB !important;
    color: #111827 !important;
    font-size: 14px !important;
    height: 41px !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
}

.bid-intel.rfq-bid-intel input.rfq-bid-intel-input::placeholder,
.bid-intel.rfq-bid-intel input.datepicker::placeholder {
    color: #9CA3AF !important;
}

/* Select2 single selection dropdown container overrides inside Bid Intel */
.bid-intel.rfq-bid-intel .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid #D1D5DB !important;
    height: 41px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
}

.bid-intel.rfq-bid-intel .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111827 !important;
    line-height: 39px !important;
    padding-left: 12px !important;
}

.bid-intel.rfq-bid-intel .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9CA3AF !important;
}

.bid-intel.rfq-bid-intel .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6B7280 transparent transparent transparent !important;
}

/* Custom Select2 dropdown overlay overrides for Bid Intel */
.select2-dropdown.bid-intel-select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #D1D5DB !important;
    color: #111827 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.select2-dropdown.bid-intel-select2-dropdown .select2-results__option {
    color: #374151 !important;
    background-color: #ffffff !important;
}

.select2-dropdown.bid-intel-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #2563EB !important;
    color: #ffffff !important;
}

.select2-dropdown.bid-intel-select2-dropdown .select2-results__option[aria-selected=true] {
    background-color: #F3F4F6 !important;
    color: #111827 !important;
}

.select2-dropdown.bid-intel-select2-dropdown .select2-search--dropdown {
    background-color: #ffffff !important;
}

.select2-dropdown.bid-intel-select2-dropdown .select2-search--dropdown .select2-search__field {
    background-color: #ffffff !important;
    border: 1px solid #D1D5DB !important;
    color: #111827 !important;
    border-radius: 6px !important;
}

/* Target Price prefix input wrapper overrides */
.bid-intel.rfq-bid-intel .bid-prefix-wrap {
    background-color: #ffffff !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: stretch !important;
    height: 41px !important;
}

.bid-intel.rfq-bid-intel .bid-prefix-tag {
    background-color: #F3F4F6 !important;
    color: #475569 !important;
    border-right: 1px solid #D1D5DB !important;
    border-left: none !important;
    padding: 0 12px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.bid-intel.rfq-bid-intel .bid-prefix-wrap input {
    background-color: transparent !important;
    color: #111827 !important;
    border: none !important;
    height: auto !important;
    padding: 9px 12px !important;
}

/* Legacy hero container — merged into .rfq-unified-header */
.rfq-hero-container {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-bottom: 10px !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
}

@media (max-width: 560px) {
    .rfq-hero-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px 16px !important;
    }
    
    .rfq-hero-container > div:last-child {
        align-items: flex-start !important;
        width: 100% !important;
        text-align: left !important;
    }
}

/* ==========================================================================
   Anti-gravity Left Pane Visualization Styles
   ========================================================================== */
#left-screen-antigravity.left-pane-content--viz {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none !important;
    padding: 0 !important;
    margin: 0;
}

#left-screen-ehouse.left-pane-content {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none !important;
    padding: 0 !important;
    margin: 0;
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
}

.rfq-request-quote-layout #left-screen-ehouse:not(.hidden) {
    display: flex !important;
}

.rfq-request-quote-layout #left-screen-antigravity:not(.hidden) {
    display: flex !important;
}

.rfq-request-quote-layout #left-screen-ehouse.hidden,
.rfq-request-quote-layout #left-screen-antigravity.hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#left-screen-ehouse #cv {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
}

.antigravity-space {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent !important;
}

.antigravity-space::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 100%, rgba(204, 24, 24, 0.1) 0%, transparent 68%),
        radial-gradient(ellipse 45% 35% at 15% 12%, rgba(251, 191, 36, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.antigravity-space > * {
    position: relative;
    z-index: 1;
}

/* Single selected product — horizontal rectangular card, centered */
.antigravity-space--single .antigravity-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    gap: 14px;
    min-height: 0;
}

.antigravity-space--single .antigravity-card .product-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.antigravity-space--single .antigravity-card .product-info {
    flex: 1;
    min-width: 0;
    width: auto;
}

.antigravity-space--single .antigravity-card.is-floating:not(.selected),
.antigravity-space--single .antigravity-card.is-floating.selected {
    opacity: 1 !important;
}

/* Two selected products — crossed at center (X shape) */
.antigravity-space--cross .antigravity-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
    min-height: 0;
}

.antigravity-space--cross .antigravity-card .product-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.antigravity-space--cross .antigravity-card .product-info {
    flex: 1;
    min-width: 0;
    width: auto;
}

.antigravity-space--cross .antigravity-card.is-floating:not(.selected),
.antigravity-space--cross .antigravity-card.is-floating.selected {
    opacity: 0.94 !important;
}

/* Three or more — horizontal rectangles, centered zigzag stack */
.antigravity-space--stack .antigravity-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
    min-height: 0;
}

.antigravity-space--stack .antigravity-card .product-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.antigravity-space--stack .antigravity-card .product-info {
    flex: 1;
    min-width: 0;
    width: auto;
}

.antigravity-space--stack .antigravity-card.is-floating:not(.selected),
.antigravity-space--stack .antigravity-card.is-floating.selected {
    opacity: 0.92 !important;
}

/* Four or five products — compact horizontal rectangles */
.antigravity-space--stack-many .antigravity-card {
    padding: 10px 12px;
    gap: 10px;
    min-height: 0;
}

.antigravity-space--stack-many .antigravity-card .product-icon {
    width: 36px;
    height: 36px;
}

.antigravity-space--stack-many .antigravity-card .product-title {
    font-size: 13px;
}

.antigravity-space--stack-many .antigravity-card .product-sub {
    font-size: 11px;
    line-height: 1.35;
}

/* Floating particles backdrop */
.ag-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(251, 191, 36, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: ag-particle-float infinite ease-in-out;
}

@keyframes ag-particle-float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.15;
    }
    50% {
        transform: translate3d(15px, -30px, 0);
        opacity: 0.45;
    }
}

/* Glassmorphism float cards — clustered center layout (positions via unified-rfq.js) */
.antigravity-card {
    position: absolute;
    width: 360px;
    box-sizing: border-box;
    z-index: 10;
    will-change: transform;
    pointer-events: auto !important;
    cursor: grab;
    user-select: none;
    transform-origin: center center;
    border-radius: 14px;
}

.antigravity-card:active,
.antigravity-card.is-dragging,
.antigravity-card.is-rotating {
    cursor: grabbing !important;
}

.ag-rotate-handle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 99, 235, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: grab;
    z-index: 20;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: opacity 0.2s ease, transform 0.15s ease, background 0.15s ease;
    pointer-events: auto;
}

.antigravity-card:hover .ag-rotate-handle,
.antigravity-card.is-dragging .ag-rotate-handle,
.antigravity-card.is-rotating .ag-rotate-handle,
.antigravity-space.is-dragging-card .ag-rotate-handle,
.antigravity-space.is-rotating-card .ag-rotate-handle {
    opacity: 1;
}

.ag-rotate-handle:hover {
    background: #EFF6FF;
    transform: scale(1.06);
}

.ag-rotate-handle:active {
    cursor: grabbing;
}

.antigravity-card.is-rotating .ag-rotate-handle {
    background: #DBEAFE;
}

.antigravity-card.is-floating {
    background: #ffffff !important;
    border: 1.5px solid #E5E7EB !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15) !important;
    transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease !important;
}

/* Dim card opacity when floating and not selected */
.antigravity-card.is-floating:not(.selected) {
    opacity: 0.45 !important;
}

.antigravity-card.is-floating.selected {
    opacity: 0.95 !important;
    border-color: #E5E7EB !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15) !important;
}

/* Text overrides for dark space theme in floating mode */
.antigravity-card.is-floating .product-title {
    color: #0c2543 !important;
}

.antigravity-card.is-floating .product-sub {
    color: #4B5563 !important;
}

.antigravity-card .product-check {
    display: none !important;
}

/* Hover glow for floating cards */
.antigravity-card.is-floating:hover {
    background: #ffffff !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Active Highlight Card (smooth transition back to premium solid white) */
.antigravity-card.active-step {
    background: #ffffff !important;
    color: #111827 !important;
    opacity: 1 !important;
    z-index: 100 !important;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease !important;
}

/* Active state overrides for specific product slugs to show same active color */
.antigravity-card.active-step[data-product-slug="ul-891"] {
    border: 2px solid #2563EB !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(37, 99, 235, 0.18) !important;
}
.antigravity-card.active-step[data-product-slug="ul-1558"] {
    border: 2px solid #16A34A !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(22, 163, 74, 0.18) !important;
}
.antigravity-card.active-step[data-product-slug="mv-switchgear"] {
    border: 2px solid #C2410C !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(194, 65, 12, 0.18) !important;
}
.antigravity-card.active-step[data-product-slug="panelboard"] {
    border: 2px solid #7C3AED !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(124, 58, 237, 0.18) !important;
}
.antigravity-card.active-step[data-product-slug="epc"] {
    border: 2px solid #DC2626 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(220, 38, 38, 0.18) !important;
}
.antigravity-card.active-step[data-product-slug="ehouse"] {
    border: 2px solid #B45309 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(180, 83, 9, 0.18) !important;
}

.antigravity-card.active-step .product-title {
    color: #0c2543 !important;
}

.antigravity-card.active-step .product-sub {
    color: #4B5563 !important;
}

/* Dim background floating cards extra when there is an active focused card - DISABLED BY USER REQUEST */
.antigravity-space.has-active-card .antigravity-card.is-floating {
    pointer-events: auto !important;
}

/* Ensure checkmark SVG is white inside the card */
.antigravity-card .product-check svg path,
.antigravity-card .product-check svg polyline {
    stroke: #ffffff !important;
}

/* Right-side selection grid product card improvements */
.product-grid .product-card {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}
.product-grid .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08) !important;
    border-color: #3b82f6 !important;
}
.product-grid .product-card.selected {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12) !important;
}

/* Left pane header — logo on navy, full height, no white badge */
.left-pane-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    min-height: 72px;
    background: rgba(24, 21, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 3.5px solid #cc1818;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 28px 0 20px;
    z-index: 150;
    color: #ffffff;
    box-sizing: border-box;
}

.left-pane-brand {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    background: transparent;
    padding: 10px 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.left-pane-brand__logo {
    display: block;
    height: 100%;
    max-height: 52px;
    width: auto;
    max-width: min(420px, 55vw);
    object-fit: contain;
    object-position: left center;
}

.left-pane-top-bar__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 1;
    min-width: 0;
    align-self: center;
}

.left-pane-top-bar__step {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.left-pane-top-bar__step h3,
#left-pane-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
    font-family: 'Outfit', 'Inter', sans-serif;
}

#left-pane-step-counter {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fbbf24;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
}

/* Dynamic Left Pane Top Bar Responsive Styling */
@media (max-width: 991.98px) {
    .left-pane-top-bar {
        display: none !important;
    }
}