.popup-overlay {

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.65);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.popup-overlay.hidden {
    display: none;
}

.popup-card {

    background: #f5ece7;

    border: 1px solid #c5a99d;

    border-radius: 12px;

    width: 90%;
    max-width: 500px;

    padding: 30px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,.3);

    animation: popupFade .25s ease;
}

.popup-card h3 {

    margin-top: 0;

    color: #f59c6f;
    font-size: 1.5rem;
}

.popup-card p, .popup-card div {
    color: #444;
    line-height: 1.5;
}

.popup-card button {

    margin-top: 20px;

    background: #f59c6f;
    color: white;

    border: none;
    border-radius: 6px;

    padding: 10px 25px;

    cursor: pointer;
}

.popup-card button:hover {
    opacity: .9;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.popup-actions button {
    min-width: 120px;
}

@keyframes popupFade {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}