.elementor-41490 .elementor-element.elementor-element-2d23e7e{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:30px;--padding-bottom:20px;--padding-left:30px;--padding-right:30px;}#elementor-popup-modal-41490{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-41490 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-41490 .dialog-close-button{display:flex;}#elementor-popup-modal-41490 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:767px){#elementor-popup-modal-41490 .dialog-message{width:320px;}#elementor-popup-modal-41490{align-items:center;}#elementor-popup-modal-41490 .dialog-close-button{font-size:28px;}}@media(min-width:768px){.elementor-41490 .elementor-element.elementor-element-2d23e7e{--content-width:600px;}}/* Start custom CSS *//* --- DESKTOP: Big & Spacious --- */
#elementor-popup-modal-41490 .elementor-widget-shortcode {
    background-color: #ffffff !important;
    border-radius: 8px;
    min-height: 450px !important; /* Force open on desktop */
    padding: 40px !important;
}

/* --- MOBILE: Tight & Compact Box --- */
@media (max-width: 767px) {
    #elementor-popup-modal-41490 .elementor-widget-shortcode {
        /* 1. Kill the forced height so it shrinks to fit content */
        min-height: auto !important; 
        
        /* 2. Tiny padding to save space */
        padding: 15px !important; 
        
        /* 3. Ensure it doesn't touch screen edges */
        width: 100% !important; 
        margin: 0 auto !important;
    }

    /* Shrink the Gold Button text slightly for mobile */
    #elementor-popup-modal-41490 .gform_wrapper .gform_footer input[type="submit"] {
        padding: 12px 15px !important;
        font-size: 16px !important;
    }
}

/* --- UNIVERSAL: Colors & Visibility --- */
#elementor-popup-modal-41490 .gform_wrapper {
    display: block !important;
    visibility: visible !important;
}

/* Gold Button Colors */
#elementor-popup-modal-41490 .gform_wrapper .gform_footer input[type="submit"] {
    background-color: #D4AF37 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    font-weight: 700;
    border: none !important;
    width: 100%;
    cursor: pointer;
}
#elementor-popup-modal-41490 .gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: #B8860B !important;
}
/* Hides the automatic "Please enter a number..." text */
#elementor-popup-modal-41490 .instruction {
    display: none !important;
}
/* --- ULTRA-COMPACT MOBILE MODE --- */
@media (max-width: 767px) {
    
    /* 1. Force First/Last Name to stay Side-by-Side (Huge Space Saver) */
    #elementor-popup-modal-41490 .ginput_complex.ginput_container_name span {
        width: 48% !important;
        display: inline-block !important;
        vertical-align: top !important;
        margin-right: 2% !important;
    }
    #elementor-popup-modal-41490 .ginput_complex.ginput_container_name span:last-child {
        margin-right: 0 !important;
    }

    /* 2. Drastically reduce gap between questions */
    #elementor-popup-modal-41490 .gform_wrapper li.gfield {
        margin-bottom: 5px !important; 
        margin-top: 0 !important;
    }

    /* 3. Make the typing boxes shorter & smaller text */
    #elementor-popup-modal-41490 .gform_wrapper input[type="text"],
    #elementor-popup-modal-41490 .gform_wrapper input[type="email"],
    #elementor-popup-modal-41490 .gform_wrapper input[type="tel"],
    #elementor-popup-modal-41490 .gform_wrapper input[type="number"] {
        padding: 4px 8px !important;
        height: 35px !important;       /* Slimmer boxes */
        min-height: 35px !important;
        font-size: 14px !important;    /* Smaller text inside */
        line-height: 1.2 !important;
    }

    /* 4. Smaller Labels */
    #elementor-popup-modal-41490 .gform_wrapper .gfield_label {
        font-size: 13px !important;
        margin-bottom: 2px !important;
        font-weight: 600 !important;
    }

    /* 5. Hide the tiny "First" and "Last" sub-labels to save space */
    #elementor-popup-modal-41490 .ginput_complex label {
        display: none !important;
    }

    /* 6. Tighten the Footer/Button area */
    #elementor-popup-modal-41490 .gform_wrapper .gform_footer {
        margin-top: 8px !important;
        padding-top: 0 !important;
    }

    /* 7. Reduce the white box padding to the minimum safe limit */
    #elementor-popup-modal-41490 .elementor-widget-shortcode {
        padding: 12px !important;
    }
}/* End custom CSS */