.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dim background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: popupFadeIn 0.2s ease-out;
}

.custom-popup-content {
    background: white;
    padding: 24px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); /* Shadow */
    min-width: 320px;
    max-width: 90%;
    font-family: sans-serif;
    /* Animated entrance */
    animation: popupScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.custom-popup-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.custom-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0 5px;
}

.custom-popup-close:hover {
    color: #000;
}

/* Animations */
@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupScaleUp {
    from { 
        transform: scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}
