/* V20.281 — Retouches du formulaire d'alerte uniquement.
 * Les vues contact, confirmation et gestion conservent leurs dimensions.
 */

body.palmer-commercial-form-view-v265 .pcf-page[data-pcf-mode="alert"] .pcf-intro > p {
    font-size:calc(var(--pi-type-copy) + 1px)!important;
}

/* Quatre champs : réduire la hauteur totale de 0,3 cm en diminuant
 * aussi bien le minimum que les deux paddings, sans toucher au texte.
 */
body.palmer-commercial-form-view-v265 .pcf-page[data-pcf-mode="alert"] :is(#pcf-first_name,#pcf-email,#pcf-prix_max,#pcf-chambres_min) {
    padding-top:calc(13px - .15cm);
    padding-bottom:calc(13px - .15cm);
    min-height:calc(48px - .3cm);
}

/* Cinquième rectangle visible : le bouton de création de l'alerte. */
body.palmer-commercial-form-view-v265 .pcf-page[data-pcf-mode="alert"] .pcf-form > button.pcf-button[type="submit"] {
    padding-top:calc(16px - .15cm);
    padding-bottom:calc(16px - .15cm);
    min-height:calc(52px - .3cm);
}

/* Garder le sélecteur natif et déplacer uniquement son chevron visible.
 * L'espace réservé à droite évite que le libellé recouvre la flèche.
 */
body.palmer-commercial-form-view-v265 .pcf-page[data-pcf-mode="alert"] #pcf-chambres_min {
    appearance:none;
    -webkit-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%2334312e' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right .5cm center;
    background-size:12px 8px;
    padding-right:calc(.5cm + 26px);
}

@media (forced-colors:active) {
    body.palmer-commercial-form-view-v265 .pcf-page[data-pcf-mode="alert"] #pcf-chambres_min {
        appearance:auto;
        -webkit-appearance:auto;
        background-image:none;
    }
}
