/**
 * 🔒 Estilos para componente de Privacidad
 */

/* Botón flotante de privacidad */
.privacy-button {
    position: fixed;
    bottom: 160px; /* Ajustado para quedar arriba del footer (100px + 40px margen) */
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(190, 0, 255, 0.15);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(190, 0, 255, 0.3);
    transition: all var(--transition-normal);
    z-index: 1001; /* Por encima del footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(190, 0, 255, 0.4);
}

.privacy-button:active {
    transform: translateY(-2px);
}

/* Modal de privacidad */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.privacy-modal.visible {
    display: flex;
}

.privacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.privacy-modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    max-width: 700px;
    max-height: 85vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

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

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.privacy-modal-close:hover {
    background: var(--background);
    color: var(--text-primary);
}

.privacy-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h3 {
    color: var(--orange-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.privacy-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.privacy-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.privacy-actions {
    background: var(--background);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-top: 1rem;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.privacy-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .privacy-button {
        bottom: 150px; /* Footer 80px + 40px margen */
    }
}

@media (max-width: 768px) {
    .privacy-button {
        bottom: 140px; /* Footer 60px + 40px margen */
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .privacy-modal-content {
        max-height: 90vh;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .privacy-section h3 {
        font-size: 1rem;
    }
}

