.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.popup-overlay.visible {
    opacity: 1;
}

.popup-box {
    background-color: #222222;
    border-radius: 15px;
    padding: 30px 40px;
    min-width: 350px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.popup-overlay.visible .popup-box {
    transform: scale(1);
}

.popup-message {
    font-family: 'NeueMedium';
    font-size: 1.1em;
    text-align: center;
    color: white;
    margin: 0 !important;
}

.popup-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn-annuler {
    font-family: 'NeueBlack';
    background-color: #222222;
    color: white;
    border-radius: 10px;
    padding: 10px 25px !important;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: auto !important;
    margin: 0 !important;
}

.popup-btn-annuler::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.popup-btn-annuler:hover::after {
    width: calc(100% - 30px);
}

.popup-btn-confirmer {
    font-family: 'NeueBlack';
    background-color: white;
    color: black;
    border-radius: 10px;
    padding: 10px 25px !important;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: auto !important;
    margin: 0 !important;
}

.popup-btn-confirmer::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

.popup-btn-confirmer:hover::after {
    width: calc(100% - 30px);
}