/* Success Popup Styles */
.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-popup.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.success-popup__content {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.success-popup.active .success-popup__content {
    transform: scale(1);
}

.success-popup__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00, #E55D00);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successBounce 0.6s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.success-popup__icon::after {
    content: '';
    width: 24px;
    height: 12px;
    border: 4px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    margin-top: -6px;
}

.success-popup__title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.2;
    text-align: center;
}

.success-popup__message {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px;
    line-height: 1.5;
    text-align: center;
}

.success-popup__button {
    display: none;
}

.success-popup__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.success-popup__close:hover {
    color: #333;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .success-popup__content {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .success-popup__title {
        font-size: 24px;
    }
    
    .success-popup__message {
        font-size: 14px;
    }
    
    .success-popup__icon {
        width: 60px;
        height: 60px;
    }
    
    .success-popup__icon::after {
        width: 18px;
        height: 9px;
        border-width: 3px;
        margin-top: -4px;
    }
}
