/* LPINZ Enquire Now modal */
.lpinz-enquire-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lpinz-enquire-modal.is-open {
    display: flex;
}
.lpinz-enquire-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 45, 0.65);
    cursor: pointer;
}
.lpinz-enquire-modal__dialog {
    position: relative;
    background: #fff;
    color: #111;
    width: min(820px, 94vw);   /* wide enough for Forminator 2-col rows */
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 32px 28px 28px;
    text-align: left;
}
.lpinz-enquire-modal__body {
    /* Forminator inherits height/flex from ancestors in some themes; reset
       so the form renders at its natural block height inside the modal. */
    display: block;
    height: auto;
    min-height: 0;
}
/* Drop the empty <br> Forminator emits inside its loader wrapper
   (causes a ~20px gap above the form). */
.lpinz-enquire-modal__body .forminator-ui[data-forminator-render="0"] > br {
    display: none;
}
/* Forminator's input/textarea border-color is unset in the form-specific
   stylesheet for this form, so the borders inherit `currentColor` and
   visually disappear. Force a neutral grey to match the rest of the design. */
.lpinz-enquire-modal__body .forminator-input,
.lpinz-enquire-modal__body .forminator-textarea {
    border-color: #eaeaea;
}
.lpinz-enquire-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    padding: 4px 10px;
}
.lpinz-enquire-modal__close:hover { color: #000; }
.lpinz-enquire-modal__title {
    margin: 0 0 30px;
    font-size: 22px !important;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    color: #0b3b78;
}
body.lpinz-enquire-open { overflow: hidden; }
