.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    cursor: pointer;
}

.popup-content {
    cursor: default;
}

.popup-content {
    position: relative;
    background-color: #fff;
    margin: 10vh auto;
    padding: 30px;
    width: min(90%, 800px);
    border-radius: 8px;
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) transparent;
}

.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: transparent;
}

.popup-content::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.close-button {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 18px;
    cursor: pointer;
    background: transparent;
    padding: 8px 12px;
    z-index: 1002;
    transition: all 0.2s ease;
}

.close-button:hover {
    transform: scale(1.1);
}

.privacy-text {
    color: #000000;
    cursor: pointer;
    text-decoration: none;
}