/* Trigger Button */
.inquiry-trigger-51006ab5 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #0073a8;
    color: #ffffff;
}
.inquiry-trigger-51006ab5:hover {
    background-color: #005a87;
    color: #ffffff;
}

/* Modal Base */
.inquiry-modal-51006ab5 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.admin-bar .inquiry-modal-51006ab5 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .inquiry-modal-51006ab5 {
        top: 46px;
        height: calc(100% - 46px);
    }
}

/* Modal Active State */
.inquiry-modal-51006ab5.is-open {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
.inquiry-modal-overlay-51006ab5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Dialog & Content */
.inquiry-modal-dialog-51006ab5 {
    position: relative;
    width: 100%;
    max-height: 90vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.inquiry-modal-content-51006ab5 {
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    pointer-events: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.inquiry-modal-51006ab5.is-open .inquiry-modal-content-51006ab5 {
    transform: translateY(0);
}

/* Close Button */
.inquiry-modal-close-51006ab5 {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}
.inquiry-modal-close-51006ab5:hover {
    color: #d32f2f;
}

/* Typography */
.inquiry-modal-title-51006ab5 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #222;
}
.inquiry-modal-subtitle-51006ab5 {
    margin: 0 0 25px;
    font-size: 14px;
    color: #666;
}

/* Form Wrap */
.inquiry-modal-form-wrap-51006ab5 {
    border-radius: 4px;
    padding: 10px;
}

/* Basic CF7 Resets inside modal */
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form p {
    margin-bottom: 15px;
}
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form input[type="text"],
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form input[type="email"],
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form input[type="tel"],
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.inquiry-modal-form-wrap-51006ab5 .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #0073a8;
    color: #fff;
    font-weight: bold;
    transition: background 0.3s;
}

/* Body Scroll Lock */
body.inquiry-scroll-locked-51006ab5 {
    overflow: hidden;
}
