.popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.popupOverlay.active {
    visibility: visible;
    opacity: 1;
}

.popupContent {
    background-color: #2d2e2e;
    border: 1px solid #00f;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    width: 350px;
    color: white;
    text-align: center;
    transform: scale(0.8);
    animation: popupIn 0.3s ease forwards;
    position: relative;
}

@keyframes popupIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popupButtons {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}

.popupLink {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.popupLink.green {
    background-color: #28a745;
    color: white;
    border: none;
}

.popupLink.green:hover {
    background-color: #218838;
}

.popupLink.red {
    background-color: #dc3545;
    color: white;
    border: none;
}

.popupLink.red:hover {
    background-color: #c82333;
}

#popupClose {
    position: absolute;
    top: 10px;
    right: 14px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}