/* LAYOUT, FRAMEWORK & SPACING */
.elementor-widget-uael-gf-styler .gform-theme--framework {
    --gf-form-gap-y: 10px !important;
}
.elementor-widget-uael-gf-styler .gform_page:first-child .gform_page_fields {
    margin-top: 45px !important;
}
.elementor-widget-uael-gf-styler .ginput_complex {
    margin-bottom: 8px !important;
}
.elementor-widget-uael-gf-styler .gf_progressbar_wrapper {
    margin-bottom: 30px !important;
}
.gform_wrapper .gfield.spacing-top {
    margin-top: 30px !important;
    clear: both !important;
}


/* NEXT/SUBMIT BUTTONS */
.gform_wrapper .gform_next_button[disabled],
.gform_wrapper input[type="submit"][disabled] {
    opacity: 0.7;
    cursor: wait !important;
}


/* PREVIOUS BUTTON */
	/* ghost mode */
	.gform_wrapper .gform_previous_button {
		background-color: transparent !important;
		color: #333333 !important;
		border: 1px solid #cbd5e1 !important;
	}
	.gform_wrapper .gform_previous_button:hover {
		background-color: #f8fafc !important;
	}

	/* grey
	.gform_wrapper .gform_previous_button {
		background-color: #e2e8f0 !important;
		color: #475569 !important;
		border: none !important;
	}
	.gform_wrapper .gform_previous_button:hover {
		background-color: #cbd5e1 !important;
	} */


/* COUPON BUTTON */
.gform_wrapper .gform_coupon_button, 
.gform_wrapper input[type="button"].gform_coupon_btn {
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    min-height: unset !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 8px;
}

/* TYPOGRAPHY, HEADINGS & LABELS */
.gform_wrapper h3, 
.gform_wrapper h3.gform_card_title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important; 
    padding-right: 10px;
}

.gform_wrapper .gfield_required,
.gform_wrapper .gfield_field_label + .gfield_required,
.gform_wrapper h3 .gfield_required {
    margin-left: 6px !important;
}

.elementor-widget-uael-gf-styler .gsection_title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
}

.gform_wrapper .gfield.make-heading > .gfield_label {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #7a7a7a !important; 
    margin-bottom: 15px !important;
    display: block !important;
}


/* INPUT FIELDS, DROPDOWNS */
.elementor-widget-uael-gf-styler .ginput_container_select select.gfield_select {
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.elementor-widget-uael-gf-styler .uael-gf-select-custom::after {
    display: none !important;
}

.gform_wrapper .ginput_container_address select,
.gform_wrapper .ginput_card_expiration_month,
.gform_wrapper .ginput_card_expiration_year {
    height: 40px !important; 
    padding-top: 0 !important; 
    padding-bottom: 0 !important; 
    line-height: 40px !important; 
    font-size: 15px !important; 
}

.gform_wrapper .iti {
    width: 100% !important;
}

/* Telephone Field */
.gf-telephone::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.gform_wrapper .ginput_container_telephone input[type="text"].large {
    padding-left: 65px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* GP Advanced Phone Field */
	/* Flag container background 
	.gfield--type-phone .iti .iti__selected-flag {
		background-color: #f7f7f7 !important;
		border-right: 1px solid #d1d5db;
		border-top-left-radius: 4px;
		border-bottom-left-radius: 4px;
	}

	.gfield--type-phone .iti .iti__selected-flag:hover {
		background-color: #e5e7eb !important;
	}

	/* Dropdown arrow color
	.gfield--type-phone .iti .iti__arrow {
		border-top-color: #374151 !important;
	} */

	/* Hide placeholder */
	.gfield--type-phone input.iti__tel-input::placeholder {
		color: transparent !important;
		opacity: 0;
	}
/* End GP Advanced Phone Field */


/* MULTI-STEP FORM STYLING */
.gform_wrapper .gf_page_steps {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 0 25px 0 !important;
    padding: 0 0 15px 0 !important;
    border-bottom: 5px solid #e2e8f0 !important;
    position: relative !important;
}

.gform_wrapper .gf_step {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #a0aec0 !important;
    position: relative !important;
    padding: 0 4px !important;
}

.gform_wrapper .gf_step_active {
    font-weight: 600 !important;
}

.gform_wrapper .gf_step_active .gf_step_title {
    color: #2d3748 !important;
    word-break: break-word !important;
}

.gform_wrapper .gf_step_number {
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: bold !important;
    margin-bottom: 4px !important;
}

.gform_wrapper .gf_step_active .gf_step_number {
    background-color: var(--widget-btn-color, #265e9a) !important;
    border-color: var(--widget-btn-color, #265e9a) !important;
    color: #ffffff !important;
}

.gform_wrapper .gf_step_active::after {
    content: "" !important;
    position: absolute !important;
    bottom: -20px !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background-color: var(--widget-btn-color, #265e9a) !important;
    z-index: 2 !important;
}

.gform_wrapper .gf_step_active::before {
    content: "" !important;
    position: absolute !important;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    border-bottom: 8px solid var(--widget-btn-color, #265e9a) !important;
    z-index: 3 !important;
}



/* BUTTONS, OVERLAYS & MISC */
.elementor-widget-uael-gf-styler {
    --widget-btn-color: inherit;
}
.elementor-widget-uael-gf-styler .gform-theme-button,
.elementor-widget-uael-gf-styler input[type="button"] {
    background-color: var(--widget-btn-color, #265e9a);
}

.partial_entry_warning {
    display: none !important;
}

#form-processing-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
}
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}