.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-popup-overlay.show {
    display: flex;
}

.custom-popup {
    max-width: calc(100% - 32px);
    background: #333;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
    opacity: 0;
    transform: translateY(12px) scale(.96);
    transition: all .3s ease;
}

.custom-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Close button */
.popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
	color:#333333;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
	opacity: 0.90;  
	color: black; 
}

.popup-close:hover {
	color:#333333;
	opacity: 1;  
    background: transparent;
}

/* Form container */
.popup-form-only {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
}

/* Mobile */
@media (max-width: 480px) {
    .custom-popup {
        padding: 18px;
    }
}
