/* SCI Exit Intent Popup v1.0.2 */

#sci-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#sci-exit-overlay.sci-visible {
    opacity: 1;
    pointer-events: all;
}

#sci-exit-popup {
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    padding: 40px 36px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.4s ease;
    font-family: inherit;
    z-index: 1000000;
}

#sci-exit-overlay.sci-visible #sci-exit-popup {
    transform: translateY(0);
}

#sci-exit-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
}

#sci-exit-close:hover { color: #000; }

#sci-exit-popup h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

#sci-exit-popup p {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
}

.sci-coupon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f5f5f5;
    border: 2px dashed #c8a84b;
    border-radius: 6px;
    padding: 14px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sci-coupon-label {
    font-size: 0.85rem;
    color: #666;
    width: 100%;
}

.sci-coupon-code {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
}

#sci-copy-btn {
    background: #c8a84b;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

#sci-copy-btn:hover { background: #b8943b; }

#sci-stay-btn {
    background: #1a4d2e;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 14px;
    transition: background 0.2s;
}

#sci-stay-btn:hover { background: #164026; }

.sci-no-thanks a {
    font-size: 0.85rem;
    color: #999;
    text-decoration: underline;
}

.sci-no-thanks a:hover { color: #666; }

/* Coupon apply status messages */
#sci-coupon-status {
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 20px;
    margin: -12px 0 14px;
    padding: 0 4px;
}

#sci-coupon-status.sci-status-success {
    color: #1a4d2e;
}

#sci-coupon-status.sci-status-error {
    color: #c0392b;
}

#sci-stay-btn:disabled {
    background: #888;
    cursor: not-allowed;
}
