.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-overlay.active {
    display: block;
    opacity: 1;
}

.popup-box {
    width: 90%;
    max-width: 50%;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.popup-overlay.active .popup-box {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-box .btn_action {
    text-align: right;
}

.popup-box .btn_action button {
    margin-top: 15px;
    padding: 8px 20px;
    border: none;
    background: #71b13c;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#closeBtn {
    background: #c4161c;
}

.popup-box .btn_action button:hover {
    background: #ffc600 !important;
    color: #333333;
}
