/* Pop-up de Sucesso */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.3s ease-in-out;
    position: relative;
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-in-out;
}

.popup-icon::after {
    content: "✓";
    color: white;
    font-size: 50px;
    font-weight: bold;
}

.popup-container h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.popup-container p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.popup-close-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 20px;
        max-width: 90%;
    }

    .popup-container h2 {
        font-size: 24px;
    }

    .popup-container p {
        font-size: 14px;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
    }

    .popup-icon::after {
        font-size: 40px;
    }
}

