/* Estilos para páginas legales */

.legal-documents {
    margin: 40px 0;
}

.legal-doc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.legal-doc:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.legal-doc h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.legal-doc p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.legal-doc .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3757f7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-doc .btn:hover {
    background: #2d46d9;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(55, 87, 247, 0.3);
}

.legal-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.legal-contact h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.legal-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 14px;
}

.legal-updates {
    background: #f1f5f9;
    border-left: 4px solid #3757f7;
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}

.legal-updates h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.legal-updates p {
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-updates p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Estilos para el contenido de las páginas legales */
.entry-content {
    padding-left: 15px;
}

.entry-content h2 {
    color: #1e293b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #3757f73b;
    padding-bottom: 10px;
}

.entry-content h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.entry-content h4 {
    color: #334155;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 12px 0;
}

.entry-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
}

.entry-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.entry-content li {
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}

.entry-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* Estilos específicos para el aviso legal */
.company-info, .contact-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.company-info p, .contact-info p {
    margin-bottom: 8px;
}

.company-info p:last-child, .contact-info p:last-child {
    margin-bottom: 0;
}

/* Estilos para la política de cookies */
.cookies-table {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.cookies-table h4 {
    color: #334155;
    margin: 20px 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.cookies-table h4:first-child {
    margin-top: 0;
}

.cookie-consent-info {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.cookie-consent-info h4 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.cookie-consent-info p {
    color: #1e40af;
    margin-bottom: 0;
    font-weight: 500;
}

/* Estilos para la sidebar legal */
.legal-sidebar {
    position: sticky;
    top: 180px;
    padding-left: 0;
}

.sidebar-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #3757f73b;
    padding-bottom: 10px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px 0;
}

.sidebar-links a:hover {
    color: #3757f7;
}

.rights-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.right-item strong {
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.right-item p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.contact-sidebar p {
    color: #475569;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-sidebar p:last-child {
    margin-bottom: 0;
}

.contact-sidebar strong {
    color: #1e293b;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-doc {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .legal-doc h3 {
        font-size: 18px;
    }
    
    .legal-contact {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .legal-contact h3 {
        font-size: 20px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .entry-content h2 {
        font-size: 26px;
    }
    
    .entry-content h3 {
        font-size: 20px;
        margin: 25px 0 12px 0;
    }
    
    .company-info, .contact-info, .cookies-table {
        padding: 15px;
    }
    
    /* Sidebar responsive */
    .legal-sidebar {
        position: static;
        padding-left: 0;
        margin-top: 30px;
    }
    
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
}
