/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/
 Description:  Hello Elementor Child Theme
 Author:        Elementor Team
 Author URI:   https://elementor.com/
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  hello-elementor-child
*/

/* ── Friends & Family Popup ── */
#ff-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#ff-popup-box {
    background: #fff;
    border-radius: 8px;
    padding: 36px 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

#ff-popup-logo {
    text-align: center;
    margin-bottom: 20px;
}

#ff-popup-logo img {
    max-height: 60px;
    width: auto;
}

#ff-popup-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 14px;
    text-align: center;
    color: #1a1a1a;
}

#ff-popup-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 24px;
    text-align: center;
}

#ff-popup-message span {
    color: black;
    font-size: 18px;
    font-weight: 500;
}

/* CF7 form inside popup */
#ff-popup-box .wpcf7-form p {
    margin-bottom: 14px;
}

#ff-popup-box .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

#ff-popup-box .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

#ff-popup-box .wpcf7-form input[type="submit"]:hover {
    background: #005a87;
}

#ff-popup-box .wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

#ff-popup-box .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

#ff-popup-error {
    color: #c0392b;
    font-size: 0.875rem;
    margin-top: 8px;
    text-align: center;
}

.wpcf7-form label {
    margin-bottom: 14px;
}

#ff-popup-box .wpcf7-form .wpcf7-list-item .wpcf7-list-item-label {
    line-height: 120%;
}

#ff-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    z-index: 10;
}

#ff-popup-close:hover {
    color: #000;
}

/* Ensure the popup box has relative positioning for the button to anchor to */
#ff-popup-box {
    position: relative;
}

/* address widget styling for halo.earthlink.net */

.elnk-address-widget__container button:disabled {
    background: linear-gradient(180deg, rgba(0, 163, 224, 1) 0%, rgba(0, 117, 163, 1) 100%) !important;
    /* opacity: 1 !important; */
}

.elnk-address-widget__row {
    position: relative;
}

.elnk-address-widget__field input[type="text"] {
    border-radius: 36px !important;
    font-size: 16px !important;
    padding: 28px 0 28px 32px !important;
    border: unset !important;
    box-shadow: 0 0 0 2px rgba(0, 117, 163, 1);
    outline: none;
}

.elnk-address-widget__container button {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 36px 36px 0 !important;
    padding: 26px 41px 26px 41px !important;
    height: auto !important;
    font-size: 20px !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 11px;
}

.elnk-address-widget__field-inline {
    display: none !important;
}

.elnk-address-widget__overlay {
    margin-top: 5.7rem !important;
    max-width: 669px;
    width: 100% !important;
}

.most-popular-text {
    transform: translate(-50%);
}

.ff-custom-agree-error {
    color: rgb(220, 50, 50);
}

@media (max-width: 1380px) {
    .experience-image {
        position: static !important;
        max-width: 100% !important;
    }
}

@media (max-width: 1330px) {
    .halo-hero-section .e-con-inner {
        flex-direction: column !important;
    }

    .halo-hero-img {
        display: flex !important;
        justify-content: center !important;
    }
}

@media(max-width: 767px) {
    .elnk-address-widget__field input[type="text"] {
        font-size: 12px !important;
        padding: 18px 0 18px 12px !important;
    }

    .elnk-address-widget__container button {
        padding: 16px 16px 16px 16px !important;
        font-size: 15px !important;
        gap: 4px;
    }

    .elnk-address-widget__overlay {
        margin-top: 3.7rem !important;
    }
}