/* Privacy Modal Styles */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-modal-visible {
    opacity: 1;
}

.privacy-modal-content {
    background-color: #1a1a1a;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-modal-header {
    margin: 0;
    padding: 32px 32px 24px 32px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    flex-shrink: 0;
}

.privacy-modal-text {
    padding: 0 32px;
    line-height: 1.6;
    color: #e0e0e0;
    overflow-y: auto;
    flex-grow: 1;
}

.privacy-modal-text p {
    margin: 0 0 16px 0;
}

.privacy-modal-text p:last-child {
    margin-bottom: 0;
}

.privacy-modal-text a {
    color: #00aeb3;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #00aeb3;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.privacy-modal-text a:hover {
    color: #00d4da;
    border-bottom-color: #00d4da;
}

.privacy-modal-text a::after {
    content: "↗";
    font-size: 14px;
    font-weight: bold;
}

.privacy-modal-button {
    width: calc(100% - 64px);
    margin: 24px 32px 32px 32px;
    padding: 14px 24px;
    background-color: #00aeb3;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.privacy-modal-button:hover {
    background-color: #009499;
    transform: translateY(-1px);
}

.privacy-modal-button:active {
    transform: translateY(0);
}

/* Scrollbar styling for modal text */
.privacy-modal-text::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-text::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.privacy-modal-text::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.privacy-modal-text::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .privacy-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .privacy-modal-header {
        font-size: 24px;
        padding: 24px 20px 20px 20px;
    }

    .privacy-modal-text {
        padding: 0 20px;
    }

    .privacy-modal-button {
        width: calc(100% - 40px);
        margin: 20px 20px 24px 20px;
        padding: 12px 20px;
        font-size: 15px;
    }
}

