/* =============================================================================
   AP-VEHICLE.CSS — "Auto aanbieden" (herontwerp) — FASE 1: uiterlijk
   =============================================================================
   Laadt NA ap-core.css / ap-tokens.css / ap-icons.css / ap-chrome.css / ap-dashboard.css.
   Styelt de BESTAANDE markup van template-parts/ap-vehicle-add.php + ap-vehicle-preview.php.
   Raakt de werking NIET aan (geen markup/JS-wijziging). Alles scoped onder
   .ap-vehicle-add / .ap-publish-preview zodat andere schermen ongemoeid blijven.
   ============================================================================= */

/* ============================ LAYOUT ============================ */
/* Zelfde grijze achtergrond + glow + volle breedte + padding als Mijn auto's
   (consistente pagina-start over de drie Handelsplein-pagina's). */
.ap-content:has(.ap-vehicle-add){
    background:#F5F7FB radial-gradient(900px 320px at 18% -8%, rgba(27,77,228,.045), transparent 70%) no-repeat !important;
    max-width:none !important;
}
.ap-vehicle-add{ width:100%; padding:24px 32px 44px; color:var(--ap-text,#0C1F3F); }
/* Auto aanbieden heeft geen wrapper-gap; hero krijgt dezelfde afstand tot het
   volgende blok als de gap op Mijn auto's / Auto's zoeken (~18px). */
.ap-vehicle-add .ap-pagehero{ margin-bottom:18px !important; }
/* Verborgen elementen (hidden-attribuut) altijd echt verbergen, ook als ze een
   display:grid/flex-regel hebben (bv. #ap-richtprijs-wrap bij "Vrij bieden"). */
.ap-vehicle-add [hidden]{ display:none !important; }

.ap-vehicle-add__header{
    display:flex; align-items:flex-start; justify-content:space-between; gap:16px 24px;
    flex-wrap:wrap; margin-bottom:20px;
}
.ap-vehicle-add__back{
    display:inline-flex; align-items:center; gap:6px;
    font-size:12.5px; font-weight:500; color:#42536B; text-decoration:none; margin-bottom:10px;
}
.ap-vehicle-add__back:hover{ color:#1B4DE4; }
.ap-vehicle-add__header h1{
    margin:0 0 6px; font-size:24px; font-weight:600; letter-spacing:-.026em; color:#0C1F3F;
}
.ap-vehicle-add__header > div > p{ margin:0; font-size:13.5px; color:#6B7A93; max-width:60ch; }

/* Twee kolommen: links formulier, rechts sticky preview */
.ap-vehicle-add__layout{
    display:flex; flex-wrap:wrap; gap:20px; align-items:flex-start;
}
.ap-vehicle-add__main{ flex:2 1 520px; min-width:0; display:flex; flex-direction:column; gap:20px; }
.ap-vehicle-add__sidebar{ flex:1 1 320px; min-width:0; position:sticky; top:80px; display:flex; flex-direction:column; gap:16px; }

/* ============================ STAPPER ============================ */
.ap-vehicle-steps{
    display:flex; gap:6px; padding:6px;
    background:#FFFFFF; border:1px solid #E7EBF2; border-radius:14px;
    box-shadow:0 1px 2px rgba(16,40,80,.04);
    overflow-x:auto;
}
.ap-vehicle-step{
    flex:1 1 auto; min-width:120px;
    display:flex; align-items:center; gap:10px;
    padding:10px 12px; border:0; border-radius:10px; background:transparent !important;
    cursor:pointer; text-align:left; font:inherit; color:#8B99AE;
    transition:background var(--ap-t-fast,.15s);
}
.ap-vehicle-step:hover{ background:#F5F8FE !important; }
.ap-vehicle-step > span{
    flex:0 0 22px; width:22px; height:22px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:#FFFFFF; border:1px solid #DDE3ED; color:#A6B2C4;
    font-size:11.5px; font-weight:600;
}
.ap-vehicle-step > strong{ font-size:12.5px; font-weight:450; color:#8B99AE; white-space:nowrap; }
.ap-vehicle-step.is-active{ background:#F5F8FE !important; }
.ap-vehicle-step.is-active > span{ background:#1B4DE4; border-color:#1B4DE4; color:#fff; }
.ap-vehicle-step.is-active > strong{ color:#0C1F3F; font-weight:600; }
/* Afgerond: GROEN bolletje met wit vinkje (JS zet de klasse .is-done + het vinkje).
   Hoge specificiteit + !important zodat bestaande ap-core-stijl de kleur niet grijs maakt. */
.ap-vehicle-add .ap-vehicle-step.is-done > span{ background:#2FA96B !important; border-color:#2FA96B !important; color:#fff !important; font-size:13px; }
.ap-vehicle-add .ap-vehicle-step.is-done > strong{ color:#42536B !important; font-weight:500; }

/* ============================ KAARTEN ============================ */
.ap-vehicle-add .ap-card{
    background:#FFFFFF; border:1px solid #E7EBF2; border-radius:16px;
    box-shadow:0 1px 2px rgba(16,40,80,.04);
}
.ap-vehicle-form-card{ padding:24px; }
@media (max-width:520px){ .ap-vehicle-form-card{ padding:18px; } }

.ap-vehicle-section-heading{ margin-bottom:18px; }
.ap-vehicle-section-heading h2{
    margin:0 0 4px; font-size:16px; font-weight:600; letter-spacing:-.02em; color:#0C1F3F;
}
.ap-vehicle-section-heading p{ margin:0; font-size:13px; color:#6B7A93; max-width:60ch; }

/* ============================ VOERTUIGSOORT / KEUZEKAARTEN ============================ */
.ap-vehicle-type{ margin-bottom:22px; }
.ap-vehicle-type__label{
    display:block; font-size:12.5px; font-weight:600; color:#42536B; margin-bottom:10px;
}
.ap-vehicle-type__options{
    display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px;
}
.ap-vehicle-type__option{
    display:flex; align-items:center; gap:13px;
    padding:14px 16px; border:1px solid #DDE3ED; border-radius:12px; background:#fff;
    cursor:pointer; transition:border-color var(--ap-t-fast,.15s), background var(--ap-t-fast,.15s);
}
.ap-vehicle-type__option:hover{ border-color:#B9C6DE; }
.ap-vehicle-type__option.is-selected{ border-color:#1B4DE4; background:#F5F8FE; }
.ap-vehicle-type__option input{ position:absolute; opacity:0; width:0; height:0; }
.ap-vehicle-type__icon{
    flex:0 0 40px; width:40px; height:40px; border-radius:11px;
    display:flex; align-items:center; justify-content:center;
    background:#EEF3FE; color:#1B4DE4;
}
.ap-vehicle-type__icon svg{ width:20px; height:20px; }
.ap-vehicle-type__option strong{ display:block; font-size:14px; font-weight:600; color:#0C1F3F; }
.ap-vehicle-type__option small{ display:block; margin-top:2px; font-size:12.5px; color:#7A889E; }

/* ============================ KENTEKEN (NL-plaat-look) + RDW ============================ */
.ap-rdw-box{ margin-bottom:22px; }
.ap-rdw-box > label{
    display:block; font-size:12.5px; font-weight:550; color:#42536B; margin-bottom:8px;
}
.ap-rdw-row{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
/* Hogere specificiteit (.ap-vehicle-add .ap-rdw-box …) om bestaande ap-core-stijl te overrulen. */
.ap-vehicle-add .ap-rdw-box .ap-kenteken-input{
    height:44px !important; width:190px !important; flex:0 0 auto;
    border-radius:5px !important; border:1px solid #D8B400 !important; border-left:15px solid #0B2447 !important;
    background:#F6C700 !important; color:#1A1A00 !important;
    font-size:15px !important; font-weight:700 !important; letter-spacing:.06em; text-transform:uppercase;
    padding:0 12px !important;
}
.ap-vehicle-add .ap-rdw-box .ap-kenteken-input::placeholder{ color:#8a7a00; font-weight:600; }
.ap-vehicle-add .ap-rdw-box .ap-kenteken-input:focus{ outline:2px solid #1B4DE4; outline-offset:2px; box-shadow:none !important; }
.ap-vehicle-add .ap-rdw-box .ap-rdw-button{
    height:44px !important; flex:0 0 auto; padding:0 18px !important;
    border:1px solid #1B4DE4 !important; border-radius:9px !important; background:#fff !important; color:#1B4DE4 !important;
    font-size:13px !important; font-weight:550 !important; cursor:pointer;
    transition:background var(--ap-t-fast,.15s);
}
.ap-vehicle-add .ap-rdw-box .ap-rdw-button:hover{ background:#F5F8FE !important; }
.ap-vehicle-add .ap-rdw-box .ap-rdw-button:disabled{ opacity:.6; cursor:default; }
.ap-rdw-note{ font-size:12px; color:#8B99AE; }

/* ============================ FORMULIERVELDEN ============================ */
.ap-vehicle-form-grid{
    display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:16px;
}
.ap-form-field{ display:flex; flex-direction:column; min-width:0; }
.ap-form-field--full{ grid-column:1 / -1; }
.ap-form-field > label{
    font-size:12.5px; font-weight:550; color:#42536B; margin-bottom:6px;
}
.ap-vehicle-add input[type=text],
.ap-vehicle-add input[type=number],
.ap-vehicle-add input[type=date],
.ap-vehicle-add select,
.ap-vehicle-add textarea{
    width:100%; box-sizing:border-box;
    height:42px; padding:0 12px;
    border:1px solid #DDE3ED; border-radius:9px; background:#fff;
    font:inherit; font-size:14px; color:#0C1F3F;
    transition:border-color var(--ap-t-fast,.15s), box-shadow var(--ap-t-fast,.15s);
}
.ap-vehicle-add textarea{ height:auto; padding:12px; line-height:1.55; resize:vertical; }
.ap-vehicle-add select{ appearance:none; -webkit-appearance:none; cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B99AE' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 12px center; padding-right:34px;
}
.ap-vehicle-add input:focus,
.ap-vehicle-add select:focus,
.ap-vehicle-add textarea:focus{
    outline:none; border-color:#1B4DE4; box-shadow:0 0 0 3px rgba(27,77,228,.12);
}
.ap-vehicle-add select:disabled{ background:#F7F9FC; color:#A6B2C4; cursor:default; }
.ap-vehicle-add input::placeholder,
.ap-vehicle-add textarea::placeholder{ color:#A6B2C4; }

/* ============================ KNOPPEN ============================ */
.ap-vehicle-add .ap-button{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    height:40px; padding:0 18px; border-radius:9px;
    font:inherit; font-size:13px; font-weight:550; cursor:pointer;
    border:1px solid transparent; text-decoration:none;
    transition:background var(--ap-t-fast,.15s), border-color var(--ap-t-fast,.15s);
}
.ap-vehicle-add .ap-button--primary{ background:#1B4DE4 !important; color:#fff !important; }
.ap-vehicle-add .ap-button--primary:hover{ background:#1740c4 !important; }
.ap-vehicle-add .ap-button--primary:disabled{ opacity:.55; cursor:default; }
.ap-vehicle-add .ap-button.ap-button--secondary{ background:#fff !important; color:#42536B !important; border:1px solid #DDE3ED !important; }
.ap-vehicle-add .ap-button.ap-button--secondary:hover{ background:#F5F8FE !important; border-color:#B9C6DE !important; }
.ap-vehicle-add .ap-button.ap-button--secondary i{ color:#42536B !important; }

.ap-wizard-actions,
.ap-vehicle-form-actions{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    margin-top:24px; padding-top:20px; border-top:1px solid #EEF1F7;
}
.ap-wizard-actions{ justify-content:flex-end; }

/* ============================ BESCHRIJVING + AI ============================ */
.ap-description-footer{
    display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
    margin-top:10px;
}
.ap-ai-description-button{
    display:inline-flex; align-items:center; gap:7px;
    height:34px; padding:0 14px; border-radius:9px;
    border:1px solid #1B4DE4; background:#fff !important; color:#1B4DE4 !important;
    font:inherit; font-size:12.5px; font-weight:550; cursor:pointer;
    transition:background var(--ap-t-fast,.15s);
}
.ap-ai-description-button:hover{ background:#F5F8FE !important; }
.ap-ai-description-button:disabled{ opacity:.6; cursor:default; }
#ap-description-counter{ font-size:12px; color:#8B99AE; }

/* ============================ FOTO-UPLOAD ============================ */
.ap-photo-dropzone{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    padding:26px 20px; border:1px dashed #C9D4E6; border-radius:12px; background:#FAFBFE;
    cursor:pointer; text-align:center;
    transition:border-color var(--ap-t-fast,.15s), background var(--ap-t-fast,.15s);
}
.ap-photo-dropzone:hover{ border-color:#1B4DE4; background:#F5F8FE; }
.ap-photo-dropzone__icon{ font-size:26px; }
.ap-photo-dropzone h3{ margin:6px 0 0; font-size:14px; font-weight:600; color:#0C1F3F; }
.ap-photo-dropzone p{ margin:2px 0 0; font-size:12.5px; color:#7A889E; }
.ap-photo-dropzone .ap-button{ margin-top:12px; height:34px; }
.ap-photo-upload-count{ display:block; margin-top:10px; font-size:12px; color:#8B99AE; }

.ap-photo-preview-grid{
    display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:12px; margin-top:16px;
}
.ap-photo-preview-item{
    position:relative; aspect-ratio:4/3; border-radius:10px; overflow:hidden; background:#EDF1F8;
    cursor:grab;
}
/* Volledige foto tonen in stap 4 (niets afsnijden). */
.ap-photo-preview-item img{ width:100%; height:100%; object-fit:contain; display:block; background:#EDF1F8; }
.ap-photo-preview-item.is-dragging{ opacity:.4; }
.ap-photo-preview-item.is-drag-over{ outline:2px solid #1B4DE4; outline-offset:-2px; }
/* Oude ap-core-decoratie (grote navy cirkel + AP-logo) op fototegels weghalen. */
.ap-vehicle-add .ap-photo-preview-item::before,
.ap-vehicle-add .ap-photo-preview-item::after{ content:none !important; background:none !important; }
/* "Hoofdfoto" = klein net label (niet de grote cirkel met logo). */
.ap-vehicle-add .ap-photo-preview-item .ap-photo-preview-item__badge{
    position:absolute; left:8px; top:8px; right:auto; bottom:auto;
    width:auto !important; height:auto !important; min-width:0 !important; min-height:0 !important;
    display:inline-flex; align-items:center;
    padding:2px 8px !important; border-radius:999px !important;
    background:rgba(11,31,63,.82) !important; background-image:none !important;
    color:#fff !important; font-size:10px !important; font-weight:600 !important;
    box-shadow:none !important;
}
.ap-vehicle-add .ap-photo-preview-item .ap-photo-preview-item__badge::before,
.ap-vehicle-add .ap-photo-preview-item .ap-photo-preview-item__badge::after{ content:none !important; background:none !important; }
.ap-photo-preview-item__remove{
    position:absolute; right:8px; top:8px;
    width:24px; height:24px; border-radius:50%; border:0;
    background:#fff !important; color:#42536B; font-size:15px; line-height:1; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity var(--ap-t-fast,.15s); box-shadow:0 1px 4px rgba(11,31,63,.25);
}
.ap-photo-preview-item:hover .ap-photo-preview-item__remove{ opacity:1; }

/* ============================ LIVE PREVIEW (zijbalk) ============================ */
.ap-vehicle-preview{ padding:0; overflow:hidden; }
.ap-vehicle-preview__label{
    display:block; padding:12px 18px 0;
    font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; color:#8B99AE;
}
.ap-vehicle-preview__image{
    margin:10px 0 0; aspect-ratio:16/9; background:#EDF1F8;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.ap-vehicle-preview__main-image{ width:100%; height:100%; object-fit:cover; }
.ap-vehicle-preview__image-placeholder{
    display:flex; flex-direction:column; align-items:center; gap:8px; color:#93A2B8;
}
.ap-vehicle-preview__image-placeholder svg{ width:34px; height:34px; }
.ap-vehicle-preview__image-placeholder span{ font-size:12px; }
.ap-vehicle-preview__content{ padding:16px 18px 18px; }
.ap-vehicle-preview__content h3{ margin:0; font-size:16px; font-weight:600; color:#0C1F3F; }
.ap-vehicle-preview__version{ margin:2px 0 0; font-size:12.5px; color:#7A889E; }
.ap-vehicle-preview__details{
    display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; font-size:12.5px; color:#42536B;
}
.ap-vehicle-preview__details span{ white-space:nowrap; }
.ap-vehicle-preview__meta{ margin:16px 0 0; display:grid; gap:0; }
.ap-vehicle-preview__meta > div{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:9px 0; border-top:1px solid #EEF1F7;
}
.ap-vehicle-preview__meta dt{ font-size:12px; color:#8B99AE; margin:0; }
.ap-vehicle-preview__meta dd{ margin:0; font-size:12.5px; font-weight:550; color:#0C1F3F; text-align:right; }
.ap-vehicle-preview__status{
    display:inline-flex; margin-top:14px; padding:4px 10px; border-radius:999px;
    background:#F1F4F9; color:#8B99AE; font-size:11px; font-weight:600;
}

/* Tip-kaart */
.ap-vehicle-tip{
    padding:16px 18px; border-radius:14px;
    background:#F5F8FE; border:1px solid #E1E9FA;
}
.ap-vehicle-tip strong{
    display:block; font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:#1B4DE4; margin-bottom:6px;
}
.ap-vehicle-tip p{ margin:0; font-size:12.5px; line-height:1.5; color:#42536B; }

/* ============================ STAP 5: PUBLICEREN-PREVIEW ============================ */
.ap-publish-preview__notice{
    padding:14px 16px; border-radius:12px; background:#F5F8FE; border:1px solid #E1E9FA; margin-bottom:18px;
}
.ap-publish-preview__notice strong{ display:block; font-size:13.5px; font-weight:600; color:#0C1F3F; }
.ap-publish-preview__notice p{ margin:4px 0 0; font-size:12.5px; color:#42536B; }
.ap-publish-advert{ border:1px solid #E7EBF2; border-radius:14px; overflow:hidden; background:#fff; }
.ap-publish-advert__header{
    display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
    padding:18px 20px; border-bottom:1px solid #EEF1F7;
}
.ap-publish-advert__type{
    display:inline-flex; margin-bottom:6px; padding:3px 10px; border-radius:999px;
    background:#EEF3FE; color:#1B4DE4; font-size:10.5px; font-weight:600;
}
.ap-publish-advert__header h2{ margin:0; font-size:18px; font-weight:600; color:#0C1F3F; }
.ap-publish-advert__version{ margin:2px 0 0; font-size:12.5px; color:#7A889E; }
.ap-publish-advert__price{ text-align:right; flex:0 0 auto; }
.ap-publish-advert__price span{ display:block; font-size:11px; color:#8B99AE; }
.ap-publish-advert__price strong{ display:block; font-size:20px; font-weight:600; color:#0C1F3F; }
.ap-publish-advert__price small{ display:block; font-size:11.5px; color:#8B99AE; }
.ap-publish-gallery{ padding:16px 20px 0; }
.ap-publish-gallery__main{
    aspect-ratio:16/9; border-radius:12px; background:#EDF1F8; overflow:hidden;
    display:flex; align-items:center; justify-content:center;
}
.ap-publish-gallery__main img{ width:100%; height:100%; object-fit:cover; }
.ap-publish-gallery__placeholder{ display:flex; flex-direction:column; align-items:center; gap:8px; color:#93A2B8; }
.ap-publish-gallery__placeholder svg{ width:34px; height:34px; }
.ap-publish-gallery__placeholder span{ font-size:12px; }
.ap-publish-gallery__thumbnails{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.ap-publish-gallery__thumbnails img{ width:64px; height:48px; object-fit:cover; border-radius:7px; }
.ap-publish-advert__body{ padding:20px; display:grid; gap:22px; }
.ap-publish-advert__section h3{ margin:0 0 10px; font-size:13.5px; font-weight:600; color:#0C1F3F; }
.ap-publish-advert__section h4{ margin:10px 0 4px; font-size:12.5px; font-weight:600; color:#42536B; }
.ap-publish-specifications{ margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:0 24px; }
.ap-publish-specifications > div{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:8px 0; border-top:1px solid #F1F4F9;
}
.ap-publish-specifications dt{ font-size:12px; color:#8B99AE; margin:0; }
.ap-publish-specifications dd{ margin:0; font-size:12.5px; font-weight:500; color:#0C1F3F; text-align:right; }
.ap-publish-advert__description p{ margin:0; font-size:13px; line-height:1.6; color:#42536B; }
.ap-publish-preview__actions{
    display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px;
}

/* ============================ MOBIEL ============================ */
@media (max-width:900px){
    .ap-vehicle-add__sidebar{ position:static; order:2; }
    .ap-vehicle-add__main{ order:1; }
}
@media (max-width:520px){
    .ap-vehicle-step > strong{ display:none; }
    .ap-vehicle-step{ min-width:auto; justify-content:center; }
    .ap-photo-preview-grid{ grid-template-columns:repeat(2,1fr); }
    .ap-vehicle-add input,
    .ap-vehicle-add select,
    .ap-vehicle-add textarea{ font-size:16px; }
}

/* =============================================================================
   FASE 2A — Aanbodtype (Bieding gevraagd / Direct beschikbaar) + prijslogica
   ============================================================================= */

/* --- Aanbodtype-kaarten (bovenaan stap 1) --- */
.ap-offer-type{ margin-bottom:22px; }
.ap-offer-type__head{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.ap-offer-type__title{ font-size:13.5px; font-weight:600; color:#0C1F3F; }
.ap-offer-type__req{
    font-size:10px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
    color:#8A6100; background:#FFF6E5; border-radius:999px; padding:2px 8px;
}
.ap-offer-type__options{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.ap-offer-type__option{
    display:flex; align-items:flex-start; gap:13px;
    padding:16px; border:1px solid #DDE3ED; border-radius:12px; background:#fff;
    cursor:pointer; transition:border-color var(--ap-t-fast,.15s), background var(--ap-t-fast,.15s);
}
.ap-offer-type__option:hover{ border-color:#B9C6DE; }
.ap-offer-type__option.is-selected{ border-color:#1B4DE4; background:#F5F8FE; }
.ap-offer-type__option input{ position:absolute; opacity:0; width:0; height:0; }
.ap-offer-type__icon{
    flex:0 0 40px; width:40px; height:40px; border-radius:11px;
    display:flex; align-items:center; justify-content:center;
}
.ap-offer-type__icon i{ font-size:20px; }
.ap-offer-type__icon--amber{ background:#FFF6E5; color:#8A6100; }
.ap-offer-type__icon--green{ background:#E9F8EF; color:#1B7A4B; }
.ap-offer-type__tx strong{ display:block; font-size:14px; font-weight:600; color:#0C1F3F; }
.ap-offer-type__tx small{ display:block; margin-top:3px; font-size:12.5px; line-height:1.45; color:#7A889E; }
/* Verplicht-melding als je zonder aanbodtype verder wilt */
.ap-offer-error{ margin-top:10px; font-size:12.5px; font-weight:550; color:#B0403A; }
.ap-offer-error[hidden]{ display:none; }
.ap-offer-type.has-error .ap-offer-type__options .ap-offer-type__option{ border-color:#E7B4AE; }

/* --- Segmented control (biedtermijn / prijsstelling) --- */
.ap-offer-term{ margin-top:14px; }
.ap-offer-term__label{ display:block; font-size:12.5px; font-weight:550; color:#42536B; margin-bottom:8px; }
.ap-segmented{ display:inline-flex; gap:2px; padding:3px; background:#F1F4F9; border-radius:10px; }
/* Hoge specificiteit (.ap-vehicle-add …) zodat WooCommerce de knoppen niet blauw kleurt. */
.ap-vehicle-add .ap-segmented__btn{
    border:0; background:transparent !important; padding:7px 16px; border-radius:8px;
    font:inherit; font-size:12.5px; font-weight:550; color:#42536B !important; cursor:pointer;
    transition:background var(--ap-t-fast,.15s), color var(--ap-t-fast,.15s);
}
.ap-vehicle-add .ap-segmented__btn:hover{ color:#0C1F3F !important; }
/* Gekozen = donkerblauw gevuld, witte tekst. */
.ap-vehicle-add .ap-segmented__btn.is-active{ background:#1B4DE4 !important; color:#fff !important; box-shadow:0 1px 3px rgba(27,77,228,.30); }

/* --- Stap 3: prijsblokken --- */
.ap-price-hint{
    padding:14px 16px; border-radius:12px; background:#F7F9FC; border:1px dashed #DDE3ED;
    font-size:12.5px; color:#7A889E;
}
.ap-price-block[hidden]{ display:none; }
.ap-price-free-note{
    margin-top:14px; padding:14px 16px; border-radius:12px;
    background:#F5F8FE; border:1px solid #E1E9FA; font-size:12.5px; line-height:1.5; color:#42536B;
}
/* €-prefix voor prijsvelden */
.ap-price-input{ position:relative; }
.ap-price-input::before{
    content:"€"; position:absolute; left:12px; top:50%; transform:translateY(-50%);
    font-size:14px; color:#8B99AE; pointer-events:none;
}
.ap-vehicle-add .ap-price-input input{ padding-left:26px; }

/* =============================================================================
   FASE 2B — Doorzoekbare merk/model (combobox over verborgen <select>)
   ============================================================================= */
.ap-combo{ position:relative; }
.ap-combo__native{ display:none; }
.ap-vehicle-add .ap-combo__input{ padding-right:34px; }
.ap-vehicle-add .ap-combo__input:disabled{ background:#F7F9FC; color:#A6B2C4; cursor:default; }
.ap-combo__caret{
    position:absolute; right:12px; top:50%; transform:translateY(-50%);
    font-size:14px; color:#8B99AE; cursor:pointer;
}
.ap-combo__list{
    position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:20;
    max-height:220px; overflow-y:auto; padding:4px;
    background:#fff; border:1px solid #E7EBF2; border-radius:10px;
    box-shadow:0 18px 44px -18px rgba(11,31,63,.34);
}
.ap-combo__list[hidden]{ display:none; }
.ap-combo__option{
    display:flex; align-items:center; height:34px; padding:0 10px; border-radius:7px;
    font-size:13px; color:#0C1F3F; cursor:pointer;
}
.ap-combo__option:hover{ background:#F5F8FE; }
.ap-combo__option.is-selected{ background:#EEF3FE; color:#1B4DE4; font-weight:550; }
.ap-combo__empty{ padding:10px; font-size:12px; color:#8B99AE; }

/* --- Aanbodtag in de live preview --- */
.ap-vehicle-preview__tag{
    display:inline-flex; align-items:center; margin:12px 18px 0;
    padding:4px 11px; border-radius:999px; font-size:11px; font-weight:600;
}
.ap-vehicle-preview__tag--amber{ background:#FFF6E5; color:#8A6100; }
.ap-vehicle-preview__tag--green{ background:#E9F8EF; color:#1B7A4B; }
.ap-vehicle-preview__tag[hidden]{ display:none; }
