/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.popup-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
}

.popup-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.popup-icon.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.popup-icon.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.popup-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.popup-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.popup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.popup-btn.primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

.popup-btn.primary:hover {
    background: linear-gradient(135deg, #0099cc, #007799);
    transform: translateY(-2px);
}

.popup-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: white;
}

/* Animation for popup content */
@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-modal.animate {
    animation: popupSlideIn 0.3s ease-out;
}
