/* css/exit-intent.css */

/* overlay sits on top, but starts hidden */
#eigf-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 999999; /* above your automation header + quote popup */
}

#eigf-overlay.eigf-hidden {
    display: none;
}

#eigf-overlay.eigf-visible {
    display: flex;
}

/* popup box */
#eigf-popup {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: eigf-fadeIn 0.25s ease-out;
}

/* logo */
.eigf-logo {
    max-width: 150px;
    margin: 0 auto 20px auto;
    display: block;
}

/* heading */
.eigf-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}

/* form wrapper */
.eigf-form {
    margin-top: 10px;
}

/* GF fields full width in popup */
#eigf-popup input,
#eigf-popup textarea,
#eigf-popup select {
    width: 100% !important;
    box-sizing: border-box;
}

/* animation */
@keyframes eigf-fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* mobile tweaks */
@media (max-width: 480px) {
    #eigf-popup {
        padding: 22px 18px;
        max-width: 95%;
    }
    .eigf-heading {
        font-size: 1.1rem;
    }
}
