/* Sejoli Engagement Engine - Storefront Popup Styles */
.see-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.see-popup-overlay.see-active { display: flex; }

.see-popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
    position: relative;
    animation: seePopupIn 0.3s ease-out;
}

@keyframes seePopupIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.see-popup-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 24px 24px 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
}
.see-popup-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.see-popup-header .see-popup-subtitle {
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.95;
}

.see-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s;
}
.see-popup-close:hover { background: rgba(255,255,255,0.35); }

.see-popup-body {
    padding: 24px;
}
.see-popup-body p { line-height: 1.6; color: #444; }

.see-popup-voucher {
    background: #fff8e5;
    border: 2px dashed #f39c12;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin: 16px 0;
}
.see-popup-voucher .see-voucher-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b8860b;
    margin-bottom: 4px;
}
.see-popup-voucher .see-voucher-code {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #d35400;
    letter-spacing: 2px;
}
.see-popup-voucher .see-voucher-expiry {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 6px;
}

.see-popup-cta {
    display: inline-block;
    background: #27ae60;
    color: #fff !important;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
}
.see-popup-cta:hover { background: #219a52; transform: translateY(-1px); }
.see-popup-cta:active { transform: translateY(0); }

.see-popup-footer {
    padding: 12px 24px 16px;
    text-align: center;
    font-size: 11px;
    color: #95a5a6;
}

/* Offer card */
.see-offer-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}
.see-offer-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #2c3e50;
}
.see-offer-card .see-offer-discount {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Shortcode offers list */
.see-offers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

/* Floating widget variant (bottom-right corner) */
.see-popup-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    max-width: 320px;
    padding: 16px;
    z-index: 99998;
    animation: seePopupIn 0.3s ease-out;
}
.see-popup-widget .see-popup-voucher-code { font-size: 18px; }
.see-popup-widget .see-popup-cta { padding: 10px 20px; font-size: 14px; }
.see-popup-widget .see-popup-close {
    background: #f0f0f0;
    color: #666;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    font-size: 14px;
}
