
/* Center the enquiry popup */
#olivoERPEnquiryModal .modal-dialog {
    width: calc(100% - 30px) !important;
    max-width: 1000px !important;
    height: calc(100vh - 60px) !important;
    margin: 30px auto !important;
}

/* Set modal content height */
#olivoERPEnquiryModal .modal-content {
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px;
}

/* Remove extra spacing and control scrolling */
#olivoERPEnquiryModal .modal-body {
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Fit the enquiry form inside the popup */
#olivoERPEnquiryModal iframe {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    border: none;
}

/* Keep the close button visible */
#olivoERPEnquiryModal .close-btn {
 position: absolute;
    top: 17px;
    right: 25px;
    z-index: 1000;
    background: #fff;
    border: none;
    font-size: 24px;cursor: pointer;
}

@media (max-width: 767px) {
    #olivoERPEnquiryModal .modal-dialog {
        width: calc(100% - 20px) !important;
        height: calc(100vh - 20px) !important;
        margin: 10px auto !important;
    }
}
