
#privacyOverlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}

#privacyPopup {    
    position: absolute;  
    top: 50%;
    left: 50%;
    padding-top: 50px;
    transform: translate(-50%, -50%);
    padding: 50px 30px;
    width: 90%;
    font-family: 'Poppins', sans-serif;
    background: white;
    max-width: 600px;                
    max-height: 75vh;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    box-sizing: border-box;
    animation: fadeIn 3s ease-in-out;
    animation: fadeOut 3s ease-in-out;
}

.privacy-content {
    max-height: calc(75vh - 100px);
    overflow-y: scroll;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
    margin-bottom: 100px;
    padding: 40px;
}

.privacy-logo {
    display: block;
    margin: auto auto 20px auto;
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
}

.privacy-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 0%;
    width: 100%;
    height: 80px;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
}

#privacyPopup.privacy-content::-webkit-scrollbar {
    display: block;
}

.privacy-content * {
    max-width: 100%;
    box-sizing: border-box;
}

.privacy-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.privacy-content h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 25px;
}

.privacy-content p {
    text-align: justify;
    margin-bottom: 10px;
    padding-bottom: 20px;
    line-height: 1.5;
}

.privacy-content ul {
    text-align: justify;
}   

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.btn {
    padding: 10px 30px;
    border: none;
    width: auto;
    height: auto;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-primary:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.btn-primary:disabled:hover {
    background-color: #cccccc;
}

#acceptPrivacy {
    display: block;
    margin-left: 0;
}

@media (max-width: 480px), 
       (min-width: 481px) and (max-width: 768px), 
       (min-width: 769px) and (max-width: 1024px) {
    .privacy-button {
        height: auto;
        padding: 10px;
    }
    
    .privacy-content {
        padding: 20px;
    }
}
