#gtg-exit-intent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#gtg-exit-intent-modal {
    padding: 40px;
    border-radius: 18px;
    background: white;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
    max-width: 95%;
    width: 450px;
    max-height: calc(100% - 50px);
    overflow: scroll;
    position: relative;
}

#gtg-exit-intent-modal h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

#gtg-exit-intent-modal p {
    margin-top: 0;
    margin-bottom: 16px;
}

#gtg-exit-intent-modal .gei-options {
    margin-bottom: 10px;
}

/* 🔽 NEW: clickable box labels */

/* make the whole label clickable */
#gtg-exit-intent-modal .gei-option {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* hide the native radio circle */
#gtg-exit-intent-modal .gei-option input[type="radio"] {
    display: none;
}

/* the visual box */
#gtg-exit-intent-modal .gei-option span {
    display: block;
    padding: 12px 14px;
    background: #f1f1f1;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* hover effect */
#gtg-exit-intent-modal .gei-option:hover span {
    background: #e6e6e6;
}

/* selected state */
#gtg-exit-intent-modal .gei-option input[type="radio"]:checked + span {
    background: #49c6f9;
    color: #fff;
    border-color: #49c6f9;
}

#gtg-exit-intent-modal textarea {
    width: 100%;
    min-height: 80px;
    margin-bottom: 12px;
    padding: 6px 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
}

#gtg-exit-intent-modal button[type="submit"] {
    width: 100%;
    padding: 1.4em 3em !important;
    border-radius: 8px;
    background: #48c6f9 !important;
    font-weight: 600;
    margin-top: 16px;
    font-size: 14px;
    cursor: pointer;
    color: white;
    border: none;
}

#gtg-exit-intent-modal button[type="submit"]:hover {
    background: #006190;
}

#gtg-exit-intent-modal .gei-success {
    color: #008000;
    text-align: center;
    font-size: 13px;
    margin-top: 30px;
    margin-bottom: 0;
}

#gtg-exit-intent-modal .gei-error {
    color: #cc0000;
    text-align: center;
    font-size: 13px;
    margin-top: 30px;
    margin-bottom: 0;
}

#gtg-exit-intent-modal .gei-other-field {
    display: none;
}

#gtg-exit-intent-modal button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

#gtg-exit-intent-modal .gei-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

/* Optional: hover state */
#gtg-exit-intent-modal .gei-close:hover {
    color: #000;
}

@media only screen and (max-width: 500px) {
    #gtg-exit-intent-modal {
        padding: 26px;
        border-radius: 12px;
    }
}