/* Success Popup */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    text-align: center;
    min-width: 400px;
    max-width: 500px;
    animation: popupSlideIn 0.3s ease-out;
}

.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.success-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: bounceIn 0.6s ease-out;
}

.success-popup-icon::before {
    content: "✓";
    color: white;
    font-size: 50px;
    font-weight: bold;
}

.success-popup-title {
    font-size: 26px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
}

.success-popup-message {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

.success-popup-timer {
    font-size: 15px;
    color: #666;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.success-popup-timer #countdown {
    font-weight: bold;
    color: #28a745;
    font-size: 18px;
}

@keyframes popupSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.15);
        opacity: 1;
    }
    100% { 
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .success-popup {
        min-width: 90%;
        padding: 30px 25px;
    }
}