/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Popup Container */
.popup-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
    max-height: 80vh;
    /*overflow-y: scroll;*/
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-content {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.popup-left {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.popup-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
}

.discount-box {
    margin-bottom: 32px;
}

.discount-amount {
    font-size: 48px;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
}

.discount-text {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
    margin-left: 8px;
}

.promo-code-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.code-label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.code-container {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 12px;
}

.promo-code {
    flex: 1;
    font-family: monospace;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.copy-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: #4f46e5;
    transform: scale(1.1);
}

.btn-claim {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.popup-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}

.popup-timer i {
    margin-right: 8px;
}

.countdown {
    font-weight: 600;
    color: #1a1a1a;
}

.popup-right {
    flex: 1;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    position: relative;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
    }
    
    .popup-left {
        padding: 30px;
    }
    
    .popup-right {
        min-height: 300px;
    }
    
    .popup-title {
        font-size: 28px;
    }
    
    .discount-amount {
        font-size: 36px;
    }
    
    .discount-text {
        font-size: 20px;
    }
} 

/* Popup Notifications */
.popup-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.popup-notification.success {
    border-left: 4px solid #10b981;
}

.popup-notification.error {
    border-left: 4px solid #ef4444;
} 