/* JollyRecover Exit Intent Popup */

#jr-exit-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.jr-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    animation: jr-fade-in .25s ease;
}

.jr-popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    width: 480px;
    max-width: 94vw;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: jr-slide-up .3s cubic-bezier(.34,1.56,.64,1);
    text-align: center;
}

.jr-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    transition: color .15s;
}
.jr-popup-close:hover { color: #333; }

.jr-popup-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: jr-bounce .6s ease .3s both;
}

.jr-popup-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}

.jr-popup-body {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

.jr-field-wrap {
    margin-bottom: 12px;
}

.jr-popup-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .2s;
    outline: none;
}
.jr-popup-input:focus { border-color: #e44c65; }

.jr-consent-wrap {
    margin-bottom: 16px;
    text-align: left;
}
.jr-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    line-height: 1.4;
}
.jr-consent-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #e44c65;
}

.jr-popup-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #e44c65, #c0392b);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: opacity .2s, transform .1s;
}
.jr-popup-btn:hover   { opacity: .92; }
.jr-popup-btn:active  { transform: scale(.98); }
.jr-popup-btn:disabled { opacity: .6; cursor: not-allowed; }

.jr-popup-success {
    color: #27ae60;
    font-weight: 600;
    margin: 12px 0 0;
    font-size: 15px;
}

.jr-popup-error {
    color: #e74c3c;
    font-size: 13px;
    margin: 8px 0 0;
}

/* Animations */
@keyframes jr-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes jr-slide-up {
    from { opacity: 0; transform: translate(-50%,-40%); }
    to   { opacity: 1; transform: translate(-50%,-50%); }
}
@keyframes jr-bounce {
    0%,100% { transform: translateY(0);   }
    40%     { transform: translateY(-12px); }
    60%     { transform: translateY(-6px);  }
}
