/* Privacy Policy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.privacy-modal.show {
    display: flex;
}

.privacy-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.privacy-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.privacy-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.privacy-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.privacy-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.privacy-content h4:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.privacy-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.privacy-modal-footer {
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-radius: 0 0 15px 15px;
    border-top: 1px solid var(--border-color);
}

.privacy-modal-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.privacy-modal-btn.cancel {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.privacy-modal-btn.cancel:hover {
    background: var(--bg-color);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.privacy-modal-btn.accept {
    background: var(--primary-color);
    color: #000;
    border: 2px solid var(--primary-color);
}

.privacy-modal-btn.accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

/* Custom Scrollbar for Modal */
.privacy-modal-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-modal {
        padding: 1rem;
    }
    
    .privacy-modal-content {
        max-height: 95vh;
    }
    
    .privacy-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .privacy-modal-title {
        font-size: 1.3rem;
    }
    
    .privacy-modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    .privacy-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .privacy-modal-btn {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-modal {
        padding: 0.5rem;
    }
    
    .privacy-modal-header {
        padding: 1rem;
    }
    
    .privacy-modal-title {
        font-size: 1.2rem;
    }
    
    .privacy-modal-body {
        padding: 1rem;
    }
    
    .privacy-content h4 {
        font-size: 1.1rem;
    }
    
    .privacy-content p,
    .privacy-content li {
        font-size: 0.9rem;
    }
}
