/* ============ VMT Quote Form — v2 styles ============
   All colors use CSS variables — when Phase 1 brand
   identity is finalized, you only edit :root below.

   Currently themed to match Moving Express template kit
   palette (deep navy #002496 + accent yellow #FFD41C).
   Replace these 6 colour values with your final brand
   colours when ready — nothing else needs to change.
   ===================================================== */
:root {
    /* === BRAND COLOURS — change these to rebrand === */
    --vmt-primary:        #002496;   /* deep navy */
    --vmt-primary-hover:  #001B71;   /* darker navy */
    --vmt-accent:         #FFD41C;   /* yellow CTA */
    --vmt-accent-hover:   #F2C20A;   /* darker yellow */
    --vmt-accent-text:    #002496;   /* text on yellow buttons */
    --vmt-secondary:      #0073CF;   /* sky blue accent */

    /* === NEUTRALS — usually leave alone === */
    --vmt-text:           #030541;
    --vmt-text-light:     #717B9D;
    --vmt-label:          #1f2a52;
    --vmt-border:         #d9e1f0;
    --vmt-border-focus:   var(--vmt-primary);
    --vmt-bg-card:        #ffffff;
    --vmt-bg-soft:        #F2F5FA;
    --vmt-bg-tab:         #EAF6FF;

    /* === STATUS COLOURS — universal === */
    --vmt-success-bg:     #ecfdf5;
    --vmt-success-text:   #065f46;
    --vmt-success-border: #6ee7b7;
    --vmt-error-bg:       #fef2f2;
    --vmt-error-text:     #991b1b;
    --vmt-error-border:   #fca5a5;

    /* === SHAPE === */
    --vmt-radius:         12px;
    --vmt-radius-sm:      8px;
    --vmt-shadow:         0 4px 14px rgba(0, 36, 150, 0.08);
}

.vmt-form {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid var(--vmt-border);
    border-radius: var(--vmt-radius);
    box-shadow: 0 20px 60px rgba(0, 36, 150, 0.08);
    font-family: inherit;
    color: var(--vmt-text);
    box-sizing: border-box;
    /* Reset Elementor / theme inheritance that can break layout */
    display: block;
    text-align: left;
    line-height: 1.5;
}
.vmt-form *, .vmt-form *::before, .vmt-form *::after {
    box-sizing: border-box;
}
.vmt-form h3 { margin: 0 0 6px; font-size: 24px; }
.vmt-sub    { margin: 0 0 22px; color: #6B7280; font-size: 15px; }
.vmt-step-inline .vmt-step-header::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: #002496;
}
.vmt-step-inline .vmt-step-header h3 {
    font-size: 30px;
    line-height: 1.15;
}

/* -------- progress bar -------- */
.vmt-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 4px auto 6px;
    max-width: 480px;
}
/* each step = a dot stacked above its label, in its own column */
.vmt-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: var(--vmt-text-light);
    position: relative;
    background: none;          /* the dot circle is drawn on ::before */
    width: 86px;
    text-align: center;
}
/* the numbered circle */
.vmt-step-dot::before {
    content: attr(data-step);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--vmt-bg-tab);
    color: var(--vmt-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s;
}
/* hide any stray text node — circle uses data-step via ::before */
.vmt-step-dot span {
    font-size: 12px;
    font-weight: 600;
    color: var(--vmt-text-light);
    white-space: nowrap;
    line-height: 1.2;
}
/* active / complete states */
.vmt-step-dot.active::before {
    background: var(--vmt-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 36, 150, 0.15);
}
.vmt-step-dot.active span { color: var(--vmt-primary); }
.vmt-step-dot.complete::before {
    background: var(--vmt-secondary);
    color: #fff;
}
.vmt-step-dot.complete span { color: var(--vmt-secondary); }
/* connecting line — sits between dots, aligned to circle centre */
.vmt-step-line {
    flex: 1 1 auto;
    height: 3px;
    background: var(--vmt-bg-tab);
    border-radius: 2px;
    margin-top: 16px;          /* aligns with the 34px circle's vertical centre */
    max-width: 70px;
    min-width: 24px;
}

/* -------- step visibility -------- */
/* The .active class is the single source of truth. JS toggles it.
   High-specificity selector keeps themes from overriding without
   needing !important (which would fight JS inline styles). */
#vmt-quote-form .vmt-step          { display: none; }
#vmt-quote-form .vmt-step.active   { display: block; }

/* -------- cards -------- */
.vmt-card {
    background: var(--vmt-bg-soft);
    border: 1px solid var(--vmt-border);
    border-radius: var(--vmt-radius);
    padding: 18px;
    margin-bottom: 16px;
}
.vmt-card legend {
    font-weight: 600;
    color: var(--vmt-label);
    padding: 0 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* -------- grid -------- */
.vmt-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* -------- v2.8.0 wide horizontal Step 1 layout for middle-of-page placement -------- */
.vmt-form-wide {
    max-width: 1200px;
}
.vmt-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 8px;
    align-items: stretch;
}
.vmt-grid-3 .vmt-card {
    display: flex;
    flex-direction: column;
}
.vmt-grid-3 .vmt-card-date {
    /* third column carries the move-date + Continue CTA */
    justify-content: space-between;
}
.vmt-step1-cta {
    margin-top: auto;
    padding-top: 14px;
}
.vmt-step1-cta .vmt-btn-primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Stack to single column on narrower screens */
@media (max-width: 900px) {
    .vmt-grid-3 { grid-template-columns: 1fr; }
}
/* -------- form fields -------- */
.vmt-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--vmt-label);
    margin-bottom: 12px;
}
.vmt-form input[type="text"],
.vmt-form input[type="email"],
.vmt-form input[type="tel"],
.vmt-form input[type="date"],
.vmt-form select,
.vmt-form textarea {
    width: 100%;
    padding: 11px 12px;
    margin-top: 6px;
    border: 1px solid var(--vmt-border);
    border-radius: var(--vmt-radius-sm);
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.vmt-form input:focus,
.vmt-form select:focus,
.vmt-form textarea:focus {
    border-color: var(--vmt-border-focus);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.vmt-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-top: 8px;
}
.vmt-checkbox input { width: auto !important; margin: 0 !important; }

/* -------- date card -------- */
.vmt-date-card { margin-top: 8px; }
.vmt-date-card label:first-child { margin-bottom: 8px; }

/* -------- buttons -------- */
.vmt-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}
.vmt-actions:has(.vmt-btn-primary:only-child) { justify-content: flex-end; }
.vmt-btn-primary,
.vmt-btn-secondary {
    padding: 13px 26px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--vmt-radius-sm);
    border: 0;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.vmt-btn-primary {
    background: var(--vmt-accent);
    color: var(--vmt-accent-text);
}
.vmt-form .vmt-btn-primary:hover:not(:disabled),
#vmt-quote-form .vmt-btn-primary:hover:not(:disabled) {
    background: #002496 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 36, 150, 0.35);
}
.vmt-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.vmt-btn-secondary {
    background: #fff;
    color: var(--vmt-label);
    border: 1px solid var(--vmt-border);
}
.vmt-btn-secondary:hover { background: var(--vmt-bg-soft); }

/* -------- step 2 layout -------- */
.vmt-step2-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-bottom: 20px;
}
.vmt-step2-right { position: relative; }

/* -------- map -------- */
.vmt-map-wrap {
    position: sticky;
    top: 20px;
    border: 1px solid var(--vmt-border);
    border-radius: var(--vmt-radius);
    overflow: hidden;
    background: var(--vmt-bg-soft);
}
#vmt-map {
    width: 100%;
    height: 280px;
    background: var(--vmt-bg-tab);
    display: flex;
    align-items: center;
    justify-content: center;
}
#vmt-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.vmt-map-placeholder {
    color: var(--vmt-text-light);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
.vmt-distance-box {
    padding: 14px 16px;
    border-top: 1px solid var(--vmt-border);
    background: #fff;
}
.vmt-distance-from-to {
    font-size: 14px;
    color: var(--vmt-label);
    font-weight: 600;
    margin-bottom: 4px;
}
.vmt-distance-miles {
    font-size: 14px;
    color: var(--vmt-text-light);
}
.vmt-distance-miles strong {
    color: var(--vmt-primary);
    font-size: 22px;
    font-weight: 700;
}

/* -------- inventory tabs -------- */
.vmt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--vmt-border);
    padding-bottom: 10px;
}
.vmt-tab {
    padding: 8px 14px;
    background: var(--vmt-bg-tab);
    border: 1px solid var(--vmt-border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--vmt-label);
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.vmt-tab[hidden] { display: none !important; }
.vmt-tab:hover { background: #e5e7eb; }
.vmt-tab.active {
    background: var(--vmt-primary);
    border-color: var(--vmt-primary);
    color: #fff;
}
.vmt-tab-body { display: none; margin-bottom: 18px; }
.vmt-tab-body[hidden] { display: none !important; }
.vmt-tab-body.active { display: block; }

/* -------- inventory items -------- */
.vmt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid var(--vmt-border);
}
.vmt-item:last-child { border-bottom: 0; }
.vmt-item-name { font-size: 15px; color: var(--vmt-text); }
.vmt-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vmt-counter button {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 1px solid var(--vmt-border);
    background: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    color: var(--vmt-label);
    transition: all .15s;
}
.vmt-counter button:hover { background: var(--vmt-primary); border-color: var(--vmt-primary); color: #fff; }
.vmt-count {
    min-width: 22px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.vmt-item-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.vmt-variant-toggle {
    width: fit-content;
    border: 0;
    background: transparent;
    color: var(--vmt-primary);
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}
.vmt-item-total {
    min-width: 28px;
    color: var(--vmt-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.vmt-variant-list {
    display: grid;
    gap: 6px;
    padding: 0 0 10px 18px;
    border-bottom: 1px solid var(--vmt-border);
}
.vmt-variant-list[hidden] { display: none !important; }
.vmt-variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 8px;
    border-radius: 7px;
    background: #F7F9FC;
}
.vmt-variant-name {
    color: var(--vmt-text);
    font-size: 13px;
    font-weight: 600;
}
/* -------- step header (centered) -------- */
.vmt-step-header {
    text-align: center;
    margin-bottom: 22px;
}
.vmt-step-header h3 { margin: 0 0 6px; }
.vmt-step-header .vmt-sub { margin: 0; }

/* -------- two-state quote box (locked → revealed) -------- */
.vmt-quote-box {
    margin: 22px 0;
    padding: 30px 24px;
    border-radius: var(--vmt-radius);
    color: #fff;
    text-align: center;
    transition: background .4s ease;
    position: relative;
    overflow: hidden;
}
/* LOCKED — theme navy with anticipation */
.vmt-quote-box[data-state="locked"] {
    background: linear-gradient(135deg, #001B71 0%, #002496 60%, #0073CF 100%);
    box-shadow: 0 10px 30px rgba(0, 36, 150, 0.30);
}
/* REVEALED — success green */
.vmt-quote-box[data-state="revealed"] {
    background: linear-gradient(135deg, #047857 0%, #10b981 60%, #059669 100%);
    box-shadow: 0 10px 30px rgba(16,185,129,0.30);
    animation: vmt-reveal .6s ease;
}
@keyframes vmt-reveal {
    0%   { transform: scale(.96); opacity: 0; }
    60%  { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

/* show / hide the right state */
.vmt-quote-box[data-state="locked"]   .vmt-quote-revealed { display: none; }
.vmt-quote-box[data-state="revealed"] .vmt-quote-locked   { display: none; }

.vmt-quote-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 8px;
}
.vmt-quote-box[data-state="revealed"] .vmt-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 10px;
}
.vmt-quote-headline {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.vmt-quote-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .85;
    margin-top: 14px;
}
.vmt-quote-amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin: 6px 0 12px;
    letter-spacing: -1px;
}
.vmt-quote-copy {
    font-size: 15px;
    line-height: 1.55;
    opacity: .92;
    max-width: 480px;
    margin: 0 auto;
}
.vmt-quote-copy strong { font-weight: 700; }
.vmt-quote-perks {
    list-style: none;
    padding: 14px 0 0;
    margin: 14px 0 0;
    font-size: 14px;
    text-align: left;
    max-width: 380px;
    margin: 16px auto 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.vmt-quote-perks li {
    padding: 6px 0;
    opacity: .95;
}

/* -------- success / error messages -------- */
.vmt-message {
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--vmt-radius-sm);
    font-size: 14px;
}
.vmt-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(16,185,129,0.15);
}
.vmt-error   { background: var(--vmt-error-bg);   color: var(--vmt-error-text);   border: 1px solid var(--vmt-error-border); }

/* =====================================================
 * MODAL OVERLAY — holds Step 2 & Step 3
 * The form leaves the page's document flow when this
 * opens, so the page header can never be displaced.
 * ===================================================== */
.vmt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(3, 5, 65, 0.55);          /* dimmed "shadow mode" */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 32px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.vmt-modal-overlay.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: vmtFadeIn 0.18s ease;
}
@keyframes vmtFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes vmtSlideUp { from { opacity: 0; transform: translateY(24px); }
                        to   { opacity: 1; transform: translateY(0); } }

.vmt-modal {
    background: var(--vmt-bg-card);
    width: 100%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    overflow: hidden;
    animation: vmtSlideUp 0.22s ease;
    margin: auto;
}

/* modal header — progress bar + close button */
.vmt-modal-head {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    padding: 20px 60px !important;
    border-bottom: 1px solid var(--vmt-border);
    background: var(--vmt-bg-card);
}
.vmt-modal-head .vmt-progress {
    margin: 0 auto;
    max-width: min(480px, 100%);
}
.vmt-modal-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    padding: 0;
    border: 1px solid var(--vmt-border);
    border-radius: 50%;
    background: #F3F5F8;
    color: var(--vmt-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    z-index: 3;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
/* simple hover — turns blue, no movement/rotation */
.vmt-modal-close:hover {
    background: var(--vmt-primary);
    border-color: var(--vmt-primary);
    color: #fff;
}

/* modal body — the only thing that scrolls */
.vmt-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px;
}

/* prevent background scroll when modal is open */
body.vmt-modal-open { overflow: hidden; }

/* phone field hint */
.vmt-field-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vmt-text-light);
}
.vmt-field-hint.vmt-hint-ok  { color: #047857; }
.vmt-field-hint.vmt-hint-bad { color: #b91c1c; }

/* -------- responsive -------- */
@media (max-width: 860px) {
    .vmt-step2-grid { grid-template-columns: 1fr; }
    .vmt-map-wrap   { position: static; }
    #vmt-map        { height: 220px; }
}
@media (max-width: 600px) {
    .vmt-form        { padding: 18px; }
    .vmt-grid-2      { grid-template-columns: 1fr; }
    .vmt-actions     { flex-direction: column-reverse; }
    .vmt-btn-primary,
    .vmt-btn-secondary { width: 100%; }
    .vmt-quote-amount   { font-size: 38px; }
    .vmt-quote-headline { font-size: 20px; }

    /* progress bar: keep labels but make compact on mobile */
    .vmt-progress    { max-width: 100%; justify-content: center; }
    .vmt-step-dot    { width: min(22vw, 68px); gap: 6px; }
    .vmt-step-dot::before { width: 32px; height: 32px; font-size: 14px; }
    .vmt-step-dot span { font-size: 10px; white-space: normal; line-height: 1.15; }
    .vmt-step-line   { flex: 0 1 26px; max-width: 26px; min-width: 8px; margin-top: 15px; }

    /* modal goes near-fullscreen on mobile for maximum room */
    .vmt-modal-overlay { padding: 0; }
    .vmt-modal {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    .vmt-modal-body { padding: 16px; }
    .vmt-modal-head { padding: 14px 50px !important; }
    .vmt-modal-close {
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        max-width: 30px;
        max-height: 30px;
        font-size: 14px;
    }
}
@media (max-width: 380px) {
    .vmt-step-dot { width: 58px; }
    .vmt-step-line { flex-basis: 14px; max-width: 14px; min-width: 6px; }
    .vmt-modal-head { padding-right: 48px !important; padding-left: 48px !important; }
}

/* =====================================================
 * ENQUIRY FORM — two design variants
 * Design A (.vmt-style-header): navy header band + trust footer
 * Design B (.vmt-style-pill):   floating yellow pill badge
 *
 * Shared field treatment fixes the "invisible white input" issue:
 *   - soft blue-grey tint background
 *   - light border with crisp navy focus halo
 *   - 44px height (mobile tap target)
 * ===================================================== */

/* ---------- Shared base ---------- */
.vmt-enquiry-form {
    max-width: 480px;
    width: 100%;
    font-family: inherit;
    color: #030541;
    box-sizing: border-box;
    position: relative;
}
.vmt-enquiry-form *,
.vmt-enquiry-form *::before,
.vmt-enquiry-form *::after {
    box-sizing: border-box;
}
.vmt-enquiry-form label {
    display: block;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #030541;
    letter-spacing: 0.01em;
}

/* ---------- Shared field treatment (the visibility fix) ---------- */
.vmt-enquiry-form input[type="text"],
.vmt-enquiry-form input[type="email"],
.vmt-enquiry-form input[type="tel"],
.vmt-enquiry-form select,
.vmt-enquiry-form textarea {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    margin-top: 6px;
    background: #F2F5FA;
    border: 1px solid #D5DAE2;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #030541;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.vmt-enquiry-form textarea {
    height: auto;
    min-height: 90px;
    resize: vertical;
    padding: 12px 14px;
    line-height: 1.5;
}
.vmt-enquiry-form input::placeholder,
.vmt-enquiry-form textarea::placeholder {
    color: #717B9D;
    opacity: 1;
}
.vmt-enquiry-form input:hover,
.vmt-enquiry-form select:hover,
.vmt-enquiry-form textarea:hover {
    border-color: #B7BFCE;
}
.vmt-enquiry-form input:focus,
.vmt-enquiry-form select:focus,
.vmt-enquiry-form textarea:focus {
    background: #FFFFFF;
    border-color: #002496;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 36, 150, 0.15);
}

/* Custom select caret (so the field's appearance:none doesn't kill it) */
.vmt-enquiry-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23030541' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.vmt-field-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #717B9D;
}
.vmt-field-hint.vmt-hint-ok  { color: #16a34a; }
.vmt-field-hint.vmt-hint-bad { color: #b91c1c; }

/* ---------- Shared submit button ---------- */
.vmt-enquiry-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    background: #FFD41C;
    color: #002496;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.01em;
    transition: background-color 0.15s, transform 0.1s, box-shadow 0.15s;
}
.vmt-enquiry-submit:hover:not(:disabled) {
    background: #FFC700;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 212, 28, 0.45);
}
.vmt-enquiry-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 212, 28, 0.4);
}
.vmt-enquiry-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ---------- Shared response message ---------- */
.vmt-enquiry-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}
.vmt-enquiry-message.vmt-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
    font-weight: 600;
}
.vmt-enquiry-message.vmt-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* =====================================================
 * DESIGN A — Navy header band + trust footer
 * Used on: Homepage calculator (via separate styles),
 *          Local Moving, Clearance, European Moves,
 *          Office, Removal Services, Storage, Waste
 * ===================================================== */
.vmt-enquiry-form.vmt-style-header {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 36, 150, 0.12);
    border: 1px solid #E0E5EE;
}
.vmt-style-header .vmt-enquiry-header {
    background: #002496;
    padding: 22px 28px 20px;
    text-align: center;
}
.vmt-style-header .vmt-enquiry-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    letter-spacing: 0.005em;
}
.vmt-style-header .vmt-enquiry-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.vmt-style-header .vmt-enquiry-body {
    padding: 24px 28px 22px;
    background: #FFFFFF;
}
.vmt-style-header .vmt-enquiry-trust {
    padding: 12px 16px;
    background: #F8F9FB;
    border-top: 1px solid #E0E5EE;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #002496;
    letter-spacing: 0.02em;
}

/* =====================================================
 * DESIGN B — Floating yellow pill badge + soft card
 * Used on: Handyman, Man with Van, Furniture, Student, Packing
 * ===================================================== */
.vmt-enquiry-form.vmt-style-pill {
    padding-top: 14px;  /* makes room for pill which sits above card */
}
.vmt-style-pill .vmt-enquiry-pill {
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 24px;
    padding: 7px 16px;
    background: #FFD41C;
    color: #002496;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(255, 212, 28, 0.4);
    z-index: 2;
}
.vmt-style-pill .vmt-enquiry-body {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 32px 28px 24px;
    box-shadow: 0 10px 32px rgba(0, 36, 150, 0.10);
    border: 1px solid #E0E5EE;
}
.vmt-style-pill .vmt-enquiry-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: #002496;
    line-height: 1.25;
}
.vmt-style-pill .vmt-enquiry-sub {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 500;
    color: #50587A;
    line-height: 1.45;
}
.vmt-style-pill .vmt-enquiry-divider {
    border: 0;
    border-top: 1px solid #E5E8EE;
    margin: 0 0 18px;
}
.vmt-style-pill .vmt-enquiry-consent {
    margin: 14px 0 0;
    font-size: 11px;
    font-weight: 400;
    color: #717B9D;
    text-align: center;
    line-height: 1.4;
}

/* Slightly softer borders on Design B fields per agreed treatment */
.vmt-style-pill input[type="text"],
.vmt-style-pill input[type="email"],
.vmt-style-pill input[type="tel"],
.vmt-style-pill select,
.vmt-style-pill textarea {
    border-color: #E5E8EE;
}

/* ---------- Responsive ---------- */
@media (max-width: 540px) {
    .vmt-style-header .vmt-enquiry-header { padding: 18px 20px 16px; }
    .vmt-style-header .vmt-enquiry-body   { padding: 20px 20px 18px; }
    .vmt-style-header .vmt-enquiry-trust  { padding: 10px 12px; font-size: 11px; }

    .vmt-style-pill .vmt-enquiry-body { padding: 28px 20px 20px; }
    .vmt-style-pill .vmt-enquiry-pill { left: 16px; font-size: 10px; padding: 6px 14px; }

    .vmt-enquiry-form .vmt-enquiry-title { font-size: 19px; }
}

/* v2.8.3 compact inventory controls */
.vmt-form .vmt-counter {
    gap: 7px;
}
.vmt-form .vmt-counter button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 7px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.vmt-form .vmt-count {
    min-width: 24px;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.vmt-form .vmt-modal-close {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #F3F5F8;
    color: var(--vmt-text);
    font-size: 14px;
}
@media (max-width: 600px) {
    .vmt-form .vmt-modal-close {
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
    }
}

/* v2.8.3 — Boxes & Other source picker */
.vmt-box-source-toggle {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #D5DAE2;
    border-radius: 8px;
    background: #F8F9FB;
}
.vmt-room-boxes-title {
    margin: 0 0 2px;
    color: #030541;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.vmt-radio-inline {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    min-height: 32px;
    margin: 0 !important;
    color: #030541;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.vmt-radio-inline input {
    width: auto !important;
    margin: 4px 0 0 !important;
    flex: 0 0 auto;
}
.vmt-radio-inline small {
    display: inline;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
}
.vmt-tab-body[data-room="Boxes & Other"][data-box-source="own"] .vmt-box-vanhero,
.vmt-tab-body[data-room="Boxes & Other"][data-box-source="vanhero"] .vmt-box-own {
    display: none !important;
}

/* Concern #5 — visible field borders (defeats theme overrides) */
.vmt-form textarea,
#vmt-quote-form textarea {
    border: 1px solid #D5DAE2 !important;
    background: #F8F9FB !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 14px;
    color: #030541;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.vmt-form textarea:hover,
#vmt-quote-form textarea:hover {
    border-color: #B7BFCE !important;
}
.vmt-form textarea:focus,
#vmt-quote-form textarea:focus {
    background: #FFFFFF !important;
    border-color: #002496 !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 36, 150, 0.15) !important;
}
.vmt-form textarea::placeholder {
    color: #717B9D;
    opacity: 1;
}
@media (max-width: 600px) {
    .vmt-step-inline .vmt-step-header h3 {
        font-size: 22px;
    }
    .vmt-step-inline .vmt-step-header::before {
        margin-bottom: 12px;
    }
}
