.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: popupFadeIn 0.3s ease-out;
}

.popup.success {
    border-top: 4px solid #4CAF50;
}

.popup.error {
    border-top: 4px solid #f44336;
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-close:before,
.popup-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #333;
    top: 50%;
    left: 0;
}

.popup-close:before {
    transform: rotate(45deg);
}

.popup-close:after {
    transform: rotate(-45deg);
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.popup.success .popup-icon {
    color: #4CAF50;
}

.popup.error .popup-icon {
    color: #f44336;
}

.popup-message {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}